diff options
Diffstat (limited to 'source3/utils/smbcquotas.c')
-rw-r--r-- | source3/utils/smbcquotas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c index 6353272d82..63ea269cb5 100644 --- a/source3/utils/smbcquotas.c +++ b/source3/utils/smbcquotas.c @@ -117,8 +117,8 @@ static bool StringToSid(struct dom_sid *sid, const char *str) struct dom_sid *sids = NULL; bool result = True; - if (strncmp(str, "S-", 2) == 0) { - return string_to_sid(sid, str); + if (string_to_sid(sid, str)) { + return true; } if (!cli_open_policy_hnd() || |