summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-03-30 11:08:31 +0200
committerAndreas Schneider <asn@samba.org>2011-03-31 17:20:25 +0200
commitd9ad60f0dc40be1e1d533f96ec0032e01035d85b (patch)
tree677491780330aec9096640a15238cf806492a38d /source3
parent620921b36bbf9ccfa91124d27b7437ffdb04f660 (diff)
downloadsamba-d9ad60f0dc40be1e1d533f96ec0032e01035d85b.tar.gz
samba-d9ad60f0dc40be1e1d533f96ec0032e01035d85b.tar.bz2
samba-d9ad60f0dc40be1e1d533f96ec0032e01035d85b.zip
s3-winbindd: Use the correct enums for samr_QueryDomainInfo.
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_msrpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_msrpc.c b/source3/winbindd/winbindd_msrpc.c
index 7ddad1e966..8986598daa 100644
--- a/source3/winbindd/winbindd_msrpc.c
+++ b/source3/winbindd/winbindd_msrpc.c
@@ -987,7 +987,7 @@ static NTSTATUS msrpc_lockout_policy(struct winbindd_domain *domain,
status = dcerpc_samr_QueryDomainInfo(b, mem_ctx,
&dom_pol,
- 12,
+ DomainLockoutInformation,
&info,
&result);
if (!NT_STATUS_IS_OK(status)) {
@@ -1037,7 +1037,7 @@ static NTSTATUS msrpc_password_policy(struct winbindd_domain *domain,
status = dcerpc_samr_QueryDomainInfo(b, mem_ctx,
&dom_pol,
- 1,
+ DomainPasswordInformation,
&info,
&result);
if (!NT_STATUS_IS_OK(status)) {