summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-23 22:04:23 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-23 22:04:23 +0000
commit367c7e4ec1a0f399f10fbcd097cfbd107994104a (patch)
tree5bcc3e169dc1056285ca6b4e4ab7973670c9ce1e
parenta5cbb4ab27c0167730de45993a77f7fa2727bdb6 (diff)
downloadsamba-367c7e4ec1a0f399f10fbcd097cfbd107994104a.tar.gz
samba-367c7e4ec1a0f399f10fbcd097cfbd107994104a.tar.bz2
samba-367c7e4ec1a0f399f10fbcd097cfbd107994104a.zip
someone had added code to convert rids to rids, assuming that the rids
in the file were gids: they are not. (This used to be commit 8af860394fa3251a26285c8c96c9e4093346f20b)
-rw-r--r--source3/passdb/smbpassgroup.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source3/passdb/smbpassgroup.c b/source3/passdb/smbpassgroup.c
index 8e92f0e831..3723f9cf57 100644
--- a/source3/passdb/smbpassgroup.c
+++ b/source3/passdb/smbpassgroup.c
@@ -96,7 +96,7 @@ static struct smb_passwd *getsmbfilegrpent(void *vp,
/*
* The line we have should be of the form :-
*
- * username:uid:aliassid1,aliassid2..:domainrid1,domainrid2..:
+ * username:uid:aliasrid1,aliasrid2..:domainrid1,domainrid2..:
*/
/*
@@ -131,10 +131,6 @@ static struct smb_passwd *getsmbfilegrpent(void *vp,
DEBUG(0,("getsmbfilegrpent: invalid line\n"));
return NULL;
}
- for (i = 0; i < (*num_alss); i++)
- {
- (*als_rids)[i] = pwdb_gid_to_alias_rid((*als_rids)[i]);
- }
}
/*
@@ -153,10 +149,6 @@ static struct smb_passwd *getsmbfilegrpent(void *vp,
DEBUG(0,("getsmbfilegrpent: invalid line\n"));
return NULL;
}
- for (i = 0; i < (*num_grps); i++)
- {
- (*grp_rids)[i] = pwdb_gid_to_group_rid((*grp_rids)[i]);
- }
}
pwfile = Get_Pwnam(pw_buf.smb_name, False);