From 735e64cff9e5312d1f0f4d536c4d41f67d9c4e4c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 25 May 2004 14:21:09 +0000 Subject: r879: fixed a typo in the password fetch wrapper (This used to be commit c75b763f41cb6d9dde9497c4b7443fe89ab5d256) --- source4/rpc_server/samr/samdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/rpc_server/samr/samdb.c b/source4/rpc_server/samr/samdb.c index 1d5b90a22d..36aa8be4d4 100644 --- a/source4/rpc_server/samr/samdb.c +++ b/source4/rpc_server/samr/samdb.c @@ -524,7 +524,7 @@ NTSTATUS samdb_result_passwords(TALLOC_CTX *mem_ctx, struct ldb_message *msg, int num_nt; num_nt = samdb_result_hashes(mem_ctx, msg, "ntPwdHash", &ntPwdHash); if (num_nt == 0) { - nt_pwd = NULL; + *nt_pwd = NULL; } else if (num_nt > 1) { return NT_STATUS_INTERNAL_DB_CORRUPTION; } else { -- cgit