summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-07-16 18:38:25 +0200
committerGünther Deschner <gd@samba.org>2009-07-17 00:13:40 +0200
commit8d68d04258d8a6e090d2eb27476532d63f741231 (patch)
treedb72068b62c10519b1f1a3ba3cf44d179e8042ce /source4/torture/rpc
parent4faef0da762fc1689ae9a3bc657fc6b5e77beb94 (diff)
downloadsamba-8d68d04258d8a6e090d2eb27476532d63f741231.tar.gz
samba-8d68d04258d8a6e090d2eb27476532d63f741231.tar.bz2
samba-8d68d04258d8a6e090d2eb27476532d63f741231.zip
s4-smbtorture: use secinfo flags instead of numbers in lsa test.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/lsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index 7963092cb9..fd7872a968 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -1529,7 +1529,9 @@ static bool test_QuerySecurity(struct dcerpc_pipe *p,
torture_comment(tctx, "\nTesting QuerySecurity\n");
r.in.handle = acct_handle;
- r.in.sec_info = 7;
+ r.in.sec_info = SECINFO_OWNER |
+ SECINFO_GROUP |
+ SECINFO_DACL;
r.out.sdbuf = &sdbuf;
status = dcerpc_lsa_QuerySecurity(p, tctx, &r);