summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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)) {