summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* added a hook to reopen all tdb's after the server forkAndrew Tridgell2001-09-193-10/+52
| | | | | this prevents the fd seek pointer problem (This used to be commit f49518e497deeb46292456c3650769d50ec2a955)
* *llist being NULL is not an errorAndrew Tridgell2001-09-191-1/+1
| | | | (This used to be commit c4d8ad2c2e48ff31dae7477ff02e5bfc013832a9)
* Remove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c byAndrew Bartlett2001-09-195-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)
* Fix (I hope) compile on HP-UX. Found by the build farm.Andrew Bartlett2001-09-191-1/+1
| | | | (This used to be commit fd5c67d35a3e9eaee6c54151c5fd9381a47c7b14)
* got rid of bogus write list substitution error messagesAndrew Tridgell2001-09-191-15/+18
| | | | (This used to be commit 0deae6c407faa86ea871a219ad52fdd285166274)
* Fix based on Andrew's insight as re-using a tdb after fork meansJeremy Allison2001-09-191-3/+23
| | | | | | parent and child share seek pointer. Damn.... Jeremy. (This used to be commit 0e75c0fc1aa742fb0c29716c99a81cf5b33ef6e6)
* don't try to initgroups in non root modeAndrew Tridgell2001-09-191-0/+4
| | | | (This used to be commit 1a04ea247680fa7ad1ae7dc3f9953f753d8cf955)
* fix debugAndrew Bartlett2001-09-191-1/+1
| | | | (This used to be commit d103371e8028efb6eec3c4b917b68734832f5844)
* Reverse some of the breakage I commited a day or two ago, as we need toAndrew Bartlett2001-09-191-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)
* Return correct error code on lock fail in tdb_expand.Jeremy Allison2001-09-191-1/+1
| | | | | Jeremy. (This used to be commit b45793ec3f6ff04587bee8f463ef6410b06097d6)
* Roll back earlier fix after talking with Andrew. The write_lock_record andJeremy Allison2001-09-181-2/+2
| | | | | | unlock are explicitly non-blocking. I will add a comment to this effect later. Jeremy. (This used to be commit e4b41a8f31729dfec92c4cb1f8b4759446cac0ff)
* Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,Jeremy Allison2001-09-181-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)
* Correct fix for unaligned memcpy - malloc'ed memory incremented by ↵Jeremy Allison2001-09-182-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)
* Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison2001-09-182-2/+2
| | | | | | Linux. Jeremy. (This used to be commit b4b891279b6292237113456f1bb0d4393f1f9af1)
* Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.Tim Potter2001-09-185-19/+34
| | | | (This used to be commit e0bdcbc5994345fdc76f7590dba7bce5f0127d58)
* Doc fix merge from 2.2Tim Potter2001-09-181-10/+0
| | | | (This used to be commit 865167203ceff157a7204418cda8905833314575)
* move to SAFE_FREE()Simo Sorce2001-09-177-30/+28
| | | | (This used to be commit 67db8f03c5c9e81e11b5f3276b50ee23e09a2659)
* move to SAFE_FREE()Simo Sorce2001-09-173-8/+6
| | | | (This used to be commit fc71962409e11509a60fb2be6741c32970865881)
* move to SAFE_FREE()Simo Sorce2001-09-1732-193/+145
| | | | (This used to be commit a95943fde0ad89ae3f2deca2f7ba9cb5ab612b74)
* move to SAFE_FREE()Simo Sorce2001-09-1711-146/+133
| | | | (This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
* move to SAFE_FREE()Simo Sorce2001-09-173-28/+17
| | | | (This used to be commit 94b0fde8a8a4e888cee93ebde79390c7942a2785)
* move to SAFE_FREE()Simo Sorce2001-09-175-32/+13
| | | | (This used to be commit 549fe42bd48b3418e63ba4872bc5992dae46d514)
* move to SAFE_FREE()Simo Sorce2001-09-172-52/+43
| | | | (This used to be commit 09bf4425492fd96672ddd7a31d88854adcf7f0fe)
* move to SAFE_FREE()Simo Sorce2001-09-176-46/+31
| | | | (This used to be commit 64d35e94fe6f7e56353b286162f670c8595a90e6)
* move to SAFE_FREE()Simo Sorce2001-09-172-26/+20
| | | | (This used to be commit fb0984e60fd69100d9866304b83b4f3c85e9aea2)
* move to SAFE_FREE()Simo Sorce2001-09-1714-68/+51
| | | | (This used to be commit 03dc67788f68c9e01b5a82fdf43f837cb19f4608)
* move to SAFE_FREE()Simo Sorce2001-09-1714-39/+37
| | | | (This used to be commit 1446a1562b1c618c023b056f476e26da7ee3d532)
* fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell2001-09-174-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)
* move to SAFE_FREE()Simo Sorce2001-09-175-44/+36
| | | | (This used to be commit e61aec84edaf55b9ee087b076d2f1311033dc839)
* typoSimo Sorce2001-09-171-5/+2
| | | | (This used to be commit 23dc3fc7009ce40064db57d5ec8b720c7d9350a8)
* fixed compilation of groupdbAndrew Tridgell2001-09-171-3/+3
| | | | (This used to be commit 23e2561a1c303942cfceae8929e0806db91b4aa4)
* move to SAFE_FREE()Simo Sorce2001-09-1710-141/+91
| | | | (This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
* move to SAFE_FREE()Simo Sorce2001-09-1723-168/+129
| | | | (This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
* move to SAFE_FREE()Simo Sorce2001-09-175-22/+15
| | | | (This used to be commit 89833bbbd8508dcdca70dff2c94e1d8f22535f1f)
* move to SAFE_FREE()Simo Sorce2001-09-172-19/+16
| | | | (This used to be commit 29db6ef7a7c4df51adf964c0aecb1164e4ab7dee)
* introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce2001-09-172-25/+24
| | | | (This used to be commit b7edd55885791f9aded11a0b0a131e02a819f374)
* Fix compile warnings on IRIX's cc.Andrew Bartlett2001-09-161-3/+3
| | | | (This used to be commit 5b369bce69c2cbe01f938a643d3b9e71bc2075c4)
* Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett2001-09-163-8/+8
| | | | | | | compilers on the build farm. Andrew Bartlett (This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
* Minor tidy-up.Andrew Bartlett2001-09-161-1/+1
| | | | (This used to be commit dbb21aedbf10ebc4ef0d549c4f919cf91459eef7)
* Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c whereAndrew Bartlett2001-09-168-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)
* fixed compilation error in smbwAndrew Tridgell2001-09-161-11/+1
| | | | (This used to be commit d1e9fb7778268a626b0550fa350d55d8eec7706e)
* Start pushing the NTSTATUS stuff out to the wire for session setups.Andrew Bartlett2001-09-162-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)
* Kill off the dangerous passwd program default, as its both veryAndrew Bartlett2001-09-162-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)
* Looks like it missed these. make_connection now no longer takes a 'username'Andrew Bartlett2001-09-152-43/+9
| | | | | argument. (This used to be commit 0e1322227b0a91226b4b85c8e0ff838ebfd9e962)
* free memory before returning.Simo Sorce2001-09-151-0/+7
| | | | | tx Andreas Moroder. (This used to be commit 8d60a825f74a340beba11193a28fd83b0c4a8129)
* use variables _before_ freeing them!Simo Sorce2001-09-151-3/+2
| | | | | thanks to Andreas Moroder for spotting these two. (This used to be commit 01f30ca0ad472eaab8f80ec4278b1d391be3a1ae)
* Kill off the //server/share%user hack in share level security.Andrew Bartlett2001-09-154-105/+27
| | | | | | | This should help make much of this code simpiler. Andrew Bartlett (This used to be commit fb0c3629c360fd0c57129500474960e6da6f9ef0)
* update for .proto.stampAndrew Bartlett2001-09-151-0/+1
| | | | (This used to be commit d3a731a3d52a0cc297404b74e74cc9376ddd597f)
* Oops... For reference, NTLMv2 passwords are > 24 chars in length, whileAndrew Bartlett2001-09-151-1/+1
| | | | | NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth. (This used to be commit 51baa1614d1a338f50dbf8eaa5ea31ab58c11409)
* This looked suspicious now we are attempting to to NTLMv2.Andrew Bartlett2001-09-151-2/+2
| | | | | Andrew Bartlett (This used to be commit 21baa33946a24159ebe873ac37cf30581437aa1a)