1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

6233 Commits

Author SHA1 Message Date
Andrew Bartlett
9a846daf44 Restore the profiling data shmem parinoia. This whole area needs to be
fixed - an mmaped file or the like would be a good idea.
(This used to be commit bc1385fc5e)
2001-09-15 02:10:22 +00:00
Andrew Bartlett
1c8c7c558b Actually fill in the status for sainity checks
Andrew Bartlett
(This used to be commit d47016de52)
2001-09-15 01:59:44 +00:00
Jeremy Allison
ab35704cc0 Fixed up Solaris 64 bit configure.
Jeremy.
(This used to be commit 36516b2ca9)
2001-09-15 00:29:54 +00:00
Gerald Carter
a3203a7b16 merges from 2.2
(This used to be commit b619458dde)
2001-09-14 15:33:09 +00:00
Gerald Carter
bd7595ec37 merge from appliance_head
(This used to be commit f70b1707e4)
2001-09-14 15:22:49 +00:00
Gerald Carter
c045bd74cb merge from 2.2
(This used to be commit 0e4d2384de)
2001-09-14 15:19:15 +00:00
Andrew Bartlett
d7dc065a91 Update manpage for new 'add machine script' paramater
(This used to be commit 68dc525e8e)
2001-09-14 12:30:14 +00:00
Andrew Bartlett
b7a0c13289 Now that we always get back an NTSTATUS code actually pass it on to the
auth subsytem.  Also kill off the (unneeded) wrapper fuction.

Andrew Bartlett
(This used to be commit 96f06b490a)
2001-09-14 10:38:40 +00:00
Andrew Bartlett
cbd99a13c5 Finally commit my fix to this little mess...
The same function that adds machines to the system also adds users, and the
new 'add user script'/'add machine script' distinction needs to be made
correctly.  Also introduces a sainity check for correct $ termination.

Andrew Bartlett
(This used to be commit ef377ea0cc)
2001-09-14 10:31:39 +00:00
Tim Potter
b031544207 Produce correct lanman and nt hashes in samsync smbpasswd output. The
output from samsync -p produces the same output as running PWDUMP.EXE on
the domain controller except it happens via the sam synchronisation protocol.
(This used to be commit 5da9862002)
2001-09-14 04:37:49 +00:00
Tim Potter
504eff41b3 Merge prs_hash1() function from tng.
(This used to be commit 3245714243)
2001-09-14 04:36:19 +00:00
Tim Potter
c849bd3196 Decode 68-byte password blocks using sam replication password key (which
is actually the user session key).
(This used to be commit 0f041597f8)
2001-09-14 04:35:48 +00:00
Tim Potter
82a8f8a171 Merge of sam_pwd_hash() function from tng.
(This used to be commit b6cb6b837a)
2001-09-14 04:34:06 +00:00
Tim Potter
0dab2c3e31 Use session key from cli_state struct rather than the uninitialised one
when calling cli_netlogon_sam_sync().  (-:
(This used to be commit e4a3231a07)
2001-09-14 04:32:52 +00:00
Tim Potter
27cbee1b4e Removed CHECK_STRUCT macro - it isn't used anywhere.
(This used to be commit 06c619b395)
2001-09-14 04:31:15 +00:00
Tim Potter
22be9b68fd Oops.
(This used to be commit 4c92d82bdb)
2001-09-14 00:20:38 +00:00
Tim Potter
8b67689feb Discovered a whole lot more opcodes on the LSA pipe while writing a rpc
scanner.  There's lots of quota, privilege, and trusted domain goodness
waiting to be reverse engineered here!

Unfortunately the scanner can crash LSASS.EXE on NT4 just by writing
packets containing 0xdeadbeef.  )-:
(This used to be commit f0ef301cff)
2001-09-13 07:15:35 +00:00
Tim Potter
f04f28a622 Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.
Use werror_to_ntstatus() to convert error returns from dfs client functions
into nt errors.
(This used to be commit a83061ef3e)
2001-09-13 01:00:46 +00:00
Andrew Tridgell
5366c4c542 added a new global option "hostname lookups = yes/no"
This should finally kill off the remaining places where we
attempt reverse lookups of the IP of the client. It may be that some
pam modules called via the session code will need "hostname lookups = yes"
but I've left it off by default as most sites don't need it and so
many sites have broken reverse maps
(This used to be commit 2b83ad0396)
2001-09-13 00:30:47 +00:00
Tim Potter
544d0cf829 Terminate dfs referral alternate path string. DFS now works again in head
- hooray!
(This used to be commit 95df7ede46)
2001-09-13 00:30:16 +00:00
Jeremy Allison
31e8101ea2 Fixed problems with arg parsing as root with smbpasswd.
Jeremy.
(This used to be commit 6399cf490d)
2001-09-12 20:00:42 +00:00
Tim Potter
45762a62ce Converted msdfs referral server code to use rpcstr_push() functions. Still
doesn't work though.  )-:
(This used to be commit ec7296d6e9)
2001-09-12 12:20:14 +00:00
Tim Potter
ad719ccbd6 String length fix from Toomas Soome <tsoome@ut.ee>
(This used to be commit 42417a425b)
2001-09-12 11:48:22 +00:00
Tim Potter
2f824ec474 Ignore torture test binaries.
(This used to be commit c5a94780dc)
2001-09-12 07:36:27 +00:00
Tim Potter
ab4ebf4dd6 Fixed typo.
(This used to be commit 2138c44619)
2001-09-12 07:22:55 +00:00
Tim Potter
b800a36b1c Some patches to authentication:
- the usersupplied_info now contains a smb_username (as it comes across on
   the wire) and a unix_username (after being passed through mapping
   functions)

 - when doing security={server,domain} use the smb_username, otherwise use
   the unix_username
(This used to be commit d34fd8ec07)
2001-09-12 06:39:50 +00:00
Andrew Tridgell
39d7983a47 - enable MSDFS by default, there seems no reason not to have it enabled
by default in Samba 3.x

- got rid of some unused parameters in Makefile.in

- declare DEBUGLEVEL in debug.h rather than in each file
(This used to be commit b8651acb9c)
2001-09-12 03:08:51 +00:00
Tim Potter
e041c15c53 Hmm - needs to be converted to pull/push unistr routines. But at least it
compiles now which should keep the build farm happy.
(This used to be commit 5686a2cfe8)
2001-09-12 01:15:24 +00:00
Tim Potter
a39d4c052c Converted DFS error returns to WERROR instead of uint32.
(This used to be commit 97286570ef)
2001-09-12 01:14:03 +00:00
Tim Potter
db9ba1f875 Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
fit in with new error reporting subsystem.
(This used to be commit dbfd50d447)
2001-09-12 01:11:43 +00:00
Tim Potter
91bd0d7e9b Update from sgml source.
(This used to be commit e101e945b7)
2001-09-11 05:28:56 +00:00
Tim Potter
11ad75cf8a Fixed some bad markup.
(This used to be commit f66899965e)
2001-09-11 05:26:44 +00:00
Tim Potter
1ca1751862 Standardised on 'var = value' when referencing smb.conf parameters, rather
than 'var=value'.

Fixed up some dodgy quoting on the way.
(This used to be commit 0606c194d6)
2001-09-11 05:19:10 +00:00
Richard Sharpe
8e80cb0e34 Tweak the building rules under Solaris with CC.
(This used to be commit d3758404d4)
2001-09-11 04:29:25 +00:00
Tim Potter
a94843061a Added a string for NT_STATUS_OK, m'kay?
(This used to be commit ff14930834)
2001-09-11 04:14:26 +00:00
Richard Sharpe
03afeaecfc Make sure to commit configure
(This used to be commit a3f5139beb)
2001-09-11 03:11:06 +00:00
Richard Sharpe
4353ea7d25 Some small changes to configure to remove things like -X4 etc on compiles.
(This used to be commit ec6c5da124)
2001-09-11 03:10:29 +00:00
Herb Lewis
70a51f9a37 fix typo
(This used to be commit 51795ca350)
2001-09-11 00:22:33 +00:00
Jeremy Allison
45706091f3 Fix for second logic bug when handing oplock breaks and client messages
simultaneously.
Jeremy.
(This used to be commit 227325b2d6)
2001-09-10 23:03:14 +00:00
Herb Lewis
866598e430 left out {
(This used to be commit 70bd17473a)
2001-09-10 22:40:15 +00:00
Herb Lewis
c5dd2c8271 prevent segv by not calling tdb_traverse and tdb_close if tdb_open_log
returns NULL.
(This used to be commit afdf93836b)
2001-09-10 22:31:59 +00:00
Gerald Carter
cae476a1a2 cut-n-paste error
(This used to be commit b2ed211df0)
2001-09-10 19:30:34 +00:00
Gerald Carter
c113b5196f merge from APPLIANCE_HEAD
(This used to be commit 55bd514c45)
2001-09-10 19:29:00 +00:00
Andrew Tridgell
4d65bc0949 convert more code to use XFILE
(This used to be commit fd24265c06)
2001-09-10 13:09:54 +00:00
Andrew Tridgell
79139fe8d8 convert more code to use XFILE
(This used to be commit fe6679dffb)
2001-09-10 12:46:42 +00:00
Andrew Tridgell
b12a4dd9b6 declare dbf in one spot
(This used to be commit f41c3bb80f)
2001-09-10 12:14:18 +00:00
Andrew Tridgell
162e975514 more static/dead fns
(This used to be commit f59826c0c9)
2001-09-10 11:45:09 +00:00
Andrew Tridgell
12752486db kill a dead fn and make a local one static
(This used to be commit 1e9815105e)
2001-09-10 11:34:32 +00:00
Andrew Tridgell
11bd06e99c made a couple of local fns static
(This used to be commit f0851202a8)
2001-09-10 11:23:41 +00:00
Andrew Tridgell
39b24e4865 passdb/smbpassfile ain't needed any more - it only provided migration from an ancient file format, not relevant for Samba 3.0
(This used to be commit 954adb630d)
2001-09-10 11:16:18 +00:00