From cba7f8b8273e661d3c43652900d93e5a8eab4e5f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 21 May 2010 11:25:01 +1000 Subject: s3:dom_sid Global replace of DOM_SID with struct dom_sid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- source3/utils/smbcquotas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils/smbcquotas.c') diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c index a494c3f4aa..3f98b12503 100644 --- a/source3/utils/smbcquotas.c +++ b/source3/utils/smbcquotas.c @@ -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) { -- cgit