diff options
-rw-r--r-- | source4/auth/credentials/credentials_secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/credentials/credentials_secrets.c b/source4/auth/credentials/credentials_secrets.c index 0f30dc5e1b..8c8043cad7 100644 --- a/source4/auth/credentials/credentials_secrets.c +++ b/source4/auth/credentials/credentials_secrets.c @@ -83,7 +83,7 @@ _PUBLIC_ NTSTATUS cli_credentials_set_secrets(struct cli_credentials *cred, } } - ldb_ret = dsdb_search_one(ldb, ldb, &msg, + ldb_ret = dsdb_search_one(ldb, mem_ctx, &msg, ldb_dn_new(mem_ctx, ldb, base), LDB_SCOPE_SUBTREE, NULL, 0, "%s", filter); |