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/rpc_server | |
parent | 860a3fb21622bfad2fb8fe54097c62999b8855bc (diff) | |
download | samba-fd4831f1f088e1c00c2a037e200440e309014afd.tar.gz samba-fd4831f1f088e1c00c2a037e200440e309014afd.tar.bz2 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/rpc_server')
-rw-r--r-- | source4/rpc_server/dssetup/dcesrv_dssetup.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/samr/samr_password.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/rpc_server/dssetup/dcesrv_dssetup.c b/source4/rpc_server/dssetup/dcesrv_dssetup.c index 64f67b28f9..dd6554b9f7 100644 --- a/source4/rpc_server/dssetup/dcesrv_dssetup.c +++ b/source4/rpc_server/dssetup/dcesrv_dssetup.c @@ -22,6 +22,7 @@ #include "includes.h" #include "rpc_server/dcerpc_server.h" +#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_dssetup.h" #include "rpc_server/common/common.h" diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index faf542baa2..0e009f7b02 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -648,13 +648,13 @@ NTSTATUS samdb_set_password(void *ctx, TALLOC_CTX *mem_ctx, /* the password is acceptable. Start forming the new fields */ if (lmNewHash) { - CHECK_RET(samdb_msg_add_hash(ctx, mem_ctx, mod, "lmPwdHash", *lmNewHash)); + CHECK_RET(samdb_msg_add_hash(ctx, mem_ctx, mod, "lmPwdHash", lmNewHash)); } else { CHECK_RET(samdb_msg_add_delete(ctx, mem_ctx, mod, "lmPwdHash")); } if (ntNewHash) { - CHECK_RET(samdb_msg_add_hash(ctx, mem_ctx, mod, "ntPwdHash", *ntNewHash)); + CHECK_RET(samdb_msg_add_hash(ctx, mem_ctx, mod, "ntPwdHash", ntNewHash)); } else { CHECK_RET(samdb_msg_add_delete(ctx, mem_ctx, mod, "ntPwdHash")); } |