summaryrefslogtreecommitdiff
path: root/source3/utils/netlookup.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-15 01:12:13 +0200
committerGünther Deschner <gd@samba.org>2009-04-21 12:40:47 +0200
commitb5bec1a6d73f5939b306e157937d027a7286163c (patch)
treed3671346d1a76065d7cf0592d4da03962e139965 /source3/utils/netlookup.c
parent1df5ca6afab3aeac43dfe4773cba1b9ce4d488f5 (diff)
downloadsamba-b5bec1a6d73f5939b306e157937d027a7286163c.tar.gz
samba-b5bec1a6d73f5939b306e157937d027a7286163c.tar.bz2
samba-b5bec1a6d73f5939b306e157937d027a7286163c.zip
s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.
Guenther
Diffstat (limited to 'source3/utils/netlookup.c')
-rw-r--r--source3/utils/netlookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/netlookup.c b/source3/utils/netlookup.c
index dd0efa4142..af219eb93c 100644
--- a/source3/utils/netlookup.c
+++ b/source3/utils/netlookup.c
@@ -131,7 +131,7 @@ static struct con_struct *create_cs(struct net_context *c,
}
nt_status = rpccli_lsa_open_policy(cs->lsapipe, ctx, true,
- SEC_RIGHTS_MAXIMUM_ALLOWED,
+ SEC_FLAG_MAXIMUM_ALLOWED,
&cs->pol);
if (!NT_STATUS_IS_OK(nt_status)) {