summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11s3:secrets: convert to use dbwrap wrapper functions onlyMichael Adam2-7/+14
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:passdb: convert account_pol to use dbwrap wrapper functions onlyMichael Adam1-4/+4
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:passdb: convert machine_sid to use dbwrap wrapper functions onlyMichael Adam1-3/+3
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:passdb: convert pdb_tdb to use dbwrap wrapper functions.Michael Adam1-46/+61
Avoid direct use of the db_record and db_context structs
2011-10-11s3:net: convert net idmap check to use dbwrap wrapper functions.Michael Adam1-26/+55
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:net: convert net idmap to use only dbwrap wrapper functionsMichael Adam1-19/+34
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:idmap: convert idmap_tdb to use dbwrap wrapper functions.Michael Adam1-22/+34
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.Michael Adam1-32/+48
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:privileges: convert privileges.c to use dbwrap wrapper functions.Michael Adam1-8/+22
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:g_lock: convert to use only dbwrap wrapper functions.Michael Adam1-15/+30
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:registry: convert reg_backend_db to use dbwrap wrapper functionsMichael Adam1-34/+43
Avoid direct use of the db_record and db_context structs
2011-10-11s3:talloc_dict: change to only use dbwrap wrapper functionsMichael Adam1-17/+39
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:sharesec: convert sharesec.c to use dbwrap wrapper functionsMichael Adam1-18/+24
Avoid direct use of the db_record and db_context structs
2011-10-11s3:sessionid: convert to using dbwrap wrapper functions onlyMichael Adam1-9/+18
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:sessionid: use dbwrap_travers_read() in sessionid_travers_read()Michael Adam3-13/+16
This also changes the return code of sessionid_traverse_read() to NTSTATUS. It also uses traverse_read instead of traverse.
2011-10-11s3:sessionid: use dbwrap_travers() in sessionid_traverse()Michael Adam2-10/+12
This also changes sessionid_traverse to NTSTATUS return type.
2011-10-11s3:net: convert net serverid to only use dbwrap wrapper functionsMichael Adam1-3/+3
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:serverid: convert to using dbwrap wrapper functions onlyMichael Adam1-16/+24
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:net: fix the exit code of net serverid wipeMichael Adam1-1/+1
2011-10-11s3:net: fix the exit code of net serverid listMichael Adam1-1/+1
2011-10-11s3:serverid: use dbwrap_traverse_read() in serverid_traverse_read()Michael Adam1-1/+5
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.
2011-10-11s3:serverid: use dbwrap_traverse() in serverid_traverse()Michael Adam1-1/+4
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.
2011-10-11s3:dbwrap_torture: convert to using wrapper functions onlyMichael Adam1-7/+9
2011-10-11s3:dbwrap_tool: convert to using wrapper functions onlyMichael Adam1-9/+9
2011-10-11s3:dbwrap: convert dbwrap_util.c to use dbwrap wrapper functionsMichael Adam1-33/+41
2011-10-11s3:dbwrap: use dbwrap_fetch_bystring() in dbwrap_fetch_[u]int32()Michael Adam1-2/+6
2011-10-11s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam15-67/+93
dbwrap_fetch_bystring_upper() to NTSTATUS
2011-10-11s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_lockedMichael Adam2-0/+10
2011-10-11s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_recMichael Adam2-0/+6
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 Adam3-6/+17
additional parameter