summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-02-25Progress on CR 601Gerald Carter1-3/+3
cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok. (This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
2003-02-24Merge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.Andrew Bartlett2-5/+5
Andrew Bartlett (This used to be commit 9ef0d40c3f8aef52ab321dc065264c42065bc876)
2003-02-24Merge of server-side authentication changes to 3.0:Andrew Bartlett5-68/+79
- user_ok() and user_in_group() now take a list of groups, instead of looking for the user in the members of all groups. - The 'server_info' returned from the authentication is now kept around - in future we won't copy the sesion key, username etc, we will just referece them directly. - rhosts upgraded to use the SAM if possible, otherwise fake up based on getpwnam(). - auth_util code to deal with groups upgraded to deal with non-winbind domain members again. Andrew Bartlett (This used to be commit 74b5436c75114170ce7c780c19226103d0df9060)
2003-02-21Added comments to make it clearer when we're assigning a pointer that itJeremy Allison1-0/+12
must not be freed afterwards. Jeremy. (This used to be commit 4015e39d3666dbe240808c9007a8b8faca012a3d)
2003-02-19Fix inspired by Stefan (metze) Metzmacher - cache the sidtype also.Jeremy Allison1-19/+27
Jeremy. (This used to be commit efc92697801f5e62a89eda33e1826094c096900f)
2003-02-19Fix from Corny.Bondad@hp.com for missing if (setting_acls) on defaultJeremy Allison1-3/+3
perms. Jeremy. (This used to be commit 793609cbc2f657b91a59aec4a3f403bf826c7156)
2003-02-12Added code based on Michael Steffens <michael.steffens@hp.com> uid/gidJeremy Allison1-1/+205
caching code. Reduces load on winbindd. Probably should be moved to use gencache at some future date. Jeremy. (This used to be commit f2674d1ac94fd5928754b8176cdd65eda50bf66e)
2003-02-12Correctly return access denied on share mode deny when we can't open theJeremy Allison1-3/+19
file. This is a regression that was damaged by other code. Jeremy. (This used to be commit 7844a53df72af8fd2f70d51b784352aeb1298ed2)
2003-02-12Ensure we are not forgetting our janitorial duties...Jeremy Allison1-0/+10
Jeremy. (This used to be commit 7812370cabd4a8809eed1eb4968d552bcb0df2f5)
2003-02-11Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).Jeremy Allison2-45/+46
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to track it down. Jeremy. (This used to be commit 41894489e82a474f4f8f66aa2c7a117ed05b33e1)
2003-02-10Cleanups: (merge from HEAD)Andrew Bartlett2-3/+3
- use safe_strcpy() instead of pstrcpy() for malloc()ed strings - CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff. - Fix up a possible Realloc() failure segfault Andrew Bartlett (This used to be commit c1cfc296c2efdb2b5972202146e80f0e3b6a3da4)
2003-02-07check pointer before dereferencing itGerald Carter1-1/+1
(This used to be commit 8712bd1f8eb5321278e7c57bfdc7bdddbdaf1424)
2003-02-07merge from headAndrew Tridgell1-7/+15
(This used to be commit fd3216dbcbaec7d64dd24fe2af6c4156935c47e9)
2003-02-05Check for too many processes *before* the fork.Jeremy Allison1-2/+36
Jeremy. (This used to be commit be54b1b831b0bd6c428558131ea600c46433c090)
2003-02-04Merge from HEAD: avoid braindead #define on Tru64.Andrew Bartlett1-2/+2
(This used to be commit 299233fbf2328d08546b3b03dceca67083b68493)
2003-02-04Ensure we only ever set fsp->conn in one place.Jeremy Allison1-7/+0
Jeremy. (This used to be commit d8a42753cc1e1a94aa6b816222343e1569521f14)
2003-02-04Ensure Samba passes the open attribute truncate tests in smbtorture.Jeremy Allison1-9/+12
Jeremy. (This used to be commit b3df40bc803e7dc3b66a95eccb335e2b1775560e)
2003-02-02untest fix from HEAD/2.2 for wide links parameter bug.Simo Sorce1-2/+65
it work properly on 2.2 and the patch apply so I think it should be ok. (This used to be commit 8498503f1d59636959fe9f97601c55d82a776199)
2003-02-01Merge of signed/unsigned fixes from HEAD.Andrew Bartlett1-2/+2
(This used to be commit e9f56a157bd472914eebf64fde586104d8274717)
2003-01-30Add 3 second timeout when terminating server and sending print notifyJeremy Allison2-2/+2
messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)
2003-01-30Merge of controversial 'max log size' fix.Tim Potter1-0/+12
(This used to be commit 71e2b60d8f784174cd2a75c5e03bf2a6ab353900)
2003-01-30Fix for interesting resource constraint condition. When all opens areJeremy Allison2-16/+19
level 2 and a request for open with no oplock is received then the smbd should send *synchronous* break messages, not asynchronous, otherwise it spins very rapidly, releasing the lock, sending the 'break to none' messages and then re-acquiring the lock before any other process has a chance to get the lock and remove it's own oplock (at least on linux). Jeremy (This used to be commit 33e3e863eb7f35b852384e689f3272784261fc39)
2003-01-28Merge from HEAD:Andrew Bartlett1-262/+109
- NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor. - also consequential changes to the NTLMSSP and SPNEGO parsing functions - and the client code that uses the same functions - Add ntlm_auth, a NTLMSSP authentication interface for use by applications like Squid and Apache. - also consquential changes to use common code for base64 encode/decode. - Winbind changes to support ntlm_auth (I don't want this program to need to read smb.conf, instead getting all it's details over the pipe). - nmbd changes for fstrcat() instead of fstrcpy(). Andrew Bartlett (This used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
2003-01-28performance patch from HP-UX folks (cant remember who)Gerald Carter1-3/+14
(This used to be commit d6c22e693efee88c17f1f0f6c861e7101b3fec99)
2003-01-24Fixed typo found by tpot.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7e2bc1fe58f5da437e55867d1205ca6ceade4c74)
2003-01-17Fix reference count bug where smbd's would not terminate with noJeremy Allison1-1/+12
open resources. Jeremy. (This used to be commit b7e5a2c5474e9edd8fa783462af8986b6bd426a5)
2003-01-15Remove debugging stmt.Tim Potter1-3/+0
(This used to be commit d74382ccfe7e96e20816dd2d481b79fb66f2f243)
2003-01-15*lots of small merges form HEADGerald Carter2-6/+10
*sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-14removing unused variable and unused fileGerald Carter2-238/+0
(This used to be commit c8266011b7afc2d6bcb8638c2a5ed3f9116cd88a)
2003-01-14make -i flag work lik eit did in 2.2Gerald Carter1-2/+5
(This used to be commit 5d821c0e23f96f4da6a29a6bebf800532fcf1aa6)
2003-01-14Merge from HEAD:Andrew Bartlett2-2/+2
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-14Merge from HEAD - eliminated unused arguments.Andrew Bartlett2-3/+2
Andrew Bartlett (This used to be commit 6dd474d8451d39e580834089d7c3614059558354)
2003-01-14Merge indirection, signed/unsigned and uninitialiased-value fixes from HEAD.Andrew Bartlett2-0/+4
Andrew Bartlett (This used to be commit 2a1adb8f81d8966e8919fffb9b4c69f3e6acd44f)
2003-01-14merge alt_name patch from headAndrew Tridgell1-1/+1
(This used to be commit 20ebdee36d5351731698bdef6602fc73a45b1651)
2003-01-11[merge] make sure to update print queue cache during timeout_processing() to ↵Gerald Carter1-0/+4
send notify events; CR 1491 (This used to be commit f8a915b14d63e4fdb99235053eeb896ef9492068)
2003-01-09Moved smbd process counting functions from smbd/server.c to smbd/process.cHerb Lewis2-30/+26
so that bin/vfstest can link. merge from head (This used to be commit 9151cd7d64a1ee1277cbcfb3e7ed61c32c1037cf)
2003-01-08Ensure we return disk full by default on short writes.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 2a974bc284b9d193c24972d073b966eb9b3b3ad0)
2003-01-08Ensure we don't get an invalid number for total smbd's if the tdb updateJeremy Allison2-6/+18
fails. Jeremy. (This used to be commit e0482594724ebba801bbc39a90a73fafa54f8b9e)
2003-01-08Fix erroneous free of SAM_ACCOUNT (make clearer when allocatedJeremy Allison1-15/+8
memory is being returned). Jeremy. (This used to be commit 48774e77ac8e43682f216dea970f8860cecb3818)
2003-01-08Fix open problem with changing attributes on an existing file - basedJeremy Allison1-8/+45
on work by <steve@griffin.sio2.nl>. Jeremy. (This used to be commit 1cff725e37d04e25d2cd5523683b35c82d5040fa)
2003-01-06Fix memory leaks in pdb_ code.Jeremy Allison1-1/+13
Jeremy. (This used to be commit 44ab8dc55e3c37a0fc01529084bcacfc84c1dcee)
2003-01-06Merge from HEAD - handle VFS module load failures, change some error returns toAndrew Bartlett2-3/+9
avoid sending NT_STATUS_UNSUCCESSFUL. Andrew Bartlett (This used to be commit 7b95151ddcb1e4abd592e72d509ec24c5d160511)
2003-01-05Merge from HEAD - get the test the right way around, so that we can changeAndrew Bartlett1-1/+1
passwords over RAP again. (found by the build farm) Andrew Bartlett (This used to be commit 4b1a316e79ba87cb35a019a2089e6469ad9a3c3e)
2003-01-04Merge from HEAD - move user password changes into the NTSTATUS era, and addAndrew Bartlett2-47/+87
suppport for the 'min password age' and 'min passwd len' concepts. (This used to be commit d9417b08d1b649e598b44135bc57008f4e4f7769)
2003-01-03Fix problem with "hide unreadable". stat file opens are baaack :-).Jeremy Allison3-584/+542
Jeremy. (This used to be commit 62038a0abf193d4dc4f37c31ac77216a10f6f326)
2003-01-03patch to include support for daemontools from Michael HandlerGerald Carter1-2/+16
(This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett14-53/+60
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-02pstring/fstring missmatches found by Andrew Bartlett.Jeremy Allison1-5/+5
Jeremy. (This used to be commit 666861b1e263370f6ba8fa4108842f52a81d8b83)
2003-01-02Merge Andrew Bartletts (size_t)-1 checks.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 339f4fe15efbf67157c8e61b98c6ea983e6b4674)
2002-12-31from HEAD:Simo Sorce1-1/+1
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com> (This used to be commit bcc633c4097661447731bda24a38be62c69bbed5)