Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | got rid of bogus write list substitution error messages | Andrew Tridgell | 2001-09-19 | 1 | -15/+18 | |
| | ||||||
* | Fix based on Andrew's insight as re-using a tdb after fork means | Jeremy Allison | 2001-09-19 | 1 | -3/+23 | |
| | | | | | parent and child share seek pointer. Damn.... Jeremy. | |||||
* | don't try to initgroups in non root mode | Andrew Tridgell | 2001-09-19 | 1 | -0/+4 | |
| | ||||||
* | fix debug | Andrew Bartlett | 2001-09-19 | 1 | -1/+1 | |
| | ||||||
* | Reverse some of the breakage I commited a day or two ago, as we need to | Andrew Bartlett | 2001-09-19 | 1 | -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 | |||||
* | Return correct error code on lock fail in tdb_expand. | Jeremy Allison | 2001-09-19 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Roll back earlier fix after talking with Andrew. The write_lock_record and | Jeremy Allison | 2001-09-18 | 1 | -2/+2 | |
| | | | | | unlock are explicitly non-blocking. I will add a comment to this effect later. Jeremy. | |||||
* | Fixed a couple of nasty bugs only easily seen with no mmap. Firstly, | Jeremy Allison | 2001-09-18 | 1 | -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. | |||||
* | Correct fix for unaligned memcpy - malloc'ed memory incremented by ↵ | Jeremy Allison | 2001-09-18 | 2 | -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. | |||||
* | Use structure copy to fix unaligned accesses on 64bit architectures on | Jeremy Allison | 2001-09-18 | 2 | -2/+2 | |
| | | | | | Linux. Jeremy. | |||||
* | Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS. | Tim Potter | 2001-09-18 | 5 | -19/+34 | |
| | ||||||
* | Doc fix merge from 2.2 | Tim Potter | 2001-09-18 | 1 | -10/+0 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 7 | -30/+28 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 3 | -8/+6 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 32 | -193/+145 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 11 | -146/+133 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 3 | -28/+17 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 5 | -32/+13 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 2 | -52/+43 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 6 | -46/+31 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 2 | -26/+20 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 14 | -68/+51 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 14 | -39/+37 | |
| | ||||||
* | fixed ctemp in server and client. It turns out that ctemp on NT is ↵ | Andrew Tridgell | 2001-09-17 | 4 | -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 | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 5 | -44/+36 | |
| | ||||||
* | typo | Simo Sorce | 2001-09-17 | 1 | -5/+2 | |
| | ||||||
* | fixed compilation of groupdb | Andrew Tridgell | 2001-09-17 | 1 | -3/+3 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 10 | -141/+91 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 23 | -168/+129 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 5 | -22/+15 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 2 | -19/+16 | |
| | ||||||
* | introduce SAFE_FREE() macro as suggested by andreas moroder. | Simo Sorce | 2001-09-17 | 2 | -25/+24 | |
| | ||||||
* | Fix compile warnings on IRIX's cc. | Andrew Bartlett | 2001-09-16 | 1 | -3/+3 | |
| | ||||||
* | Fix (I hope) for a number of little compile warnings found by the IRIX | Andrew Bartlett | 2001-09-16 | 3 | -8/+8 | |
| | | | | | | compilers on the build farm. Andrew Bartlett | |||||
* | Minor tidy-up. | Andrew Bartlett | 2001-09-16 | 1 | -1/+1 | |
| | ||||||
* | Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c where | Andrew Bartlett | 2001-09-16 | 8 | -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. | |||||
* | fixed compilation error in smbw | Andrew Tridgell | 2001-09-16 | 1 | -11/+1 | |
| | ||||||
* | Start pushing the NTSTATUS stuff out to the wire for session setups. | Andrew Bartlett | 2001-09-16 | 2 | -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 | |||||
* | Kill off the dangerous passwd program default, as its both very | Andrew Bartlett | 2001-09-16 | 2 | -2/+2 | |
| | | | | | | | system-dependent and can allow (when unix password sync = yes) the 'syncronisation' of root's password by a normal user :-( Andrew Bartlett | |||||
* | Looks like it missed these. make_connection now no longer takes a 'username' | Andrew Bartlett | 2001-09-15 | 2 | -43/+9 | |
| | | | | argument. | |||||
* | free memory before returning. | Simo Sorce | 2001-09-15 | 1 | -0/+7 | |
| | | | | tx Andreas Moroder. | |||||
* | use variables _before_ freeing them! | Simo Sorce | 2001-09-15 | 1 | -3/+2 | |
| | | | | thanks to Andreas Moroder for spotting these two. | |||||
* | Kill off the //server/share%user hack in share level security. | Andrew Bartlett | 2001-09-15 | 4 | -105/+27 | |
| | | | | | | This should help make much of this code simpiler. Andrew Bartlett | |||||
* | update for .proto.stamp | Andrew Bartlett | 2001-09-15 | 1 | -0/+1 | |
| | ||||||
* | Oops... For reference, NTLMv2 passwords are > 24 chars in length, while | Andrew Bartlett | 2001-09-15 | 1 | -1/+1 | |
| | | | | NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth. | |||||
* | This looked suspicious now we are attempting to to NTLMv2. | Andrew Bartlett | 2001-09-15 | 1 | -2/+2 | |
| | | | | Andrew Bartlett | |||||
* | Fix up NTSTATUS stuff in rpcclient's help function | Andrew Bartlett | 2001-09-15 | 1 | -5/+5 | |
| | ||||||
* | Restore the profiling data shmem parinoia. This whole area needs to be | Andrew Bartlett | 2001-09-15 | 2 | -4/+12 | |
| | | | | fixed - an mmaped file or the like would be a good idea. | |||||
* | Actually fill in the status for sainity checks | Andrew Bartlett | 2001-09-15 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Fixed up Solaris 64 bit configure. | Jeremy Allison | 2001-09-15 | 4 | -706/+714 | |
| | | | | Jeremy. |