summaryrefslogtreecommitdiff
path: root/source4/rpc_server/samr
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-25 14:21:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:15 -0500
commit735e64cff9e5312d1f0f4d536c4d41f67d9c4e4c (patch)
treea148769045e4e2b7ac40baa4b57bfefdb777dbef /source4/rpc_server/samr
parent56d0bd3062223b9dc3ba0b04cfbd81eb823ab3c0 (diff)
downloadsamba-735e64cff9e5312d1f0f4d536c4d41f67d9c4e4c.tar.gz
samba-735e64cff9e5312d1f0f4d536c4d41f67d9c4e4c.tar.bz2
samba-735e64cff9e5312d1f0f4d536c4d41f67d9c4e4c.zip
r879: fixed a typo in the password fetch wrapper
(This used to be commit c75b763f41cb6d9dde9497c4b7443fe89ab5d256)
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r--source4/rpc_server/samr/samdb.c2
1 files changed, 1 insertions, 1 deletions
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 {