summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-26 16:35:29 +0200
committerVolker Lendecke <vl@samba.org>2011-08-26 16:36:17 +0200
commitb72944fea743ec187750239568ba904c7fad653f (patch)
tree7f60dc6aedaefe5a7c499ee54c0f676546997645 /source3/winbindd
parente8aed9472a2165306c3b9b3fe92e1581a1b5d460 (diff)
downloadsamba-b72944fea743ec187750239568ba904c7fad653f.tar.gz
samba-b72944fea743ec187750239568ba904c7fad653f.tar.bz2
samba-b72944fea743ec187750239568ba904c7fad653f.zip
s3: Fix two int/enum mixups
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c
index 582e2a6962..c03f59381e 100644
--- a/source3/winbindd/winbindd_samr.c
+++ b/source3/winbindd/winbindd_samr.c
@@ -849,7 +849,7 @@ static NTSTATUS sam_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)) {
@@ -901,7 +901,7 @@ static NTSTATUS sam_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)) {