From 367c7e4ec1a0f399f10fbcd097cfbd107994104a Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 23 Nov 1998 22:04:23 +0000 Subject: 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) --- source3/passdb/smbpassgroup.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'source3') 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); -- cgit