summaryrefslogtreecommitdiffstats
path: root/source/smbd/conn.c
Commit message (Collapse)AuthorAgeFilesLines
* r24957: Merge 21867, 21869, 21870 and 21871:Volker Lendecke2007-09-041-12/+21
| | | | | | | | | | | | | Simplify calling convention of timeout_processing. lp_deadtime is only referenced in conn_idle_all(). Move sending keepalives out of the main processing loop into idle event. On the way, make lp_keepalive() a proper parameter. Move sending auth_server keepalives out of the main loop into an idle event. Move deadtime processing into an idle event. While there, simplify conn_idle_all() a bit.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r22942: Some message_register -> messaging_register conversionsVolker Lendecke2007-05-161-3/+6
|
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-05-071-1/+1
| | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker
* r22542: Move over to using the _strict varients of the tallocJeremy Allison2007-04-271-1/+1
| | | | | calls. No functional changes. Looks bigger than it is :-). Jeremy.
* r21322: No feedback means consent :-)Volker Lendecke2007-02-131-1/+2
| | | | | | | | | | | It does not matter if I screw up 3.0.25 or 3.0.26 with this, so do it rather sooner than later. Add the notify support that already exists in 3_0 to 3_0_25. If you want to see this patch dissected into digestable parts, look at 3_0, revisions at about 20800 and following. Volker
* r20178: Ensure we allocate the intermediate trans structsJeremy Allison2006-12-151-0/+8
| | | | | | | off conn->mem_ctx, not the null context so we can safefy free everything on conn close. Should fix possible memleak. Jeremy.
* r20098: Properly fix issues with create_token_from_username()Jeremy Allison2006-12-101-9/+0
| | | | | | | | | | | | | | reported by James. Ensure that this function allocates everything on the temporary context except the return memory. Never call this with a null mem context, and now use conn->mem_ctx instead in smbd/service.c. Remove separate free functions for conn->ngroups and conn->nt_user_token as they are now always talloc'ed off the conn->mem_ctx. Future optimization will be to remove conn->mem_ctx and make all objects pointed to in the conn struct talloc'ed off conn itself. Easy to free then :-). Jeremy.
* r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison2006-12-091-1/+1
| | | | | | | | | | | | | we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy.
* r19810: more merge work....does not compile currently. Working on smbd mergeGerald Carter2006-11-211-2/+14
|
* r19767: Intermediate checking (does not yet compile)Gerald Carter2006-11-181-2/+2
|\ | | | | | | | | | | | | | | | | * bring over lib/{ldb,replace,talloc,socket_wrapper} * bring over libaddns, tdb * remove smbwrappper * grab Makefile and configure.in from SAMBA_3_0 * Start dealing with snum -> share struct issues * Start merging filename mangling code
| * r19709: Fix bug #4224 - deadtime timeout was brokenJeremy Allison2006-11-151-0/+1
| | | | | | | | | | | | | | because of this. Probably a show-stopper for 3.0.23d. Thanks to Alain GORLIER <alain.gorlier@altissemiconductor.com> for the fix. Jeremy.
| * r19386: Limit the size of the connection bitmap to <64K entries.James Peach2006-10-181-1/+11
| |
| * r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2006-07-111-3/+5
| | | | | | | | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
| * r16317: Klocwork #300. Check for error return on malloc.Jeremy Allison2006-06-161-0/+4
| | | | | | | | Jeremy.
* | r19709: Fix bug #4224 - deadtime timeout was brokenJeremy Allison2006-11-151-0/+1
| | | | | | | | | | | | | | because of this. Probably a show-stopper for 3.0.23d. Thanks to Alain GORLIER <alain.gorlier@altissemiconductor.com> for the fix. Jeremy.
* | r16348: * merging changes from SAMBA_3_0 r16346Gerald Carter2006-06-191-0/+4
|/ | | | * updating release notes to match
* r15088: Remove all time() and gettimeofday() calls out of the mainlineJeremy Allison2006-04-151-4/+12
| | | | | | packet processing code. Only do these when needed (ie. in the idle timeout code). We drop an unneccessary global here too. Jeremy.
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2006-02-201-1/+1
| | | | macro which sets the freed pointer to NULL.
* r13316: Let the carnage begin....Gerald Carter2006-02-031-1/+1
| | | | Sync with trunk as off r13315
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-1/+1
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r8963: Clean up the horrid "fake conn struct" part of MSDFS.Jeremy Allison2005-08-021-7/+15
| | | | Jeremy.
* r7963: Add aio support to 3.0.Jeremy Allison2005-06-271-0/+1
| | | | Jeremy.
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2005-06-241-1/+1
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r4736: small set of merges from rtunk to minimize the diffsGerald Carter2005-01-141-0/+4
|
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-1/+1
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r1154: Change default setting for case sensitivity to "auto". If set to autoJeremy Allison2004-06-151-1/+1
| | | | | | | | | | | | then is the client supports it (current clients supported are Samba and CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare "NT LM 0.12" string) then the setting of the per packet flag smb_flag FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows the linux CIFS client to use Samba in a case sensitive manner. Additional command in smbclient "case_sensitive", toggles the flag in subsequent packets. Docs to follow. Jeremy.
* r656: Make widelinks use realpath(). Tidy up cases where we need to become a ↵Jeremy Allison2004-05-131-0/+1
| | | | | | service. Jeremy.
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-041-8/+0
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+305
metze