diff options
Diffstat (limited to 'source4/dsdb/samdb/samdb.c')
-rw-r--r-- | source4/dsdb/samdb/samdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c index 9dbf1f9882..52ffb0a3d1 100644 --- a/source4/dsdb/samdb/samdb.c +++ b/source4/dsdb/samdb/samdb.c @@ -837,11 +837,11 @@ int samdb_msg_add_uint64(void *ctx, TALLOC_CTX *mem_ctx, struct ldb_message *msg add a samr_Password element to a message */ int samdb_msg_add_hash(void *ctx, TALLOC_CTX *mem_ctx, struct ldb_message *msg, - const char *attr_name, struct samr_Password hash) + const char *attr_name, struct samr_Password *hash) { struct ldb_wrap *sam_ctx = ctx; struct ldb_val val; - val.data = talloc_memdup(mem_ctx, hash.hash, 16); + val.data = talloc_memdup(mem_ctx, hash->hash, 16); if (!val.data) { return -1; } |