s3: safe_string: do not include string_wrappers.h
[bbaumbach/samba-autobuild/.git] / testsuite / smbd / se_access_check_utils.c
index fbd2dab46554438d1975ce72861d33a417002ee2..bd20a7b2e0f305cea5a18050c564a1f6ad12f143 100644 (file)
@@ -20,8 +20,9 @@
 
 #include "includes.h"
 #include "se_access_check_utils.h"
+#include "lib/util/string_wrappers.h"
 
-void char_to_sid(DOM_SID *sid, char *sid_str)
+void char_to_sid(struct dom_sid *sid, char *sid_str)
 {
        /* If it looks like a SID, call string_to_sid() else look it up
           using wbinfo. */
@@ -65,7 +66,7 @@ SEC_ACL *build_acl(struct ace_entry *ace_list)
 
        while(ace_list->sid) {
                SEC_ACCESS sa;
-               DOM_SID sid;
+               struct dom_sid sid;
 
                /* Create memory for new ACE */
 
@@ -99,7 +100,7 @@ SEC_ACL *build_acl(struct ace_entry *ace_list)
 SEC_DESC *build_sec_desc(struct ace_entry *dacl, struct ace_entry *sacl, 
                         char *owner_sid, char *group_sid)
 {
-       DOM_SID the_owner_sid, the_group_sid;
+       struct dom_sid the_owner_sid, the_group_sid;
        SEC_ACL *the_dacl, *the_sacl;
        SEC_DESC *result;
        size_t size;