summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-18Correct fix for unaligned memcpy - malloc'ed memory incremented by ↵Jeremy Allison2-19/+24
sizeof(struct locking_data) was not forced to be 8 byte aligned. Use union to force it to be correctly aligned for memcpy and use void *, to tell compiler not to optimize aligned copy (this last fix suggested by Trond @ RedHat). The first fix should be sufficient, but this provides a "belt and braces" fix. Jeremy. (This used to be commit 22c5915bb466529ac1bcb5c2574888b360a9775b)
2001-09-18Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison2-2/+2
Linux. Jeremy. (This used to be commit b4b891279b6292237113456f1bb0d4393f1f9af1)
2001-09-18Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.Tim Potter5-19/+34
(This used to be commit e0bdcbc5994345fdc76f7590dba7bce5f0127d58)
2001-09-18Doc fix merge from 2.2Tim Potter1-10/+0
(This used to be commit 865167203ceff157a7204418cda8905833314575)
2001-09-17move to SAFE_FREE()Simo Sorce7-30/+28
(This used to be commit 67db8f03c5c9e81e11b5f3276b50ee23e09a2659)
2001-09-17move to SAFE_FREE()Simo Sorce3-8/+6
(This used to be commit fc71962409e11509a60fb2be6741c32970865881)
2001-09-17move to SAFE_FREE()Simo Sorce32-193/+145
(This used to be commit a95943fde0ad89ae3f2deca2f7ba9cb5ab612b74)
2001-09-17move to SAFE_FREE()Simo Sorce11-146/+133
(This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
2001-09-17move to SAFE_FREE()Simo Sorce3-28/+17
(This used to be commit 94b0fde8a8a4e888cee93ebde79390c7942a2785)
2001-09-17move to SAFE_FREE()Simo Sorce5-32/+13
(This used to be commit 549fe42bd48b3418e63ba4872bc5992dae46d514)
2001-09-17move to SAFE_FREE()Simo Sorce2-52/+43
(This used to be commit 09bf4425492fd96672ddd7a31d88854adcf7f0fe)
2001-09-17move to SAFE_FREE()Simo Sorce6-46/+31
(This used to be commit 64d35e94fe6f7e56353b286162f670c8595a90e6)
2001-09-17move to SAFE_FREE()Simo Sorce2-26/+20
(This used to be commit fb0984e60fd69100d9866304b83b4f3c85e9aea2)
2001-09-17move to SAFE_FREE()Simo Sorce14-68/+51
(This used to be commit 03dc67788f68c9e01b5a82fdf43f837cb19f4608)
2001-09-17move to SAFE_FREE()Simo Sorce14-39/+37
(This used to be commit 1446a1562b1c618c023b056f476e26da7ee3d532)
2001-09-17fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell4-25/+48
completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case (This used to be commit 2d507ec669def6d49304559e53d6c14af9b290a9)
2001-09-17move to SAFE_FREE()Simo Sorce5-44/+36
(This used to be commit e61aec84edaf55b9ee087b076d2f1311033dc839)
2001-09-17typoSimo Sorce1-5/+2
(This used to be commit 23dc3fc7009ce40064db57d5ec8b720c7d9350a8)
2001-09-17fixed compilation of groupdbAndrew Tridgell1-3/+3
(This used to be commit 23e2561a1c303942cfceae8929e0806db91b4aa4)
2001-09-17move to SAFE_FREE()Simo Sorce10-141/+91
(This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
2001-09-17move to SAFE_FREE()Simo Sorce23-168/+129
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
2001-09-17move to SAFE_FREE()Simo Sorce5-22/+15
(This used to be commit 89833bbbd8508dcdca70dff2c94e1d8f22535f1f)
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-14Update manpage for new 'add machine script' paramaterAndrew Bartlett1-0/+20
(This used to be commit 68dc525e8e7906a8618b6d28c5543ce89768563d)
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)