Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | *Wonderful* patch from Andrew Bartlett that will help ensure tdb's are | Jeremy Allison | 2001-06-09 | 10 | -36/+70 | |
| | | | | | cleaned on clients abending connections. Thanks Andrew ! Jeremy. | |||||
* | Log tdb failures. | Jeremy Allison | 2001-06-08 | 1 | -2/+6 | |
| | | | | Jeremy. | |||||
* | Extra stuff for large readwrite support. | Jeremy Allison | 2001-06-08 | 1 | -1/+2 | |
| | | | | Jeremy. | |||||
* | Correctly make max pathlength 255. | Jeremy Allison | 2001-06-08 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Set correct reply word in large writeX (greater than 64k) replies. | Jeremy Allison | 2001-06-05 | 1 | -2/+5 | |
| | | | | | Also added smbtorture test for this. Jeremy. | |||||
* | Deal with incorrect large writes from old NT4.x clients. | Jeremy Allison | 2001-06-05 | 1 | -1/+5 | |
| | | | | | We still need to set the large write reply correctly. Jeremy. | |||||
* | use LDSHFLAGS not -shared in several places | Andrew Tridgell | 2001-06-04 | 1 | -1/+1 | |
| | ||||||
* | Added *.po to .cvsignore files. | Tim Potter | 2001-06-01 | 1 | -0/+1 | |
| | ||||||
* | Fix debug statement so it doesn't use lp_workgroup() either. | Jeremy Allison | 2001-05-31 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | use the new tdb_open_log() fn on connections database | Andrew Tridgell | 2001-05-30 | 1 | -1/+1 | |
| | ||||||
* | i18n fix for domain_client_validate() | Tim Potter | 2001-05-25 | 1 | -1/+1 | |
| | ||||||
* | return an error code on password attack, rather than exiting. | Andrew Tridgell | 2001-05-25 | 1 | -4/+7 | |
| | | | | otherwise security scanners may think we are vulnerable! | |||||
* | Added tdb_change_int_atomic() to allow atomic updates of a tdb int value. | Jeremy Allison | 2001-05-25 | 2 | -11/+9 | |
| | | | | Jeremy. | |||||
* | Fixup the large_writex problem (a large_writex can send a full 64k of data, | Jeremy Allison | 2001-05-24 | 3 | -7/+8 | |
| | | | | | we already have space for this we just need to understand the length correctly). Jeremy. | |||||
* | Added tdb_errstr() messages so we can see if these functions fail. | Jeremy Allison | 2001-05-23 | 1 | -3/+10 | |
| | | | | Jeremy. | |||||
* | This is *very* cool. I'm pretty convinced we can just set the | Jeremy Allison | 2001-05-23 | 1 | -0/+1 | |
| | | | | | | | | CAP_LARGE_READX|CAP_LARGE_WRITEX bits on negprot and out W2K performance goes through the roof...... And as we *always* offer 64 buffers we can do this with this simple change..... Jeremy. | |||||
* | Defensive brlock and locking database cleaning code. | Jeremy Allison | 2001-05-22 | 1 | -42/+40 | |
| | | | | Jeremy. | |||||
* | Fixes to get pam_auth() functionality working again. | Tim Potter | 2001-05-17 | 2 | -11/+12 | |
| | ||||||
* | groupdb/mapping.c: Fix gcc compiler warning. | Jeremy Allison | 2001-05-17 | 1 | -20/+28 | |
| | | | | | smbd/connection.c: Sync up with code in 2.2 Jeremy. | |||||
* | Check sizes of data entries in connections.tdb before deciding they're crecs... | Jeremy Allison | 2001-05-15 | 1 | -0/+3 | |
| | | | | | We will need this when we use finer grained locking for max connections. Jeremy. | |||||
* | make the max_connections code less horrendously inefficient | Andrew Tridgell | 2001-05-15 | 1 | -23/+9 | |
| | | | | | | | | | | - it didn't honour the clear flag - it locked the database (not necessary) the previous code would do 10^6 kill() operations for 1000 people logging in - and all with the database locked. Not very scalable. Still haven't added the counter, that would make it really efficient | |||||
* | tdb_traverse returns number of records, not zero, on success. | Jeremy Allison | 2001-05-14 | 1 | -2/+14 | |
| | | | | | Now tested max connections and it works again. Hurrah ! Jeremy. | |||||
* | Implemented max connections in a similar way to 2.0.x (scan of connection db). | Jeremy Allison | 2001-05-14 | 1 | -5/+83 | |
| | | | | | | This needs testing ! Tidied up tabs in tdb.c. Jeremy. | |||||
* | statcache initialisation fix | Andrew Tridgell | 2001-05-12 | 1 | -5/+5 | |
| | | | | pointed out by Elrond | |||||
* | Now we're doing the substituion in the lp_string code remove the erroneous | Jeremy Allison | 2001-05-12 | 1 | -5/+0 | |
| | | | | | debug 0 warning. Jeremy. | |||||
* | Fixed nasty little bug found by Gerald where we were corrupting the mode | Jeremy Allison | 2001-05-10 | 1 | -2/+15 | |
| | | | | | bits before checking if we should change them on non-acl systems. Jeremy. | |||||
* | Made "security XXX" masks apply to ACL set. By default they have no effect. | Jeremy Allison | 2001-05-10 | 1 | -29/+19 | |
| | | | | | Removed "restrict acl with mask" - redundent. Jeremy. | |||||
* | More compiler warning fixes. | Tim Potter | 2001-05-08 | 2 | -4/+4 | |
| | ||||||
* | Patch from ackley@cs.unm.edu to clear server_fd/client_fd in root daemon to stop | Jeremy Allison | 2001-05-08 | 1 | -0/+10 | |
| | | | | | %I getpeername() failure. Jeremy. | |||||
* | Fix for bad profile perms. Ensure r on files and rwx on directories. | Jeremy Allison | 2001-05-07 | 1 | -8/+28 | |
| | | | | Jeremy. | |||||
* | Patch from Simo: | Gerald Carter | 2001-05-07 | 4 | -21/+21 | |
| | | | | | | o sed 's/pdb_clear_sam/pdb_free_sam/g' o add pdb_reset_sam() o password changing should be ok now as well. | |||||
* | Patch from David_Tiller@ccnotes.ccity.com finally applied now I've thought | Jeremy Allison | 2001-05-06 | 1 | -70/+77 | |
| | | | | | | about it to stop account lockouts with "security=server" mode. Sorry for the delay David. Jeremy. | |||||
* | Big cleanup of passdb and backends. | Jean-François Micouleau | 2001-05-04 | 4 | -64/+80 | |
| | | | | | | | I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. | |||||
* | merge from 2.2 in password_ok() to ensure that we check the | Gerald Carter | 2001-05-04 | 1 | -1/+1 | |
| | | | | return code from smb_pam_accountcheck() | |||||
* | Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.h | Jeremy Allison | 2001-05-03 | 1 | -0/+6 | |
| | | | | | | and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. | |||||
* | Had to add a "pam password change" parameter (defaults to "off") and inlined | Jeremy Allison | 2001-05-02 | 1 | -54/+42 | |
| | | | | | | | | | | | the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy. | |||||
* | Based on an original PAM patch by Andrew Bartlett, re-written by me to | Jeremy Allison | 2001-04-30 | 3 | -37/+48 | |
| | | | | | | | remove global static PAM variables, and to tidy up the PAM internals code. Now looks like the rest of Samba. Still needs testing. Jeremy. | |||||
* | - fixed some compiler warnings | Andrew Tridgell | 2001-04-28 | 1 | -2/+2 | |
| | | | | - fixed slprintf and vsprintf macros | |||||
* | - added test for vasprintf | Andrew Tridgell | 2001-04-28 | 1 | -12/+0 | |
| | | | | | | | | - cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more | |||||
* | use asprintf for hideunreadable option | Andrew Tridgell | 2001-04-28 | 1 | -14/+8 | |
| | ||||||
* | rpcclient/rpcclient.c: Non-void return in void function. | Jeremy Allison | 2001-04-28 | 1 | -1/+3 | |
| | | | | | | | smbd/sec_ctx.c: Fixed potential memory leak spotted by Kenichi Okuyama@Tokyo Research Lab, IBM-Japan, Co. utils/nmblookup.c: gcc warning on Solaris fix. Jeremy. | |||||
* | More debug %d -> %u issues. | Jeremy Allison | 2001-04-27 | 1 | -8/+3 | |
| | | | | Jeremy. | |||||
* | Tidy up args to DEBUG Statements - found by gcc on Solaris. | Jeremy Allison | 2001-04-27 | 2 | -6/+8 | |
| | | | | Jeremy. | |||||
* | Fixes for problems in NFS server code from Michael Gerdts ↵ | Jeremy Allison | 2001-04-27 | 1 | -23/+41 | |
| | | | | | | <Michael.Gerdts@usa.alcatel.com>. Jeremy. | |||||
* | Fix from matthew.hart@veritas.com - bad error return from ↵ | Jeremy Allison | 2001-04-27 | 1 | -2/+2 | |
| | | | | | | linux_oplock_receive_message(). Jeremy. | |||||
* | Sync with default perm changes in 2.2. | Jeremy Allison | 2001-04-25 | 1 | -27/+122 | |
| | | | | Jeremy. | |||||
* | Fixed memory leak in new session code. | Jeremy Allison | 2001-04-23 | 1 | -0/+3 | |
| | | | | Jeremy. | |||||
* | Added smb_ prefix to all Samba wrapper pam functions. | Jeremy Allison | 2001-04-23 | 2 | -4/+4 | |
| | | | | | Fixed off by one bug using StrnCpy instead of strdup(). Jeremy. | |||||
* | Commit of a modified version of Andrew Bartlett's patch that removes the | Jeremy Allison | 2001-04-22 | 2 | -15/+22 | |
| | | | | | | | | | | horrid utmp hostname parameter - now uses the client name instead. Also tidies up some of the unencrypted password checking when PAM is compiled in. FIXME ! An pam_accountcheck() is being called even when smb encrypted passwords are negotiated. Is this the correct thing to do when winbindd is running ! This needs *SEVERE* testing.... Jeremy. | |||||
* | Fixed compile bug when using --with-pam but not --with-utmp. | Jeremy Allison | 2001-04-21 | 1 | -0/+7 | |
| | | | | Jeremy. |