Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Wrap the unix token info in a unix_user_token in auth_serversupplied_info | Volker Lendecke | 2008-06-19 | 1 | -2/+2 |
| | | | | No functional change, this is a preparation for more current_user ref removal | ||||
* | Remove the unix token info from connection_struct | Volker Lendecke | 2008-05-10 | 1 | -2/+2 |
| | |||||
* | Merge CTDB-related fixes from samba-ctdb 3.0 branch ↵ | Alexander Bokovoy | 2008-01-16 | 1 | -0/+9 |
| | | | | | (http://samba.org/~tridge/3_0-ctdb) Signed-off-by: Alexander Bokovoy <ab@samba.org> | ||||
* | use talloc_tos in a few more places | Volker Lendecke | 2008-01-10 | 1 | -1/+1 |
| | |||||
* | Remove most of the remaining globals out of lib/util_sock.c. | Jeremy Allison | 2007-11-03 | 1 | -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 Allison | 2007-11-03 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Stop get_peer_addr() and client_addr() from using global | Jeremy Allison | 2007-11-03 | 1 | -1/+2 |
| | | | | | statics. Part of my library cleanups. Jeremy. | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -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-test | Gerald (Jerry) Carter | 2007-10-10 | 1 | -29/+3 |
| | |||||
* | r24268: Fix two crashes for spoolss | Volker Lendecke | 2007-10-10 | 1 | -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 text | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r23221: Fix a bad merge, avoid a memory leak and tdb lock problem | Volker Lendecke | 2007-10-10 | 1 | -0/+1 |
| | |||||
* | r23171: Convert connections.tdb to dbwrap | Volker Lendecke | 2007-10-10 | 1 | -88/+75 |
| | |||||
* | r23168: Move the lp_max_connections() into service.c. | Volker Lendecke | 2007-10-10 | 1 | -18/+2 |
| | |||||
* | r23167: Remove an unused parameter | Volker Lendecke | 2007-10-10 | 1 | -1/+2 |
| | |||||
* | r22761: This introduces lib/conn_tdb.c with two main functions: ↵ | Volker Lendecke | 2007-10-10 | 1 | -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 obtaining | James Peach | 2007-10-10 | 1 | -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 than | Jeremy Allison | 2007-10-10 | 1 | -4/+4 |
| | | | | | 32 unicode chars. Windows XP doesn't like that :-). Jeremy | ||||
* | r22009: change TDB_DATA from char * to unsigned char * | Stefan Metzmacher | 2007-10-10 | 1 | -3/+3 |
| | | | | | | and fix all compiler warnings in the users metze | ||||
* | r22008: use string_term_tdb_data() | Stefan Metzmacher | 2007-10-10 | 1 | -4/+3 |
| | | | | metze | ||||
* | r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need | Jeremy Allison | 2007-10-10 | 1 | -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 over | Gerald Carter | 2007-10-10 | 1 | -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 Rob | Gerald Carter | 2007-10-10 | 1 | -2/+3 |
| | |||||
* | r1885: tighten the cache consistency with the ntprinters.tdb entry an the in ↵ | Gerald Carter | 2007-10-10 | 1 | -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 Carter | 2007-10-10 | 1 | -4/+4 |
| | | | | tdb_open_log() instead of tdb_open_ex() | ||||
* | merge from old APP_HEAD | Gerald Carter | 2004-02-12 | 1 | -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 Allison | 2003-05-31 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | Fixes to stop valgrind complaining about uninitialised memory when it's | Jeremy Allison | 2003-05-31 | 1 | -0/+7 |
| | | | | | | copying clobbered buffer areas and doing hashes on them and sending them onto the wire. Jeremy. | ||||
* | Whitespace syncup. | Tim Potter | 2003-04-14 | 1 | -1/+1 |
| | |||||
* | (merge from HEAD) | Andrew Bartlett | 2003-03-22 | 1 | -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 additional | Andrew Bartlett | 2003-01-03 | 1 | -3/+3 |
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett | ||||
* | sync'ing up for 3.0alpha20 release | Gerald Carter | 2002-09-25 | 1 | -21/+63 |
| | |||||
* | Sync 3.0 branch with head | Jelmer Vernooij | 2002-08-17 | 1 | -2/+6 |
| | |||||
* | Removed version number from file header. | Tim Potter | 2002-01-30 | 1 | -2/+1 |
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. | ||||
* | Removed MAXSTATUS which was set incorrectly - thus causing tdb traversal | Jeremy Allison | 2002-01-14 | 1 | -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 Allison | 2001-10-16 | 1 | -2/+3 |
| | | | | | | <rabollinger@home.com> Jeremy. | ||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 1 | -3/+0 |
| | |||||
* | Removed unneeded variable, added comment on deadlock prevention. | Jeremy Allison | 2001-09-19 | 1 | -9/+9 |
| | | | | Jeremy. | ||||
* | removed anti-race code that could cause a classic ABBA deadlock | Andrew Tridgell | 2001-09-19 | 1 | -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 more | Andrew Tridgell | 2001-09-06 | 1 | -1/+1 |
| | |||||
* | Added "use mmap" for HPUX. | Jeremy Allison | 2001-07-30 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Tidied up calling yield_connection on connection allocation fail. | Jeremy Allison | 2001-07-17 | 1 | -1/+2 |
| | | | | | Restore debug message to level zero. Jeremy. | ||||
* | Connection record not existing is not a debug level 0. | Jeremy Allison | 2001-07-17 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 1 | -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 Allison | 2001-06-08 | 1 | -2/+6 |
| | | | | Jeremy. | ||||
* | use the new tdb_open_log() fn on connections database | Andrew Tridgell | 2001-05-30 | 1 | -1/+1 |
| | |||||
* | Added tdb_errstr() messages so we can see if these functions fail. | Jeremy Allison | 2001-05-23 | 1 | -3/+10 |
| | | | | Jeremy. | ||||
* | groupdb/mapping.c: Fix gcc compiler warning. | Jeremy Allison | 2001-05-17 | 1 | -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 Allison | 2001-05-15 | 1 | -0/+3 |
| | | | | | We will need this when we use finer grained locking for max connections. Jeremy. |