summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* *Wonderful* patch from Andrew Bartlett that will help ensure tdb's areJeremy Allison2001-06-0910-36/+70
| | | | | cleaned on clients abending connections. Thanks Andrew ! Jeremy.
* Log tdb failures.Jeremy Allison2001-06-081-2/+6
| | | | Jeremy.
* Extra stuff for large readwrite support.Jeremy Allison2001-06-081-1/+2
| | | | Jeremy.
* Correctly make max pathlength 255.Jeremy Allison2001-06-081-1/+1
| | | | Jeremy.
* Set correct reply word in large writeX (greater than 64k) replies.Jeremy Allison2001-06-051-2/+5
| | | | | Also added smbtorture test for this. Jeremy.
* Deal with incorrect large writes from old NT4.x clients.Jeremy Allison2001-06-051-1/+5
| | | | | We still need to set the large write reply correctly. Jeremy.
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-041-1/+1
|
* Added *.po to .cvsignore files.Tim Potter2001-06-011-0/+1
|
* Fix debug statement so it doesn't use lp_workgroup() either.Jeremy Allison2001-05-311-1/+1
| | | | Jeremy.
* use the new tdb_open_log() fn on connections databaseAndrew Tridgell2001-05-301-1/+1
|
* i18n fix for domain_client_validate()Tim Potter2001-05-251-1/+1
|
* return an error code on password attack, rather than exiting.Andrew Tridgell2001-05-251-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 Allison2001-05-252-11/+9
| | | | Jeremy.
* Fixup the large_writex problem (a large_writex can send a full 64k of data,Jeremy Allison2001-05-243-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 Allison2001-05-231-3/+10
| | | | Jeremy.
* This is *very* cool. I'm pretty convinced we can just set theJeremy Allison2001-05-231-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 Allison2001-05-221-42/+40
| | | | Jeremy.
* Fixes to get pam_auth() functionality working again.Tim Potter2001-05-172-11/+12
|
* groupdb/mapping.c: Fix gcc compiler warning.Jeremy Allison2001-05-171-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 Allison2001-05-151-0/+3
| | | | | We will need this when we use finer grained locking for max connections. Jeremy.
* make the max_connections code less horrendously inefficientAndrew Tridgell2001-05-151-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 Allison2001-05-141-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 Allison2001-05-141-5/+83
| | | | | | This needs testing ! Tidied up tabs in tdb.c. Jeremy.
* statcache initialisation fixAndrew Tridgell2001-05-121-5/+5
| | | | pointed out by Elrond
* Now we're doing the substituion in the lp_string code remove the erroneousJeremy Allison2001-05-121-5/+0
| | | | | debug 0 warning. Jeremy.
* Fixed nasty little bug found by Gerald where we were corrupting the modeJeremy Allison2001-05-101-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 Allison2001-05-101-29/+19
| | | | | Removed "restrict acl with mask" - redundent. Jeremy.
* More compiler warning fixes.Tim Potter2001-05-082-4/+4
|
* Patch from ackley@cs.unm.edu to clear server_fd/client_fd in root daemon to stopJeremy Allison2001-05-081-0/+10
| | | | | %I getpeername() failure. Jeremy.
* Fix for bad profile perms. Ensure r on files and rwx on directories.Jeremy Allison2001-05-071-8/+28
| | | | Jeremy.
* Patch from Simo:Gerald Carter2001-05-074-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 thoughtJeremy Allison2001-05-061-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 Micouleau2001-05-044-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 theGerald Carter2001-05-041-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.hJeremy Allison2001-05-031-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 inlinedJeremy Allison2001-05-021-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 toJeremy Allison2001-04-303-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 warningsAndrew Tridgell2001-04-281-2/+2
| | | | - fixed slprintf and vsprintf macros
* - added test for vasprintfAndrew Tridgell2001-04-281-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 optionAndrew Tridgell2001-04-281-14/+8
|
* rpcclient/rpcclient.c: Non-void return in void function.Jeremy Allison2001-04-281-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 Allison2001-04-271-8/+3
| | | | Jeremy.
* Tidy up args to DEBUG Statements - found by gcc on Solaris.Jeremy Allison2001-04-272-6/+8
| | | | Jeremy.
* Fixes for problems in NFS server code from Michael Gerdts ↵Jeremy Allison2001-04-271-23/+41
| | | | | | <Michael.Gerdts@usa.alcatel.com>. Jeremy.
* Fix from matthew.hart@veritas.com - bad error return from ↵Jeremy Allison2001-04-271-2/+2
| | | | | | linux_oplock_receive_message(). Jeremy.
* Sync with default perm changes in 2.2.Jeremy Allison2001-04-251-27/+122
| | | | Jeremy.
* Fixed memory leak in new session code.Jeremy Allison2001-04-231-0/+3
| | | | Jeremy.
* Added smb_ prefix to all Samba wrapper pam functions.Jeremy Allison2001-04-232-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 theJeremy Allison2001-04-222-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 Allison2001-04-211-0/+7
| | | | Jeremy.