obnox/samba/samba-obnox.git
12 years agoTMP s3:smbclient: add browse command - Q: use new connection? dbwrap-wip
Michael Adam [Fri, 22 Jul 2011 13:40:42 +0000 (15:40 +0200)]
TMP s3:smbclient: add browse command - Q: use new connection?

12 years agoTMP s3:net registry: add a createkey2 subcommand
Michael Adam [Sun, 14 Aug 2011 21:45:49 +0000 (23:45 +0200)]
TMP s3:net registry: add a createkey2 subcommand

do the following in one transaction:

* create given key (opening if it exists)
* delete the key with all its subkey and values
* create the key again (resulting in an existing, empty key)

12 years agolib/tdb: log top level transaction start (not only nested)
Michael Adam [Tue, 17 May 2011 11:47:59 +0000 (13:47 +0200)]
lib/tdb: log top level transaction start (not only nested)

12 years agoSQUASH groupdb/mapping_tdb.c
Michael Adam [Thu, 25 Aug 2011 11:45:26 +0000 (13:45 +0200)]
SQUASH groupdb/mapping_tdb.c

12 years agoSQUASH pdb_tdb
Michael Adam [Thu, 25 Aug 2011 11:45:14 +0000 (13:45 +0200)]
SQUASH pdb_tdb

12 years agoSQUASH: passdb/pdb_tdb : convert dbwrap wrappers tdbsam_getsampwnam
Michael Adam [Thu, 25 Aug 2011 11:12:44 +0000 (13:12 +0200)]
SQUASH: passdb/pdb_tdb : convert dbwrap wrappers tdbsam_getsampwnam

12 years agoSQUASH: convert mapping_tdb.c to dbwrap wrappers (one_alias_membership - fix a check)
Michael Adam [Thu, 25 Aug 2011 11:11:57 +0000 (13:11 +0200)]
SQUASH: convert mapping_tdb.c to dbwrap wrappers (one_alias_membership - fix a check)

12 years agos3:torture: convert torture.c to only use dbwrap wrapper functions
Michael Adam [Thu, 25 Aug 2011 08:59:06 +0000 (10:59 +0200)]
s3:torture: convert torture.c to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.
Michael Adam [Thu, 25 Aug 2011 08:50:01 +0000 (10:50 +0200)]
s3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

12 years agos3:net: convert net serverid to only use dbwrap wrapper functions
Michael Adam [Thu, 25 Aug 2011 08:39:53 +0000 (10:39 +0200)]
s3:net: convert net serverid to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:net: convert net idmap check to use only dbwrap wrapper functions
Michael Adam [Thu, 25 Aug 2011 08:38:08 +0000 (10:38 +0200)]
s3:net: convert net idmap check to use only dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agosmbd: convert notify db to use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 23:35:16 +0000 (01:35 +0200)]
smbd: convert notify db to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:locking: convert posix.c to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 23:22:43 +0000 (01:22 +0200)]
s3:locking: convert posix.c to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:locking: convert brlock to only use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 23:04:48 +0000 (01:04 +0200)]
s3:locking: convert brlock to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:locking: convert locking.c to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:56:32 +0000 (00:56 +0200)]
s3:locking: convert locking.c to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:rpc_server: convert srvsvc to only use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 22:49:17 +0000 (00:49 +0200)]
s3:rpc_server: convert srvsvc to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:smbd: convert session.c to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:46:42 +0000 (00:46 +0200)]
s3:smbd: convert session.c to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:smbd: convert connections.c to use only dbrwap wrapper functions
Michael Adam [Wed, 24 Aug 2011 22:42:10 +0000 (00:42 +0200)]
s3:smbd: convert connections.c to use only dbrwap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:passdb: convert account_pol to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:38:51 +0000 (00:38 +0200)]
s3:passdb: convert account_pol to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:passdb: convert machine_sid to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:36:05 +0000 (00:36 +0200)]
s3:passdb: convert machine_sid to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:secrets: convert to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:30:15 +0000 (00:30 +0200)]
s3:secrets: convert to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:sessionid: convert to using dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:08:36 +0000 (00:08 +0200)]
s3:sessionid: convert to using dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 22:01:44 +0000 (00:01 +0200)]
s3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:g_lock: convert to use only dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 21:46:25 +0000 (23:46 +0200)]
s3:g_lock: convert to use only dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

12 years agos3:serverid: convert to using dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 20:28:40 +0000 (22:28 +0200)]
s3:serverid: convert to using dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

12 years agos3:talloc_dict: change to only use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 20:18:37 +0000 (22:18 +0200)]
s3:talloc_dict: change to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:messages: convert to use only dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 13:47:46 +0000 (15:47 +0200)]
s3:messages: convert to use only dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 13:40:09 +0000 (15:40 +0200)]
s3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

12 years agos3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functions
Michael Adam [Wed, 24 Aug 2011 13:36:31 +0000 (15:36 +0200)]
s3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:vfs: change the xattr_tdb module to use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 13:32:59 +0000 (15:32 +0200)]
s3:vfs: change the xattr_tdb module to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:net: convert net idmap check to use dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 13:27:00 +0000 (15:27 +0200)]
s3:net: convert net idmap check to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

12 years agos3:idmap: convert idmap_tdb to use dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 13:06:50 +0000 (15:06 +0200)]
s3:idmap: convert idmap_tdb to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

12 years agos3:printing: convert printer_list to use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 13:00:18 +0000 (15:00 +0200)]
s3:printing: convert printer_list to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

12 years agos3:privileges: convert privileges.c to use dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 12:56:48 +0000 (14:56 +0200)]
s3:privileges: convert privileges.c to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

12 years agoPRIVATE - s3:dbwrap: move definitions of db_record and db_contect structs to dbwrap_p...
Michael Adam [Wed, 24 Aug 2011 12:53:42 +0000 (14:53 +0200)]
PRIVATE - s3:dbwrap: move definitions of db_record and db_contect structs to dbwrap_private.h

The API and callers now only need the forward declarations.

12 years agos3:passdb: convert pdb_tdb to use dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 12:52:56 +0000 (14:52 +0200)]
s3:passdb: convert pdb_tdb to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs

12 years agos3:sharesec: convert sharesec.c to use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 12:52:08 +0000 (14:52 +0200)]
s3:sharesec: convert sharesec.c to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs

12 years agos3:registry: convert reg_backend_db to use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 11:42:34 +0000 (13:42 +0200)]
s3:registry: convert reg_backend_db to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs

12 years agos3:groupdb: convert mapping_tdb.c to use dbwrap wrapper functions only
Michael Adam [Fri, 19 Aug 2011 09:58:17 +0000 (11:58 +0200)]
s3:groupdb: convert mapping_tdb.c to use dbwrap wrapper functions only

12 years agos3:sharesec: use dbrwap_transaction_ wrappers
Michael Adam [Wed, 17 Aug 2011 21:04:21 +0000 (23:04 +0200)]
s3:sharesec: use dbrwap_transaction_ wrappers

12 years agos3:groupdb: use dbwrap_transaction_ wrappers in mapping_tdb.c
Michael Adam [Wed, 17 Aug 2011 21:01:49 +0000 (23:01 +0200)]
s3:groupdb: use dbwrap_transaction_ wrappers in mapping_tdb.c

12 years agos3:idmap_tdb: use dbwrap_get_flags()
Michael Adam [Wed, 17 Aug 2011 20:45:47 +0000 (22:45 +0200)]
s3:idmap_tdb: use dbwrap_get_flags()

12 years agos3:printing: use dbwrap_traverse() in pinter_list_traverse()
Michael Adam [Wed, 17 Aug 2011 09:49:59 +0000 (11:49 +0200)]
s3:printing: use dbwrap_traverse() in pinter_list_traverse()

12 years agos3:net: use dbwrap_traverse_read() in "net idmap dump" and handle traverse failure
Michael Adam [Wed, 17 Aug 2011 09:47:48 +0000 (11:47 +0200)]
s3:net: use dbwrap_traverse_read() in "net idmap dump" and handle traverse failure

12 years agos3:idmap_tdb: use dbwrap_traverse() in the db upgrage code
Michael Adam [Wed, 17 Aug 2011 09:45:31 +0000 (11:45 +0200)]
s3:idmap_tdb: use dbwrap_traverse() in the db upgrage code

12 years agos3:registry: use dbwrap_traverse() in the upgrade code
Michael Adam [Wed, 17 Aug 2011 09:40:50 +0000 (11:40 +0200)]
s3:registry: use dbwrap_traverse() in the upgrade code

12 years agos3:locking: use dbwrap_traverse_read() in share_mode_forall()
Michael Adam [Wed, 17 Aug 2011 09:28:12 +0000 (11:28 +0200)]
s3:locking: use dbwrap_traverse_read() in share_mode_forall()

12 years agos3:privileges: use dbwrap_traverse_read() in enumeration functions
Michael Adam [Wed, 17 Aug 2011 09:24:09 +0000 (11:24 +0200)]
s3:privileges: use dbwrap_traverse_read() in enumeration functions

and also use failure of the traverse as an error condition

12 years agos3:g_lock: use dbwrap_traverse_read() in g_lock_locks()
Michael Adam [Wed, 17 Aug 2011 09:21:31 +0000 (11:21 +0200)]
s3:g_lock: use dbwrap_traverse_read() in g_lock_locks()

12 years agos3:groupdb: use dbwrap_traverse() and dbwrap_traverse_read() in mapping_tdb.c
Michael Adam [Wed, 17 Aug 2011 09:18:49 +0000 (11:18 +0200)]
s3:groupdb: use dbwrap_traverse() and dbwrap_traverse_read() in mapping_tdb.c

12 years agos3:passdb: use dbwrap_traverse() and dbwrap_traverse_read() in pdb_tdb.c
Michael Adam [Wed, 17 Aug 2011 08:58:15 +0000 (10:58 +0200)]
s3:passdb: use dbwrap_traverse() and dbwrap_traverse_read() in pdb_tdb.c

12 years agos3:brlock: use dbwrap_traverse() in brl_forall()
Michael Adam [Wed, 17 Aug 2011 08:53:58 +0000 (10:53 +0200)]
s3:brlock: use dbwrap_traverse() in brl_forall()

12 years agos3:lib: use dbwrap_traverse in talloc_dict
Michael Adam [Wed, 17 Aug 2011 08:50:31 +0000 (10:50 +0200)]
s3:lib: use dbwrap_traverse in talloc_dict

12 years agos3:sharesec: use dbwrap_traverse() in share_info_db_init()
Michael Adam [Wed, 17 Aug 2011 08:46:22 +0000 (10:46 +0200)]
s3:sharesec: use dbwrap_traverse() in share_info_db_init()

12 years agos3:sessionid: use dbwrap_travers_read() in sessionid_travers_read()
Michael Adam [Wed, 17 Aug 2011 08:33:58 +0000 (10:33 +0200)]
s3:sessionid: use dbwrap_travers_read() in sessionid_travers_read()

This also changes the return code of sessionid_traverse_read() to NTSTATUS.
It also uses traverse_read instead of traverse.

12 years agos3:sessionid: use dbwrap_travers() in sessionid_traverse()
Michael Adam [Wed, 17 Aug 2011 08:20:46 +0000 (10:20 +0200)]
s3:sessionid: use dbwrap_travers() in sessionid_traverse()

This also changes sessionid_traverse to NTSTATUS return type.

12 years agos3:net: fix the exit code of net serverid wipe
Michael Adam [Wed, 17 Aug 2011 08:10:45 +0000 (10:10 +0200)]
s3:net: fix the exit code of net serverid wipe

12 years agos3:net: fix the exit code of net serverid list
Michael Adam [Wed, 17 Aug 2011 08:09:57 +0000 (10:09 +0200)]
s3:net: fix the exit code of net serverid list

12 years agos3:serverid: use dbwrap_traverse_read() in serverid_traverse_read()
Michael Adam [Wed, 17 Aug 2011 08:08:31 +0000 (10:08 +0200)]
s3:serverid: use dbwrap_traverse_read() in serverid_traverse_read()

This also fixes the return value: originally the int return value
of traverse_read which is a count of the records traversed or negative
upon failure, was simply casted into a bool return value.

12 years agos3:serverid: use dbwrap_traverse() in serverid_traverse()
Michael Adam [Wed, 17 Aug 2011 08:06:07 +0000 (10:06 +0200)]
s3:serverid: use dbwrap_traverse() in serverid_traverse()

This also fixes the return value: Originally, the int returned
by the traverse method, which is the count of the traverse was
casted into a bool return value.

12 years agos3:dbwrap: convert dbwrap_torture to use wrapper functions
Michael Adam [Fri, 19 Aug 2011 08:55:22 +0000 (10:55 +0200)]
s3:dbwrap: convert dbwrap_torture to use wrapper functions

12 years agos3:dbwrap: convert dbwrap_tool to use wrapper functions
Michael Adam [Fri, 19 Aug 2011 08:54:47 +0000 (10:54 +0200)]
s3:dbwrap: convert dbwrap_tool to use wrapper functions

12 years agos3:dbwrap_tool: use dbwrap_traverse and dbwrap_traverse_read
Michael Adam [Wed, 17 Aug 2011 09:42:45 +0000 (11:42 +0200)]
s3:dbwrap_tool: use dbwrap_traverse and dbwrap_traverse_read

12 years agoTMP s3:dbwrap: convert dbwrap_util.c to use dbwrap wrapper functions
Michael Adam [Tue, 23 Aug 2011 23:01:38 +0000 (01:01 +0200)]
TMP s3:dbwrap: convert dbwrap_util.c to use dbwrap wrapper functions

12 years agos3:dbwrap: use dbwrap_fetch_bystring() in dbwrap_fetch_[u]int32()
Michael Adam [Wed, 24 Aug 2011 11:15:48 +0000 (13:15 +0200)]
s3:dbwrap: use dbwrap_fetch_bystring() in dbwrap_fetch_[u]int32()

12 years agos3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and dbwrap_fetch_bystring_...
Michael Adam [Wed, 24 Aug 2011 11:08:13 +0000 (13:08 +0200)]
s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and dbwrap_fetch_bystring_upper() to NTSTATUS

12 years agos3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_locked
Michael Adam [Fri, 19 Aug 2011 08:53:29 +0000 (10:53 +0200)]
s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_locked

12 years agos3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_rec
Michael Adam [Fri, 19 Aug 2011 08:52:57 +0000 (10:52 +0200)]
s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_rec

12 years agos3:dbwrap: add dbwrap_record_store(), a wrapper for record->store
Michael Adam [Fri, 19 Aug 2011 08:51:27 +0000 (10:51 +0200)]
s3:dbwrap: add dbwrap_record_store(), a wrapper for record->store

12 years agos3:dbwrap: add get-functions for db_record key, value and private_data
Michael Adam [Fri, 19 Aug 2011 08:50:20 +0000 (10:50 +0200)]
s3:dbwrap: add get-functions for db_record key, value and private_data

12 years agos3:dbwrap: add wrapper function dbwrap_get_seqnum()
Michael Adam [Thu, 18 Aug 2011 12:09:56 +0000 (14:09 +0200)]
s3:dbwrap: add wrapper function dbwrap_get_seqnum()

12 years agos3:dbwrap: add wrappers for transactions start/cancel/commit
Michael Adam [Wed, 17 Aug 2011 20:51:12 +0000 (22:51 +0200)]
s3:dbwrap: add wrappers for transactions start/cancel/commit

12 years agos3:dbwrap: add wrapper dbwrap_get_flags()
Michael Adam [Wed, 17 Aug 2011 20:43:01 +0000 (22:43 +0200)]
s3:dbwrap: add wrapper dbwrap_get_flags()

12 years agos3:dbwrap: fix db_rbt_traverse() to return the record count on success
Gregor Beck [Wed, 17 Aug 2011 09:44:12 +0000 (11:44 +0200)]
s3:dbwrap: fix db_rbt_traverse() to return the record count on success

this makes it consistent with documented behaviour of tdb_traverse()

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_rbt
Gregor Beck [Tue, 16 Aug 2011 12:55:30 +0000 (14:55 +0200)]
s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_rbt

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_tdb
Gregor Beck [Tue, 16 Aug 2011 12:43:29 +0000 (14:43 +0200)]
s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_tdb

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add a comment
Michael Adam [Wed, 17 Aug 2011 12:42:50 +0000 (14:42 +0200)]
s3:dbwrap: add a comment

12 years agos3:dbwrap: add function dbwrap_wipe()
Gregor Beck [Tue, 16 Aug 2011 12:39:19 +0000 (14:39 +0200)]
s3:dbwrap: add function dbwrap_wipe()

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add specific dbwrap_parse_record() implementation to dbwrap_rbt
Gregor Beck [Tue, 5 Jul 2011 13:06:05 +0000 (15:06 +0200)]
s3:dbwrap: add specific dbwrap_parse_record() implementation to dbwrap_rbt

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record()
Gregor Beck [Tue, 5 Jul 2011 11:43:59 +0000 (13:43 +0200)]
s3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record()

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: allow NULL parser for dbwrap_parse_record()
Gregor Beck [Tue, 5 Jul 2011 11:42:39 +0000 (13:42 +0200)]
s3:dbwrap: allow NULL parser for dbwrap_parse_record()

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: dbwrap_parse_record() should always return -1 on "not found"
Gregor Beck [Tue, 5 Jul 2011 11:41:12 +0000 (13:41 +0200)]
s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found"

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add function dbwrap_parse_record()
Gregor Beck [Tue, 5 Jul 2011 11:10:30 +0000 (13:10 +0200)]
s3:dbwrap: add function dbwrap_parse_record()

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_rbt
Gregor Beck [Mon, 4 Jul 2011 08:22:46 +0000 (10:22 +0200)]
s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_rbt

12 years agos3:dbwrap: factor out db_rpt_search_internal()
Gregor Beck [Mon, 4 Jul 2011 07:54:31 +0000 (09:54 +0200)]
s3:dbwrap: factor out db_rpt_search_internal()

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_tdb
Gregor Beck [Mon, 4 Jul 2011 08:27:17 +0000 (10:27 +0200)]
s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_tdb

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add function dbwrap_exists()
Gregor Beck [Mon, 4 Jul 2011 08:15:44 +0000 (10:15 +0200)]
s3:dbwrap: add function dbwrap_exists()

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:dbwrap: add a wrapper dbwrap_traverse_read()
Michael Adam [Wed, 17 Aug 2011 07:59:25 +0000 (09:59 +0200)]
s3:dbwrap: add a wrapper dbwrap_traverse_read()

12 years agos3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an additional...
Michael Adam [Wed, 17 Aug 2011 07:51:12 +0000 (09:51 +0200)]
s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an additional parameter

12 years agos3:dbwrap: reorganize dbwrap.h some
Michael Adam [Wed, 17 Aug 2011 06:45:09 +0000 (08:45 +0200)]
s3:dbwrap: reorganize dbwrap.h some

12 years agos3:dbwrap: move dbwrap_traverse() to dbwrap.c, the core of the dbrwap subsystem
Michael Adam [Wed, 17 Aug 2011 06:40:53 +0000 (08:40 +0200)]
s3:dbwrap: move dbwrap_traverse() to dbwrap.c, the core of the dbrwap subsystem

12 years agos3:dbwrap: move dbwrap_store() back to dbwrap.c, the core of the dbwrap subsystem
Michael Adam [Wed, 17 Aug 2011 06:38:39 +0000 (08:38 +0200)]
s3:dbwrap: move dbwrap_store() back to dbwrap.c, the core of the dbwrap subsystem

12 years agos3:dbwrap: move dbwrap_delete() back to dbwrap.c, the core of the dbwrap subsystem
Michael Adam [Wed, 17 Aug 2011 06:36:52 +0000 (08:36 +0200)]
s3:dbwrap: move dbwrap_delete() back to dbwrap.c, the core of the dbwrap subsystem

12 years agos3:dbwrap: move dbwrap_fetch() back to dbwrap.c, the core of the dbwrap subsystem
Michael Adam [Wed, 17 Aug 2011 06:35:21 +0000 (08:35 +0200)]
s3:dbwrap: move dbwrap_fetch() back to dbwrap.c, the core of the dbwrap subsystem

12 years agos3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.h
Michael Adam [Tue, 16 Aug 2011 14:20:14 +0000 (16:20 +0200)]
s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.h

12 years agos3:dbwrap: move the db_open_file() prototype to a new header dbwrap_file.h
Michael Adam [Tue, 16 Aug 2011 14:02:19 +0000 (16:02 +0200)]
s3:dbwrap: move the db_open_file() prototype to a new header dbwrap_file.h

12 years agos3:dbwrap: move the db_open_tdb() prototype to a new header dbwrap_tdb.h
Michael Adam [Tue, 16 Aug 2011 13:58:27 +0000 (15:58 +0200)]
s3:dbwrap: move the db_open_tdb() prototype to a new header dbwrap_tdb.h

12 years agos3:dbwrap: move the db_open_ctdb() prototype to a new header dbwrap_ctdb.h
Michael Adam [Tue, 16 Aug 2011 13:51:58 +0000 (15:51 +0200)]
s3:dbwrap: move the db_open_ctdb() prototype to a new header dbwrap_ctdb.h

12 years agos3:registry: fix a debug message typo
Michael Adam [Thu, 1 Sep 2011 22:36:21 +0000 (00:36 +0200)]
s3:registry: fix a debug message typo

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Sep  2 11:47:11 CEST 2011 on sn-devel-104

12 years agos3:registry: introduce a define REGDB_CODE_VERSION and use it in regdb code.
Michael Adam [Thu, 1 Sep 2011 22:34:12 +0000 (00:34 +0200)]
s3:registry: introduce a define REGDB_CODE_VERSION and use it in regdb code.

This is to not use the precise code version REGDB_VERSION_V3 explicitly
in the code.