mirror of
https://github.com/samba-team/samba.git
synced 2025-10-28 03:33:13 +03:00
r17669: Remove RID algorithm support from unmapped users and groups
when using smbpasswd
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
426d722029
commit
dde552336c
@@ -195,7 +195,7 @@ NTSTATUS map_unix_group(const struct group *grp, GROUP_MAP *pmap)
|
||||
fstrcpy(map.nt_name, grpname);
|
||||
|
||||
if (pdb_rid_algorithm()) {
|
||||
rid = pdb_gid_to_group_rid( grp->gr_gid );
|
||||
rid = algorithmic_pdb_gid_to_group_rid( grp->gr_gid );
|
||||
} else {
|
||||
if (!pdb_new_rid(&rid)) {
|
||||
DEBUG(3, ("Could not get a new RID for %s\n",
|
||||
|
||||
Reference in New Issue
Block a user