From fd4831f1f088e1c00c2a037e200440e309014afd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 10 Jan 2005 17:28:36 +0000 Subject: r4650: - make more use of bitmap and enum's - move some structs out of misc.idl metze (This used to be commit b6543a6e3057b5588ec50a2ebf6c7c932209efe6) --- source4/dsdb/samdb/samdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb') 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; } -- cgit