summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-19Put pwrite code back in expand_file.Jeremy Allison1-3/+10
Jeremy. (This used to be commit a3267551d88dffb226e4a1c3852fe9c817517d02)
2001-09-19Removed test code that got added by accident.Jeremy Allison1-22/+0
Jeremy. (This used to be commit fc91ecc236e0d27f5836e9820332ababd762f1a7)
2001-09-19removed anti-race code that could cause a classic ABBA deadlockAndrew Tridgell1-21/+1
I'd rather get the connection count wrong with a small probability than deadlock (This used to be commit d4e4e81328a63d6e3396306d5dae6cc45ddd35d7)
2001-09-19passdb/pampass.c and passdb/pass_check.c are not passdb related at all,Andrew Bartlett1-4/+5
so don't link them as such. (This used to be commit 3afad9ae012b8fb1bf5eaceca491b76ab32e68b6)
2001-09-19added a hook to reopen all tdb's after the server forkAndrew Tridgell3-10/+52
this prevents the fd seek pointer problem (This used to be commit f49518e497deeb46292456c3650769d50ec2a955)
2001-09-19*llist being NULL is not an errorAndrew Tridgell1-1/+1
(This used to be commit c4d8ad2c2e48ff31dae7477ff02e5bfc013832a9)
2001-09-19Remove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c byAndrew Bartlett5-65/+56
simply not doing Get_Pwnam() calls in pass_check.c We now make *one* sys_getpnam() call in cgi.c and we always call PAM no matter what it returns. We also no longer run the password cracker for these logins. The truly parinod will note the slight difference in call paths, in that we only call crypt for valid password structs (if not --with-pam). The truly parinoid don't run SWAT either, so I don't think this is an issue. Andrew Bartlett (This used to be commit 9020d884935243f28c19cedc88f076f0709e12cb)
2001-09-19Fix (I hope) compile on HP-UX. Found by the build farm.Andrew Bartlett1-1/+1
(This used to be commit fd5c67d35a3e9eaee6c54151c5fd9381a47c7b14)
2001-09-19got rid of bogus write list substitution error messagesAndrew Tridgell1-15/+18
(This used to be commit 0deae6c407faa86ea871a219ad52fdd285166274)
2001-09-19Fix based on Andrew's insight as re-using a tdb after fork meansJeremy Allison1-3/+23
parent and child share seek pointer. Damn.... Jeremy. (This used to be commit 0e75c0fc1aa742fb0c29716c99a81cf5b33ef6e6)
2001-09-19don't try to initgroups in non root modeAndrew Tridgell1-0/+4
(This used to be commit 1a04ea247680fa7ad1ae7dc3f9953f753d8cf955)
2001-09-19fix debugAndrew Bartlett1-1/+1
(This used to be commit d103371e8028efb6eec3c4b917b68734832f5844)
2001-09-19Reverse some of the breakage I commited a day or two ago, as we need toAndrew Bartlett1-5/+21
fill out the user_info struct (otherwise we don't have a vuid for make_connection()). Also add a become_user() call, becouse it really looks like it was missing (we must pass it anyway to finish make_connection()). Is there any reason not to be the user when reading an ACL? Finally, fix up some formatting to show that the two functions are almost identical. Andrew Bartlett (This used to be commit 00c667c0ad922a1bf388b8a2b8c6137fc7f0acaa)
2001-09-19Return correct error code on lock fail in tdb_expand.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b45793ec3f6ff04587bee8f463ef6410b06097d6)
2001-09-18Roll back earlier fix after talking with Andrew. The write_lock_record andJeremy Allison1-2/+2
unlock are explicitly non-blocking. I will add a comment to this effect later. Jeremy. (This used to be commit e4b41a8f31729dfec92c4cb1f8b4759446cac0ff)
2001-09-18Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,Jeremy Allison1-2/+4
map_ptr not neccessarily set to NULL if no mmap, secondly, iterating through a tdb was using SETLK, instead of SETLKW - would almost never fail with mmap as the time holding the lock was so short, but was easily seen with read/write. One finaly bug needs tracking down w.r.t. traversal...... Jeremy. (This used to be commit 313c2e8652092a307165b6039dd7dfbbd0754ec3)
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)