s3:dom_sid Global replace of DOM_SID with struct dom_sid
[kamenim/samba-autobuild/.git] / source3 / utils / smbcquotas.c
index a494c3f4aad1f7c5b23bfef01fe31eff8f5b56af..3f98b1250319d63dffd59ce23c0bea8ea6dc5c67 100644 (file)
@@ -79,7 +79,7 @@ static bool cli_open_policy_hnd(void)
 }
 
 /* convert a SID to a string, either numeric or username/group */
-static void SidToString(fstring str, DOM_SID *sid, bool _numeric)
+static void SidToString(fstring str, struct dom_sid *sid, bool _numeric)
 {
        char **domains = NULL;
        char **names = NULL;
@@ -108,10 +108,10 @@ static void SidToString(fstring str, DOM_SID *sid, bool _numeric)
 }
 
 /* convert a string to a SID, either numeric or username/group */
-static bool StringToSid(DOM_SID *sid, const char *str)
+static bool StringToSid(struct dom_sid *sid, const char *str)
 {
        enum lsa_SidType *types = NULL;
-       DOM_SID *sids = NULL;
+       struct dom_sid *sids = NULL;
        bool result = True;
 
        if (strncmp(str, "S-", 2) == 0) {