summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2001-06-01Added *.po to .cvsignore files.Tim Potter1-0/+1
(This used to be commit 870e9e4e89dcf910c595cabb28f69ad070942072)
2001-05-31Fix debug statement so it doesn't use lp_workgroup() either.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 18e652a5e0d30d033be70e512cd94bf867507f64)
2001-05-30use the new tdb_open_log() fn on connections databaseAndrew Tridgell1-1/+1
(This used to be commit 68c0dcec3d3c17aae76ce093a601c9f452af5a0c)
2001-05-25i18n fix for domain_client_validate()Tim Potter1-1/+1
(This used to be commit d6dcca7cc9bc5a1948c1b6126ca4f6cb9ccacc52)
2001-05-25return an error code on password attack, rather than exiting.Andrew Tridgell1-4/+7
otherwise security scanners may think we are vulnerable! (This used to be commit ee8cb88682421464016d56209eecea764bddc032)
2001-05-25Added tdb_change_int_atomic() to allow atomic updates of a tdb int value.Jeremy Allison2-11/+9
Jeremy. (This used to be commit cf5015f15935605cf69078bc15251db61ddc48c7)
2001-05-24Fixup the large_writex problem (a large_writex can send a full 64k of data,Jeremy Allison3-7/+8
we already have space for this we just need to understand the length correctly). Jeremy. (This used to be commit 19145bae720bbcc32dcab380c62a33d1f0e3eef0)
2001-05-23Added tdb_errstr() messages so we can see if these functions fail.Jeremy Allison1-3/+10
Jeremy. (This used to be commit ec64ddac5fa4688b18484d6599b17b8c4bcd34c0)
2001-05-23This is *very* cool. I'm pretty convinced we can just set theJeremy Allison1-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. (This used to be commit c328dda0fa081e79049d7a9ddac06e80cc8b331b)
2001-05-22Defensive brlock and locking database cleaning code.Jeremy Allison1-42/+40
Jeremy. (This used to be commit d7aa42e4593b02ee6e487f7a4633bd7e7620ef2f)
2001-05-17Fixes to get pam_auth() functionality working again.Tim Potter2-11/+12
(This used to be commit 083b74c743f0026693fa0fbe665ed08a3ac706b8)
2001-05-17groupdb/mapping.c: Fix gcc compiler warning.Jeremy Allison1-20/+28
smbd/connection.c: Sync up with code in 2.2 Jeremy. (This used to be commit 87025c223dd33f2e02060c2a5cd45502946c87c6)
2001-05-15Check sizes of data entries in connections.tdb before deciding they're crecs...Jeremy Allison1-0/+3
We will need this when we use finer grained locking for max connections. Jeremy. (This used to be commit c6cd42a6791e26174eb795fd08ddbbd797e5a9cf)
2001-05-15make the max_connections code less horrendously inefficientAndrew Tridgell1-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 (This used to be commit 6bdbeb4a32e52fb05328dcf38dbb90780e1761ef)
2001-05-14tdb_traverse returns number of records, not zero, on success.Jeremy Allison1-2/+14
Now tested max connections and it works again. Hurrah ! Jeremy. (This used to be commit 6565b8c9781f571735068aba5044a913b5fe31fe)
2001-05-14Implemented max connections in a similar way to 2.0.x (scan of connection db).Jeremy Allison1-5/+83
This needs testing ! Tidied up tabs in tdb.c. Jeremy. (This used to be commit 0852465053d0c1a23b6cfe6097267291b0595ef8)
2001-05-12statcache initialisation fixAndrew Tridgell1-5/+5
pointed out by Elrond (This used to be commit 572a37534b7ee010aafd7e8bcb9da52957306f97)
2001-05-12Now we're doing the substituion in the lp_string code remove the erroneousJeremy Allison1-5/+0
debug 0 warning. Jeremy. (This used to be commit be7e1d0f2c078bd07c7087e1e36636dcd6d0a5d8)
2001-05-10Fixed nasty little bug found by Gerald where we were corrupting the modeJeremy Allison1-2/+15
bits before checking if we should change them on non-acl systems. Jeremy. (This used to be commit aba243ca0867a0787f9f7c7b2cda6143bcc53087)
2001-05-10Made "security XXX" masks apply to ACL set. By default they have no effect.Jeremy Allison1-29/+19
Removed "restrict acl with mask" - redundent. Jeremy. (This used to be commit 0db8a61d71f25ffa0e5c585e02e2fce973867156)
2001-05-08More compiler warning fixes.Tim Potter2-4/+4
(This used to be commit 88a7b2c3f80b17ca8ab2112e9a98f55f1a11d88c)
2001-05-08Patch from ackley@cs.unm.edu to clear server_fd/client_fd in root daemon to stopJeremy Allison1-0/+10
%I getpeername() failure. Jeremy. (This used to be commit 15584d30cd51650752fcbdd4f0dfc193fed18e5a)
2001-05-07Fix for bad profile perms. Ensure r on files and rwx on directories.Jeremy Allison1-8/+28
Jeremy. (This used to be commit f100e091abc57a9ba983e7c3cf84bfda2dbc2e18)
2001-05-07Patch from Simo:Gerald Carter4-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. (This used to be commit 96d0e7c3301ad990f6c83b9c216720cb32661fb5)
2001-05-06Patch from David_Tiller@ccnotes.ccity.com finally applied now I've thoughtJeremy Allison1-70/+77
about it to stop account lockouts with "security=server" mode. Sorry for the delay David. Jeremy. (This used to be commit e8819715038ed49b07ed5639b1b88ad12e994b53)
2001-05-04Big cleanup of passdb and backends.Jean-François Micouleau4-64/+80
I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. (This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-05-04merge from 2.2 in password_ok() to ensure that we check theGerald Carter1-1/+1
return code from smb_pam_accountcheck() (This used to be commit d5d6f01aaf8d344bb44dbe047c2f760ca220529e)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison1-0/+6
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-02Had to add a "pam password change" parameter (defaults to "off") and inlinedJeremy Allison1-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. (This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8)
2001-04-30Based on an original PAM patch by Andrew Bartlett, re-written by me toJeremy Allison3-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. (This used to be commit 1648ac64a75de74d1a1575eb49cccc4f75488bfa)
2001-04-28- fixed some compiler warningsAndrew Tridgell1-2/+2
- fixed slprintf and vsprintf macros (This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
2001-04-28- added test for vasprintfAndrew Tridgell1-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 (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28use asprintf for hideunreadable optionAndrew Tridgell1-14/+8
(This used to be commit 338d5ca8addb3079e0ab4a68338596d6e3b17ddb)
2001-04-28rpcclient/rpcclient.c: Non-void return in void function.Jeremy Allison1-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. (This used to be commit 1be60597cd62af2b30a1496d06ea5704e87d3b7d)
2001-04-27More debug %d -> %u issues.Jeremy Allison1-8/+3
Jeremy. (This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)
2001-04-27Tidy up args to DEBUG Statements - found by gcc on Solaris.Jeremy Allison2-6/+8
Jeremy. (This used to be commit a60ecb4e53a6c8a3a6a37a89042ae943202263fe)
2001-04-27Fixes for problems in NFS server code from Michael Gerdts ↵Jeremy Allison1-23/+41
<Michael.Gerdts@usa.alcatel.com>. Jeremy. (This used to be commit 2fd5e0bf141807d31f6f1a817d271548d0ccfadc)
2001-04-27Fix from matthew.hart@veritas.com - bad error return from ↵Jeremy Allison1-2/+2
linux_oplock_receive_message(). Jeremy. (This used to be commit b35ca2c6b13877bc6e09c7c4179d9529a7d3e0b3)
2001-04-25Sync with default perm changes in 2.2.Jeremy Allison1-27/+122
Jeremy. (This used to be commit f02e67a096b3bcf84615c4a6949c5e6283e07af0)
2001-04-23Fixed memory leak in new session code.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 43b69e5d6e78a30563d7c1d03c7e920d529487b5)
2001-04-23Added smb_ prefix to all Samba wrapper pam functions.Jeremy Allison2-4/+4
Fixed off by one bug using StrnCpy instead of strdup(). Jeremy. (This used to be commit d4b1c0be2e700c86a4338bb497777f97e3c960a7)
2001-04-22Commit of a modified version of Andrew Bartlett's patch that removes theJeremy Allison2-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. (This used to be commit 071c799f479dd25efdb9c41745fc8f2beea7b568)
2001-04-21Fixed compile bug when using --with-pam but not --with-utmp.Jeremy Allison1-0/+7
Jeremy. (This used to be commit 1e098744677e022547707ebff500fb4515402871)
2001-04-18a missing string conversion.Jean-François Micouleau1-1/+1
J.F. (This used to be commit 9513eb87c2d113fe27bcea2add05226495c33cb8)
2001-04-18new files for headAndrew Tridgell2-0/+750
(This used to be commit c0d4a1f5dd34e49843c879dd88fc78c7dffd9269)
2001-04-18merge from 2.2Andrew Tridgell4-788/+46
(This used to be commit f52a5014ee325f9d91f266f88eac51b6136a75b9)
2001-04-18Removed mktemp from HEAD - same as done in 2.2.Jeremy Allison2-8/+17
Jeremy. (This used to be commit 121b59669fbcd1aaedb08011ff36169fc6561c55)
2001-04-18Rememver to use VFS at all times... even in new user_can_read_file code :-).Jeremy Allison1-3/+3
Jeremy. (This used to be commit 0d10113d01d6d15f470359259a76e4f107a06c73)
2001-04-16hide unreadable patch from idraAndrew Tridgell1-0/+49
(This used to be commit 7b6cfe243002a92f5dfb52413e9b3550c61cecfb)
2001-04-16Finally got the semantics right (hurrah!).Jeremy Allison1-6/+14
Jeremy. (This used to be commit 362574c5a32005d4247c7ac75a5aa9e35e894db0)