summaryrefslogtreecommitdiffstats
path: root/source/smbd/connection.c
Commit message (Collapse)AuthorAgeFilesLines
* Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke2008-06-191-2/+2
| | | | No functional change, this is a preparation for more current_user ref removal
* Remove the unix token info from connection_structVolker Lendecke2008-05-101-2/+2
|
* Merge CTDB-related fixes from samba-ctdb 3.0 branch ↵Alexander Bokovoy2008-01-161-0/+9
| | | | | (http://samba.org/~tridge/3_0-ctdb) Signed-off-by: Alexander Bokovoy <ab@samba.org>
* use talloc_tos in a few more placesVolker Lendecke2008-01-101-1/+1
|
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-031-1/+2
| | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy.
* I can't get away without a 'length' arg. :-).Jeremy Allison2007-11-031-1/+1
| | | | Jeremy.
* Stop get_peer_addr() and client_addr() from using globalJeremy Allison2007-11-031-1/+2
| | | | | statics. Part of my library cleanups. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-9/+9
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-testGerald (Jerry) Carter2007-10-101-29/+3
|
* r24268: Fix two crashes for spoolssVolker Lendecke2007-10-101-3/+4
| | | | strlcpy does not like a NULL source. Fix a use-after-free.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23221: Fix a bad merge, avoid a memory leak and tdb lock problemVolker Lendecke2007-10-101-0/+1
|
* r23171: Convert connections.tdb to dbwrapVolker Lendecke2007-10-101-88/+75
|
* r23168: Move the lp_max_connections() into service.c.Volker Lendecke2007-10-101-18/+2
|
* r23167: Remove an unused parameterVolker Lendecke2007-10-101-1/+2
|
* r22761: This introduces lib/conn_tdb.c with two main functions: ↵Volker Lendecke2007-10-101-21/+8
| | | | | | | | | connections_traverse and connections_forall. This centralizes all the routines that did individual tdb_open("connections.tdb") and direct tdb_traverse. Volker
* r22418: Support running under launchd. We abstract the method of obtainingJames Peach2007-10-101-7/+35
| | | | | | sockets to listen on a little, because in the launchd case these are provided for us. We also add an idle timeout so that a daemon can exit after a period of inactivity.
* r22266: Fix bug #4512 - we were returning a volume label greater thanJeremy Allison2007-10-101-4/+4
| | | | | 32 unicode chars. Windows XP doesn't like that :-). Jeremy
* r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2007-10-101-3/+3
| | | | | | and fix all compiler warnings in the users metze
* r22008: use string_term_tdb_data()Stefan Metzmacher2007-10-101-4/+3
| | | | metze
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-26/+143
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-4/+4
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r4019: better error logging in register_message_flags() from RobGerald Carter2007-10-101-2/+3
|
* r1885: tighten the cache consistency with the ntprinters.tdb entry an the in ↵Gerald Carter2007-10-101-1/+0
| | | | memory cache associated with open printer handles; also make sure that register_messages_flags() doesn't overwrite the originally registers flags
* r1011: fix bad merge (from a few months ago) and ensure that we always use ↵Gerald Carter2007-10-101-4/+4
| | | | tdb_open_log() instead of tdb_open_ex()
* merge from old APP_HEADGerald Carter2004-02-121-4/+4
| | | | | | | | | | * remove corrupt tdb and shutdown (only for printing tdbs, connections, sessionid & locking) * decrement smbd counter in connections.tdb in smb_panic() * various Makefile hack to get things to link 'max smbd processes' looks like it might be broken. The counter KEY is not being set. Will look into that tomorrow.
* Got us happy running under valgrind again :-).Jeremy Allison2003-05-311-0/+1
| | | | Jeremy.
* Fixes to stop valgrind complaining about uninitialised memory when it'sJeremy Allison2003-05-311-0/+7
| | | | | | copying clobbered buffer areas and doing hashes on them and sending them onto the wire. Jeremy.
* Whitespace syncup.Tim Potter2003-04-141-1/+1
|
* (merge from HEAD)Andrew Bartlett2003-03-221-3/+3
| | | | | | | | | | | | | | | Small clenaup patches: - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. - connection.c - use safe_strcpy() Andrew Bartlett
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-3/+3
| | | | | | warnings. (Adds a lot of const). Andrew Bartlett
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-21/+63
|
* Sync 3.0 branch with headJelmer Vernooij2002-08-171-2/+6
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Removed MAXSTATUS which was set incorrectly - thus causing tdb traversalJeremy Allison2002-01-141-1/+1
| | | | | | of the connections db on smbd startup. This should fix the Solaris large load bug.... (fingers crossed). Jeremy.
* Fix for connectinos.tdb error message from "Richard Bollinger" ↵Jeremy Allison2001-10-161-2/+3
| | | | | | <rabollinger@home.com> Jeremy.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-3/+0
|
* Removed unneeded variable, added comment on deadlock prevention.Jeremy Allison2001-09-191-9/+9
| | | | Jeremy.
* removed anti-race code that could cause a classic ABBA deadlockAndrew Tridgell2001-09-191-21/+1
| | | | | I'd rather get the connection count wrong with a small probability than deadlock
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-061-1/+1
|
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-1/+1
| | | | Jeremy.
* Tidied up calling yield_connection on connection allocation fail.Jeremy Allison2001-07-171-1/+2
| | | | | Restore debug message to level zero. Jeremy.
* Connection record not existing is not a debug level 0.Jeremy Allison2001-07-171-1/+1
| | | | Jeremy.
* The big character set handling changeover!Andrew Tridgell2001-07-041-2/+0
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Log tdb failures.Jeremy Allison2001-06-081-2/+6
| | | | Jeremy.
* use the new tdb_open_log() fn on connections databaseAndrew Tridgell2001-05-301-1/+1
|
* Added tdb_errstr() messages so we can see if these functions fail.Jeremy Allison2001-05-231-3/+10
| | | | Jeremy.
* 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.