Michael Adam
6fb5c47f21
s3:torture: convert torture.c to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
311ed56afe
s3:locking: convert posix.c to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
f0ab22e6ec
s3:locking: convert locking.c to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
5cbc505e6d
s3:locking: convert brlock to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:58 +02:00
Michael Adam
e2328ac33c
s3:messages: convert to use only dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
82428adee6
s3:groupdb: convert mapping_tdb.c to use dbwrap wrapper functions only
2011-10-11 14:17:57 +02:00
Michael Adam
33405972b2
s3:rpc_server: convert srvsvc to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
506349832c
s3:smbd: convert notify db to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
ec057c369f
s3:smbd: convert session.c to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
43a13b55fc
s3:smbd: convert connections.c to use only dbrwap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
608ac61729
s3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
4bfda2d3fe
s3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
4cb75bdbb1
s3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
ceb9f572ab
s3:vfs: change the xattr_tdb module to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
c7c1a3e276
s3:printing: convert printer_list to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
3f214284c7
s3:secrets: convert to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
8b4845bd75
s3:passdb: convert account_pol to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
8b4dd99dae
s3:passdb: convert machine_sid to use dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
a91f06a722
s3:passdb: convert pdb_tdb to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs
2011-10-11 14:17:57 +02:00
Michael Adam
7458aac0f1
s3:net: convert net idmap check to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
1f57f9ed13
s3:net: convert net idmap to use only dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
3d52de343a
s3:idmap: convert idmap_tdb to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
f1057ac3dd
s3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
79a4911d75
s3:privileges: convert privileges.c to use dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
736af26062
s3:g_lock: convert to use only dbwrap wrapper functions.
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
7057b4d1ac
s3:registry: convert reg_backend_db to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs
2011-10-11 14:17:57 +02:00
Michael Adam
ff7918770d
s3:talloc_dict: change to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:57 +02:00
Michael Adam
248cb2310c
s3:sharesec: convert sharesec.c to use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs
2011-10-11 14:17:56 +02:00
Michael Adam
bbe7811019
s3:sessionid: convert to using dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:56 +02:00
Michael Adam
bdee9458f6
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.
2011-10-11 14:17:56 +02:00
Michael Adam
6656de1346
s3:sessionid: use dbwrap_travers() in sessionid_traverse()
...
This also changes sessionid_traverse to NTSTATUS return type.
2011-10-11 14:17:56 +02:00
Michael Adam
c8924ecc41
s3:net: convert net serverid to only use dbwrap wrapper functions
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:56 +02:00
Michael Adam
85ae3c3fd4
s3:serverid: convert to using dbwrap wrapper functions only
...
Avoid direct use of the db_record and db_context structs.
2011-10-11 14:17:56 +02:00
Michael Adam
5bfdd73a64
s3:net: fix the exit code of net serverid wipe
2011-10-11 14:17:56 +02:00
Michael Adam
86455646e3
s3:net: fix the exit code of net serverid list
2011-10-11 14:17:56 +02:00
Michael Adam
91e77f3640
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.
2011-10-11 14:17:56 +02:00
Michael Adam
81258c01b8
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.
2011-10-11 14:17:56 +02:00
Michael Adam
0b7108b342
s3:dbwrap_torture: convert to using wrapper functions only
2011-10-11 14:17:56 +02:00
Michael Adam
64748e8eec
s3:dbwrap_tool: convert to using wrapper functions only
2011-10-11 14:17:56 +02:00
Michael Adam
f21a66f70b
s3:dbwrap: convert dbwrap_util.c to use dbwrap wrapper functions
2011-10-11 14:17:56 +02:00
Michael Adam
e39cd86381
s3:dbwrap: use dbwrap_fetch_bystring() in dbwrap_fetch_[u]int32()
2011-10-11 14:17:56 +02:00
Michael Adam
0e28448a78
s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and dbwrap_fetch_bystring_upper() to NTSTATUS
2011-10-11 14:17:56 +02:00
Michael Adam
25a9978c2c
s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_locked
2011-10-11 14:17:56 +02:00
Michael Adam
46370441b7
s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_rec
2011-10-11 14:17:56 +02:00
Michael Adam
b257e83d89
s3:dbwrap: add dbwrap_record_store(), a wrapper for record->store
2011-10-11 14:17:56 +02:00
Michael Adam
bfed62c169
s3:dbwrap: add get-functions for db_record key, value and private_data
2011-10-11 14:17:56 +02:00
Michael Adam
3ed2fb4a87
s3:dbwrap: add wrapper function dbwrap_get_seqnum()
2011-10-11 14:17:56 +02:00
Michael Adam
373b0606a3
s3:dbwrap: add wrappers for transactions start/cancel/commit
2011-10-11 14:17:56 +02:00
Michael Adam
d8ce5bc656
s3:dbwrap: add wrapper dbwrap_get_flags()
2011-10-11 14:17:56 +02:00
Gregor Beck
7b9bf28514
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>
2011-10-11 14:17:56 +02:00