diff options
Diffstat (limited to 'source3/smbd/groupname.c')
-rw-r--r-- | source3/smbd/groupname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/groupname.c b/source3/smbd/groupname.c index 29236e2ca5..4afa9ece88 100644 --- a/source3/smbd/groupname.c +++ b/source3/smbd/groupname.c @@ -23,7 +23,7 @@ #include "includes.h" extern int DEBUGLEVEL; -extern DOM_SID global_machine_sid; +extern DOM_SID global_sam_sid; /************************************************************************** @@ -164,7 +164,7 @@ Error was %s.\n", unixname, strerror(errno) )); * It's not a well known name, convert the UNIX gid_t * to a rid within this domain SID. */ - tmp_sid = global_machine_sid; + tmp_sid = global_sam_sid; tmp_sid.sub_auths[tmp_sid.num_auths++] = pdb_gid_to_group_rid((gid_t)gptr->gr_gid); } @@ -233,7 +233,7 @@ void map_gid_to_sid( gid_t gid, DOM_SID *psid) * If there's no map, convert the UNIX gid_t * to a rid within this domain SID. */ - *psid = global_machine_sid; + *psid = global_sam_sid; psid->sub_auths[psid->num_auths++] = pdb_gid_to_group_rid(gid); return; |