diff options
Diffstat (limited to 'source3/lib/sharesec.c')
-rw-r--r-- | source3/lib/sharesec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c index 4b1ec556c5..b3b000579f 100644 --- a/source3/lib/sharesec.c +++ b/source3/lib/sharesec.c @@ -290,10 +290,10 @@ bool parse_usershare_acl(TALLOC_CTX *ctx, const char *acl_str, SEC_DESC **ppsd) uint32 g_access; uint32 s_access; DOM_SID sid; - fstring sidstr; + char *sidstr; uint8 type = SEC_ACE_TYPE_ACCESS_ALLOWED; - if (!next_token(&pacl, sidstr, ":", sizeof(sidstr))) { + if (!next_token_talloc(ctx, &pacl, &sidstr, ":")) { DEBUG(0,("parse_usershare_acl: malformed usershare acl looking " "for ':' in string '%s'\n", pacl)); return False; |