summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* - Fix up to use sampass->username insted of user_info->smb_usernameAndrew Bartlett2001-09-192-14/+14
| | | | - Fix initial lookup to use the mapped username.
* Try to fix up the shell syntaxAndrew Bartlett2001-09-191-2/+2
|
* Reran autoconf, autoheaderAndrew Bartlett2001-09-192-171/+208
|
* typoAndrew Bartlett2001-09-191-1/+1
|
* Adding the appropirate files might help...Andrew Bartlett2001-09-192-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 4Andrew Bartlett2001-09-195-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 Bartlett2001-09-191-1/+1
|
* This isn't used anymoreAndrew Bartlett2001-09-191-1/+0
|
* Use lp_private_dir() not magic on the lp_smb_passwd_file() output.Andrew Bartlett2001-09-191-7/+2
|
* Removed unneeded variable, added comment on deadlock prevention.Jeremy Allison2001-09-191-9/+9
| | | | Jeremy.
* Put pwrite code back in expand_file.Jeremy Allison2001-09-191-3/+10
| | | | Jeremy.
* Removed test code that got added by accident.Jeremy Allison2001-09-191-22/+0
| | | | Jeremy.
* removed anti-race code that could cause a classic ABBA deadlockAndrew Tridgell2001-09-191-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 Bartlett2001-09-191-4/+5
| | | | so don't link them as such.
* added a hook to reopen all tdb's after the server forkAndrew Tridgell2001-09-193-10/+52
| | | | this prevents the fd seek pointer problem
* *llist being NULL is not an errorAndrew Tridgell2001-09-191-1/+1
|
* 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
* Fix (I hope) compile on HP-UX. Found by the build farm.Andrew Bartlett2001-09-191-1/+1
|
* got rid of bogus write list substitution error messagesAndrew Tridgell2001-09-191-15/+18
|
* 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.
* don't try to initgroups in non root modeAndrew Tridgell2001-09-191-0/+4
|
* fix debugAndrew Bartlett2001-09-191-1/+1
|
* 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
* Return correct error code on lock fail in tdb_expand.Jeremy Allison2001-09-191-1/+1
| | | | Jeremy.
* 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.
* 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.
* 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.
* Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison2001-09-182-2/+2
| | | | | Linux. Jeremy.
* Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.Tim Potter2001-09-185-19/+34
|
* move to SAFE_FREE()Simo Sorce2001-09-177-30/+28
|
* move to SAFE_FREE()Simo Sorce2001-09-173-8/+6
|
* move to SAFE_FREE()Simo Sorce2001-09-1732-193/+145
|
* move to SAFE_FREE()Simo Sorce2001-09-1711-146/+133
|
* move to SAFE_FREE()Simo Sorce2001-09-173-28/+17
|
* move to SAFE_FREE()Simo Sorce2001-09-175-32/+13
|
* move to SAFE_FREE()Simo Sorce2001-09-172-52/+43
|
* move to SAFE_FREE()Simo Sorce2001-09-176-46/+31
|
* move to SAFE_FREE()Simo Sorce2001-09-172-26/+20
|
* move to SAFE_FREE()Simo Sorce2001-09-1714-68/+51
|
* move to SAFE_FREE()Simo Sorce2001-09-1714-39/+37
|
* 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
* move to SAFE_FREE()Simo Sorce2001-09-175-44/+36
|
* typoSimo Sorce2001-09-171-5/+2
|
* fixed compilation of groupdbAndrew Tridgell2001-09-171-3/+3
|
* move to SAFE_FREE()Simo Sorce2001-09-1710-141/+91
|
* move to SAFE_FREE()Simo Sorce2001-09-1723-168/+129
|
* move to SAFE_FREE()Simo Sorce2001-09-175-22/+15
|
* move to SAFE_FREE()Simo Sorce2001-09-172-19/+16
|
* introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce2001-09-172-25/+24
|
* Fix compile warnings on IRIX's cc.Andrew Bartlett2001-09-161-3/+3
|