diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-01-10 17:28:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:39 -0500 |
commit | fd4831f1f088e1c00c2a037e200440e309014afd (patch) | |
tree | 4e07b53e2f71929db2eab58405e2277f81310bb7 /source4/dsdb/samdb | |
parent | 860a3fb21622bfad2fb8fe54097c62999b8855bc (diff) | |
download | samba-fd4831f1f088e1c00c2a037e200440e309014afd.tar.gz samba-fd4831f1f088e1c00c2a037e200440e309014afd.tar.xz samba-fd4831f1f088e1c00c2a037e200440e309014afd.zip |
r4650: - make more use of bitmap and enum's
- move some structs out of misc.idl
metze
(This used to be commit b6543a6e3057b5588ec50a2ebf6c7c932209efe6)
Diffstat (limited to 'source4/dsdb/samdb')
-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 9dbf1f98822..52ffb0a3d1f 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; } |