summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-09-17move to SAFE_FREE()Simo Sorce2-19/+16
(This used to be commit 29db6ef7a7c4df51adf964c0aecb1164e4ab7dee)
2001-09-17introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce2-25/+24
(This used to be commit b7edd55885791f9aded11a0b0a131e02a819f374)
2001-09-16Fix compile warnings on IRIX's cc.Andrew Bartlett1-3/+3
(This used to be commit 5b369bce69c2cbe01f938a643d3b9e71bc2075c4)
2001-09-16Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett3-8/+8
compilers on the build farm. Andrew Bartlett (This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
2001-09-16Minor tidy-up.Andrew Bartlett1-1/+1
(This used to be commit dbb21aedbf10ebc4ef0d549c4f919cf91459eef7)
2001-09-16Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c whereAndrew Bartlett8-80/+136
they can have general effect. Fixed up workstaion support in the rest of samba, so that we can do these checks. Pass through the workstation for cli_net_logon(), if supplied. (This used to be commit 7f04a139b2ee34b4c282590509cdf21395815a7a)
2001-09-16fixed compilation error in smbwAndrew Tridgell1-11/+1
(This used to be commit d1e9fb7778268a626b0550fa350d55d8eec7706e)
2001-09-16Start pushing the NTSTATUS stuff out to the wire for session setups.Andrew Bartlett2-51/+28
Rework the 'map to guest' code, its now possible to follow what its trying to do... Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at. Andrew Bartlett (This used to be commit d618880661976644a6ee713edf969ad561e82097)
2001-09-16Kill off the dangerous passwd program default, as its both veryAndrew Bartlett2-2/+2
system-dependent and can allow (when unix password sync = yes) the 'syncronisation' of root's password by a normal user :-( Andrew Bartlett (This used to be commit eecda11eef8bff73286c6a3c9f89ed0d1dcd7f73)
2001-09-15Looks like it missed these. make_connection now no longer takes a 'username'Andrew Bartlett2-43/+9
argument. (This used to be commit 0e1322227b0a91226b4b85c8e0ff838ebfd9e962)
2001-09-15free memory before returning.Simo Sorce1-0/+7
tx Andreas Moroder. (This used to be commit 8d60a825f74a340beba11193a28fd83b0c4a8129)
2001-09-15use variables _before_ freeing them!Simo Sorce1-3/+2
thanks to Andreas Moroder for spotting these two. (This used to be commit 01f30ca0ad472eaab8f80ec4278b1d391be3a1ae)
2001-09-15Kill off the //server/share%user hack in share level security.Andrew Bartlett4-105/+27
This should help make much of this code simpiler. Andrew Bartlett (This used to be commit fb0c3629c360fd0c57129500474960e6da6f9ef0)
2001-09-15update for .proto.stampAndrew Bartlett1-0/+1
(This used to be commit d3a731a3d52a0cc297404b74e74cc9376ddd597f)
2001-09-15Oops... For reference, NTLMv2 passwords are > 24 chars in length, whileAndrew Bartlett1-1/+1
NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth. (This used to be commit 51baa1614d1a338f50dbf8eaa5ea31ab58c11409)
2001-09-15This looked suspicious now we are attempting to to NTLMv2.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 21baa33946a24159ebe873ac37cf30581437aa1a)
2001-09-15Fix up NTSTATUS stuff in rpcclient's help functionAndrew Bartlett1-5/+5
(This used to be commit 512e9a5f94ba71bdea2bdecb8f21f9daad51ef3a)
2001-09-15Restore the profiling data shmem parinoia. This whole area needs to beAndrew Bartlett2-4/+12
fixed - an mmaped file or the like would be a good idea. (This used to be commit bc1385fc5e55eeed626615fad92877296064a27e)
2001-09-15Actually fill in the status for sainity checksAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit d47016de52e9e5c468edf4c87dc60535a9796b99)
2001-09-15Fixed up Solaris 64 bit configure.Jeremy Allison4-706/+714
Jeremy. (This used to be commit 36516b2ca97e8644a29055dfab868aced644f9aa)
2001-09-14merges from 2.2Gerald Carter4-765/+735
(This used to be commit b619458dde158c37a4420a28a7e1e1f70e7a18d1)
2001-09-14merge from appliance_headGerald Carter1-6/+6
(This used to be commit f70b1707e42b3f7aaa38cc5637fcc5cbcdd5a26a)
2001-09-14merge from 2.2Gerald Carter1-0/+2
(This used to be commit 0e4d2384dee905c730d011595337ff5ecc260a13)
2001-09-14Now that we always get back an NTSTATUS code actually pass it on to theAndrew Bartlett4-34/+10
auth subsytem. Also kill off the (unneeded) wrapper fuction. Andrew Bartlett (This used to be commit 96f06b490ac5e9fd86debccf8d41675fa41f7726)
2001-09-14Finally commit my fix to this little mess...Andrew Bartlett1-10/+25
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 ef377ea0cc55cb6647ecd7a634cf5983e11cfe99)
2001-09-14Produce correct lanman and nt hashes in samsync smbpasswd output. TheTim Potter1-5/+24
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 5da98620021cda92d4752e7388f0e0cdfcd0e8cd)
2001-09-14Merge prs_hash1() function from tng.Tim Potter1-0/+24
(This used to be commit 3245714243d15160b9e0e27c413fef65ea91f455)
2001-09-14Decode 68-byte password blocks using sam replication password key (whichTim Potter1-2/+4
is actually the user session key). (This used to be commit 0f041597f8afa378fc3177264f1e52e014e6cf00)
2001-09-14Merge of sam_pwd_hash() function from tng.Tim Potter1-0/+17
(This used to be commit b6cb6b837ac06d8b9cb898668e69236b64a8b698)
2001-09-14Use session key from cli_state struct rather than the uninitialised oneTim Potter1-4/+2
when calling cli_netlogon_sam_sync(). (-: (This used to be commit e4a3231a074b01cb1d6c4bf42e0a8e687e584413)
2001-09-14Removed CHECK_STRUCT macro - it isn't used anywhere.Tim Potter1-12/+0
(This used to be commit 06c619b395f212ec3122cf1c804b27afba04e79d)
2001-09-14Oops.Tim Potter1-1/+1
(This used to be commit 4c92d82bdb35db3e01a162fb0aa00a6fe7486c70)
2001-09-13Discovered a whole lot more opcodes on the LSA pipe while writing a rpcTim Potter1-6/+38
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 f0ef301cff57c9bf07694e0675eec67c61367afb)
2001-09-13Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.Tim Potter1-10/+12
Use werror_to_ntstatus() to convert error returns from dfs client functions into nt errors. (This used to be commit a83061ef3e4933c52e7206270b455a3888fa63a8)
2001-09-13added a new global option "hostname lookups = yes/no"Andrew Tridgell2-0/+15
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 2b83ad03965d00bba88fe56452d2990099b75ef1)
2001-09-13Terminate dfs referral alternate path string. DFS now works again in headTim Potter1-1/+1
- hooray! (This used to be commit 95df7ede465d835eb8ca1d1466c5153caf1a0d71)
2001-09-12Fixed problems with arg parsing as root with smbpasswd.Jeremy Allison1-8/+11
Jeremy. (This used to be commit 6399cf490dffbd162afa06f18cdd6e0364db567d)
2001-09-12Converted msdfs referral server code to use rpcstr_push() functions. StillTim Potter1-12/+10
doesn't work though. )-: (This used to be commit ec7296d6e9b5b61bac778c2093ee0cd0e23a2344)
2001-09-12String length fix from Toomas Soome <tsoome@ut.ee>Tim Potter1-1/+1
(This used to be commit 42417a425b524bc74360fdf6f1a16bfad38b9818)
2001-09-12Ignore torture test binaries.Tim Potter1-0/+5
(This used to be commit c5a94780dc653260cf6abd09f6a321b93806529a)
2001-09-12Some patches to authentication:Tim Potter14-45/+63
- 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 d34fd8ec0716127c7a68eeb8e77d1ae8cc07b547)
2001-09-12- enable MSDFS by default, there seems no reason not to have it enabledAndrew Tridgell12-75/+6
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 b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)
2001-09-12Hmm - needs to be converted to pull/push unistr routines. But at least itTim Potter1-2/+8
compiles now which should keep the build farm happy. (This used to be commit 5686a2cfe874e8b30bcb2781fa4bfe7ae0cefb17)
2001-09-12Converted DFS error returns to WERROR instead of uint32.Tim Potter2-33/+39
(This used to be commit 97286570ef6f9151b5fe0be32aa4b294e7db9ab8)
2001-09-12Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h toTim Potter2-16/+17
fit in with new error reporting subsystem. (This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8)
2001-09-11Tweak the building rules under Solaris with CC.Richard Sharpe2-262/+264
(This used to be commit d3758404d43b1b4be0b980a4fe078cab458e6d21)
2001-09-11Added a string for NT_STATUS_OK, m'kay?Tim Potter1-0/+1
(This used to be commit ff149308349fbf80399d9d541659f3c1d668306a)
2001-09-11Make sure to commit configureRichard Sharpe1-266/+265
(This used to be commit a3f5139beb774163f811d9e68839742b4d938e87)
2001-09-11Some small changes to configure to remove things like -X4 etc on compiles.Richard Sharpe1-4/+3
(This used to be commit ec6c5da124bc0f090d8aef40247acd44aa2850f9)
2001-09-10Fix for second logic bug when handing oplock breaks and client messagesJeremy Allison1-1/+11
simultaneously. Jeremy. (This used to be commit 227325b2d63dad55cbcda9608fba676fb6ce5584)