1
0
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:
Gerald Carter
2006-08-21 20:04:01 +00:00
committed by Gerald (Jerry) Carter
parent 426d722029
commit dde552336c
7 changed files with 30 additions and 96 deletions

View File

@@ -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",