diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-05-03 14:38:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:29 -0500 |
commit | 35a05d1dc0c551656d9caeea87a9925182d717bc (patch) | |
tree | 24a0829aff6680175788ff6f87a3a5672bb6fc8f /source4/torture | |
parent | eb3b5f28d4686802070a770ef29bb71dd4d82d54 (diff) | |
download | samba-35a05d1dc0c551656d9caeea87a9925182d717bc.tar.gz samba-35a05d1dc0c551656d9caeea87a9925182d717bc.tar.bz2 samba-35a05d1dc0c551656d9caeea87a9925182d717bc.zip |
r6603: More work on the samdump puzzle. This implements a function pointer
callback interface, so we can start dumping into more than just stdout
soon.
Also use the enums instead of uint32 where possible and valid.
Andrew Bartlett
(This used to be commit f0c67a4a24dbd7fc32fc864d61a21eeee587178e)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index 6b8b28c060..4690b18ead 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -1069,7 +1069,7 @@ static BOOL test_DatabaseSync(struct samsync_state *samsync_state, NTSTATUS status; TALLOC_CTX *loop_ctx, *delta_ctx, *trustdom_ctx; struct netr_DatabaseSync r; - const uint32_t database_ids[] = {SAM_DATABASE_DOMAIN, SAM_DATABASE_BUILTIN, SAM_DATABASE_PRIVS}; + const enum netr_SamDatabaseID database_ids[] = {SAM_DATABASE_DOMAIN, SAM_DATABASE_BUILTIN, SAM_DATABASE_PRIVS}; int i, d; BOOL ret = True; struct samsync_trusted_domain *t; |