summaryrefslogtreecommitdiff
path: root/source4/rpc_server/samr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-05 01:34:55 +0100
committerGünther Deschner <gd@samba.org>2008-11-10 21:46:28 +0100
commit8f1559c35032320a9a5e3f665ddfbfa41ab1a7d8 (patch)
tree2478871a7a2a56fd3674f4899df041adadd37378 /source4/rpc_server/samr
parentf42f1ae5a8e914790a9ac8fefe7cee3ec8988508 (diff)
downloadsamba-8f1559c35032320a9a5e3f665ddfbfa41ab1a7d8.tar.gz
samba-8f1559c35032320a9a5e3f665ddfbfa41ab1a7d8.tar.bz2
samba-8f1559c35032320a9a5e3f665ddfbfa41ab1a7d8.zip
s4-samr: merge samr_GetDomPwInfo from s3 idl. (fixme: python)
Guenther
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 2cd3f8896e..45998b9ebd 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -4156,7 +4156,7 @@ static NTSTATUS dcesrv_samr_GetDomPwInfo(struct dcesrv_call_state *dce_call, TAL
const char * const attrs[] = {"minPwdLength", "pwdProperties", NULL };
struct ldb_context *sam_ctx;
- ZERO_STRUCT(r->out.info);
+ ZERO_STRUCTP(r->out.info);
sam_ctx = samdb_connect(mem_ctx, dce_call->event_ctx, dce_call->conn->dce_ctx->lp_ctx, dce_call->conn->auth_state.session_info);
if (sam_ctx == NULL) {
@@ -4174,8 +4174,8 @@ static NTSTATUS dcesrv_samr_GetDomPwInfo(struct dcesrv_call_state *dce_call, TAL
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
- r->out.info.min_password_length = samdb_result_uint(msgs[0], "minPwdLength", 0);
- r->out.info.password_properties = samdb_result_uint(msgs[0], "pwdProperties", 1);
+ r->out.info->min_password_length = samdb_result_uint(msgs[0], "minPwdLength", 0);
+ r->out.info->password_properties = samdb_result_uint(msgs[0], "pwdProperties", 1);
talloc_free(msgs);