summaryrefslogtreecommitdiff
path: root/testsuite/printing/psec.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-21 11:25:01 +1000
committerGünther Deschner <gd@samba.org>2010-05-21 10:39:59 +0200
commitcba7f8b8273e661d3c43652900d93e5a8eab4e5f (patch)
tree714e00240ddc0c7e689240d2c8fb7d9196b1fff2 /testsuite/printing/psec.c
parenta92b653af964364ee438c6ee69a87eb7603ceab0 (diff)
downloadsamba-cba7f8b8273e661d3c43652900d93e5a8eab4e5f.tar.gz
samba-cba7f8b8273e661d3c43652900d93e5a8eab4e5f.tar.bz2
samba-cba7f8b8273e661d3c43652900d93e5a8eab4e5f.zip
s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'testsuite/printing/psec.c')
-rw-r--r--testsuite/printing/psec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/printing/psec.c b/testsuite/printing/psec.c
index 051837cec9..2438614996 100644
--- a/testsuite/printing/psec.c
+++ b/testsuite/printing/psec.c
@@ -146,7 +146,7 @@ char *ace_to_str(SEC_ACE *ace)
void str_to_ace(SEC_ACE *ace, char *ace_str)
{
SEC_ACCESS sa;
- DOM_SID sid;
+ struct dom_sid sid;
uint32 mask;
uint8 type, flags;
@@ -256,7 +256,7 @@ int psec_getsec(char *printer)
int psec_setsec(char *printer)
{
- DOM_SID user_sid, group_sid;
+ struct dom_sid user_sid, group_sid;
SEC_ACE *ace_list = NULL;
SEC_ACL *dacl = NULL;
SEC_DESC *sd;
@@ -304,7 +304,7 @@ int psec_setsec(char *printer)
int ace_type, ace_flags;
uint32 ace_mask;
fstring sidstr;
- DOM_SID sid;
+ struct dom_sid sid;
SEC_ACCESS sa;
if (sscanf(line, "%d %d 0x%x %s", &ace_type, &ace_flags,