diff options
author | Günther Deschner <gd@samba.org> | 2010-08-26 17:21:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-20 14:05:07 -0700 |
commit | 102a70e809b262fca8ea09fbd4e2788511150006 (patch) | |
tree | 5df2b4daac9f93ec684947515b76fd0cb1cad2fb /source3/lib/secdesc.c | |
parent | 4dbd743e467096624961533335afccadc67af0e6 (diff) | |
download | samba-102a70e809b262fca8ea09fbd4e2788511150006.tar.gz samba-102a70e809b262fca8ea09fbd4e2788511150006.tar.bz2 samba-102a70e809b262fca8ea09fbd4e2788511150006.zip |
s3-util: use shared dom_sid_dup.
Guenther
Diffstat (limited to 'source3/lib/secdesc.c')
-rw-r--r-- | source3/lib/secdesc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/secdesc.c b/source3/lib/secdesc.c index b8bb0acf7b..11256817a5 100644 --- a/source3/lib/secdesc.c +++ b/source3/lib/secdesc.c @@ -191,10 +191,10 @@ struct security_descriptor *make_sec_desc(TALLOC_CTX *ctx, dst->sacl = NULL; dst->dacl = NULL; - if(owner_sid && ((dst->owner_sid = sid_dup_talloc(dst,owner_sid)) == NULL)) + if(owner_sid && ((dst->owner_sid = dom_sid_dup(dst,owner_sid)) == NULL)) goto error_exit; - if(grp_sid && ((dst->group_sid = sid_dup_talloc(dst,grp_sid)) == NULL)) + if(grp_sid && ((dst->group_sid = dom_sid_dup(dst,grp_sid)) == NULL)) goto error_exit; if(sacl && ((dst->sacl = dup_sec_acl(dst, sacl)) == NULL)) |