Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Fix up to use sampass->username insted of user_info->smb_username | Andrew Bartlett | 2001-09-19 | 2 | -14/+14 |
| | | | | - Fix initial lookup to use the mapped username. | ||||
* | Try to fix up the shell syntax | Andrew Bartlett | 2001-09-19 | 1 | -2/+2 |
| | |||||
* | Reran autoconf, autoheader | Andrew Bartlett | 2001-09-19 | 2 | -171/+208 |
| | |||||
* | typo | Andrew Bartlett | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | Adding the appropirate files might help... | Andrew Bartlett | 2001-09-19 | 2 | -0/+749 |
| | | | | | | (These are part of the build_options patch). Andrew Bartlett | ||||
* | Add the ability to display Samba's build options with smbd -b and as a level 4 | Andrew Bartlett | 2001-09-19 | 5 | -24/+54 |
| | | | | | | | | | | | | | | | | | DEBUG(). Also included are details like build date/time, location and compiler. This should get most of the options we set, except those that don't affect smbd, like WITH_PAM_SMBPASSWD or WITH_WINBINDD. This work due to Vance Lankhaar <vlankhaar@hotmail.com> Some work needs to be done to make it only rebuild when needed (ie smbd being rebuilt) but its in pretty good shape already. Also fix up some printf() -> d_printf(). Andrew Bartlett | ||||
* | printf() -> d_printf() | Andrew Bartlett | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | This isn't used anymore | Andrew Bartlett | 2001-09-19 | 1 | -1/+0 |
| | |||||
* | Use lp_private_dir() not magic on the lp_smb_passwd_file() output. | Andrew Bartlett | 2001-09-19 | 1 | -7/+2 |
| | |||||
* | Removed unneeded variable, added comment on deadlock prevention. | Jeremy Allison | 2001-09-19 | 1 | -9/+9 |
| | | | | Jeremy. | ||||
* | Put pwrite code back in expand_file. | Jeremy Allison | 2001-09-19 | 1 | -3/+10 |
| | | | | Jeremy. | ||||
* | Removed test code that got added by accident. | Jeremy Allison | 2001-09-19 | 1 | -22/+0 |
| | | | | Jeremy. | ||||
* | removed anti-race code that could cause a classic ABBA deadlock | Andrew Tridgell | 2001-09-19 | 1 | -21/+1 |
| | | | | | I'd rather get the connection count wrong with a small probability than deadlock | ||||
* | passdb/pampass.c and passdb/pass_check.c are not passdb related at all, | Andrew Bartlett | 2001-09-19 | 1 | -4/+5 |
| | | | | so don't link them as such. | ||||
* | added a hook to reopen all tdb's after the server fork | Andrew Tridgell | 2001-09-19 | 3 | -10/+52 |
| | | | | this prevents the fd seek pointer problem | ||||
* | *llist being NULL is not an error | Andrew Tridgell | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | Remove the ugly hacks to get around the Get_Pwnam() calls in pass_check.c by | Andrew Bartlett | 2001-09-19 | 5 | -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 | ||||
* | Fix (I hope) compile on HP-UX. Found by the build farm. | Andrew Bartlett | 2001-09-19 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| |