summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11s3:dbwrap: add dbwrap_record_store(), a wrapper for record->storeMichael Adam2-0/+6
2011-10-11s3:dbwrap: add get-functions for db_record key, value and private_dataMichael Adam2-0/+19
2011-10-11s3:dbwrap: add wrapper function dbwrap_get_seqnum()Michael Adam2-0/+6
2011-10-11s3:dbwrap: add wrappers for transactions start/cancel/commitMichael Adam2-0/+18
2011-10-11s3:dbwrap: add wrapper dbwrap_get_flags()Michael Adam2-0/+6
2011-10-11s3:dbwrap: fix db_rbt_traverse() to return the record count on successGregor Beck1-5/+14
this makes it consistent with documented behaviour of tdb_traverse() Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_rbtGregor Beck1-0/+14
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_tdbGregor Beck1-0/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add a commentMichael Adam1-0/+4
2011-10-11s3:dbwrap: add function dbwrap_wipe()Gregor Beck4-0/+29
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add specific dbwrap_parse_record() implementation to dbwrap_rbtGregor Beck1-0/+15
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record()Gregor Beck1-10/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: allow NULL parser for dbwrap_parse_record()Gregor Beck1-0/+9
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found"Gregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add function dbwrap_parse_record()Gregor Beck2-0/+16
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_rbtGregor Beck1-0/+6
2011-10-11s3:dbwrap: factor out db_rpt_search_internal()Gregor Beck1-46/+43
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_tdbGregor Beck1-0/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add function dbwrap_exists()Gregor Beck2-0/+31
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3:dbwrap: add a wrapper dbwrap_traverse_read()Michael Adam2-0/+22
2011-10-11s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an ↵Michael Adam2-3/+14
additional parameter
2011-10-11s3:dbwrap: reorganize dbwrap.h someMichael Adam1-5/+8
2011-10-11s3:dbwrap: move dbwrap_traverse() to dbwrap.c, the core of the dbrwap subsystemMichael Adam2-9/+8
2011-10-11s3:dbwrap: move dbwrap_store() back to dbwrap.c, the core of the dbwrap ↵Michael Adam2-16/+16
subsystem
2011-10-11s3:dbwrap: move dbwrap_delete() back to dbwrap.c, the core of the dbwrap ↵Michael Adam2-15/+14
subsystem
2011-10-11s3:dbwrap: move dbwrap_fetch() back to dbwrap.c, the core of the dbwrap ↵Michael Adam2-12/+14
subsystem
2011-10-11s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam4-2/+31
2011-10-11s3:dbwrap: move the db_open_file() prototype to a new header dbwrap_file.hMichael Adam3-8/+37
2011-10-11s3:dbwrap: move the db_open_tdb() prototype to a new header dbwrap_tdb.hMichael Adam4-5/+35
2011-10-11s3:dbwrap: move the db_open_ctdb() prototype to a new header dbwrap_ctdb.hMichael Adam4-7/+38
2011-10-08s3:lib/netapi: avoid '//' commentsStefan Metzmacher2-3/+3
The compiler on openindiana doesn't like them. metze
2011-10-07ldb: use ldb directly rather than via a copyAndrew Bartlett2-726/+0
This avoids needing to manually sync the two files, which due to the top level build must be API compatible at all times anyway. The most important recent change was: commit e3b76bd6205acfc1a89fbcab5d9588b32cb47b88 Author: Andrew Tridgell <tridge@samba.org> Date: Thu Jul 28 15:51:31 2011 +1000 ldb: fixed a search expression parse bug However, as we always control the search expression in the callers to this code, no backport to other releases is required. Andrew Bartlett
2011-10-06s3:lib: remove unused/empty modules.cStefan Metzmacher1-22/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 6 15:23:45 CEST 2011 on sn-devel-104
2011-10-06s3: Use the uid_wrapperVolker Lendecke2-0/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06lib/util: consolidate module loading into common codeAndrew Bartlett2-120/+9
This creates a samba-modules private libary that handles the details. Andrew Bartlett
2011-10-06s3-module allow libreplace to provide dlopen replacementAndrew Bartlett1-24/+0
Given that we have replacement dlopen() etc, use this from libreplace. The dlerror() from libreplace gives a good error if the platform really does not have dlopen(). Andrew Bartlett
2011-10-04s3:lib/util: make sure panic action can attach a debugger on ubuntu (>=10.10)Stefan Metzmacher1-0/+11
By default user processes can't attach a debugger to a process. So explicitly allow that for all child processes, before calling the panic action script. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 4 12:51:35 CEST 2011 on sn-devel-104
2011-09-30s3: Fix a C++ warningVolker Lendecke1-1/+2
2011-09-30s3: Fix a C++ warningVolker Lendecke1-1/+2
2011-09-28s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam1-2/+1
record in traverse It did not compare the last charcter (usually '\0') Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Sep 28 16:54:59 CEST 2011 on sn-devel-104
2011-09-28s3-messaging Do not ever send a kill to -1Andrew Bartlett1-0/+3
This from a report by Olaf Flebbe <o.flebbe@science-computing.de> Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 28 00:23:44 CEST 2011 on sn-devel-104
2011-09-27s3-messaging Ensure that the message is of the correct legnthAndrew Bartlett1-1/+1
By using ndr_pull_struct_blob_all we are more robust against wrongly formatted messages. Andrew Bartlett
2011-09-23build: Fix waf build on MacOS XAndrew Bartlett1-1/+2
The -framework CoreFoundation is required by the charset_macosxfs module The system/time.h header is required to access the replacement clock_gettime() Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 23 10:58:02 CEST 2011 on sn-devel-104
2011-09-23build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett1-1/+1
2011-09-23s3-winbindd: add support for idmap type WBC_ID_TYPE_BOTHAndrew Tridgell2-1/+58
this allows the s3 code to understand and cache responses from the s4 winbindd which may include a single SID mapped to both a uid and a gid Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Sep 23 01:47:54 CEST 2011 on sn-devel-104
2011-09-23lib/util: move some timespec helpers from source3 to the toplevelStefan Metzmacher1-146/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 23 00:15:31 CEST 2011 on sn-devel-104
2011-09-21s3-netapi: allow to use default krb5 credential cache for libnetapi users.Günther Deschner2-8/+23
Guenther
2011-09-20s3:dbwrap_ctdb: skip the internal __db_sequence_number__ key from ↵Michael Adam1-0/+26
(persistent) traverse and traverse_read This is is used internally in the persistent transactions and should not surface. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Sep 20 07:59:20 CEST 2011 on sn-devel-104
2011-09-20s3:g_lock: add a missing \n to a debug message in g_lock_initMichael Adam1-1/+1
2011-09-14util_tdb: return -1/0 from lock_with_timeout functions.Rusty Russell1-2/+2
Keeps the tdb2 API change (which returns error codes, rather than -1) localized. The function returns -1 down the other path, so make it consistent. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>