diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-20 14:26:46 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-03-27 18:14:56 +0100 |
commit | 3b0592bc152e6391c441b42bf13d2e7ea88c54d2 (patch) | |
tree | 01660ff8ee9262b02cd7ca09af4388b417c57c54 /source3/passdb | |
parent | 5439f5f71000fa96f042b6641ad2e794aa2d9ce0 (diff) | |
download | samba-3b0592bc152e6391c441b42bf13d2e7ea88c54d2.tar.gz samba-3b0592bc152e6391c441b42bf13d2e7ea88c54d2.tar.bz2 samba-3b0592bc152e6391c441b42bf13d2e7ea88c54d2.zip |
passdb/secrets: it's enough to use traverse_read() in secrets_trusted_domains()
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 729f7b9ff30e81537a7257daeaa1728c7ae96853)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index 1e90f61558..234c2620c9 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -986,7 +986,7 @@ NTSTATUS secrets_trusted_domains(TALLOC_CTX *mem_ctx, uint32 *num_domains, return NT_STATUS_NO_MEMORY; } - db_ctx->traverse(db_ctx, list_trusted_domain, (void *)&state); + db_ctx->traverse_read(db_ctx, list_trusted_domain, (void *)&state); *num_domains = state.num_domains; *domains = state.domains; |