someone had added code to convert rids to rids, assuming that the rids
authorLuke Leighton <lkcl@samba.org>
Mon, 23 Nov 1998 22:04:23 +0000 (22:04 +0000)
committerLuke Leighton <lkcl@samba.org>
Mon, 23 Nov 1998 22:04:23 +0000 (22:04 +0000)
in the file were gids: they are not.
(This used to be commit 8af860394fa3251a26285c8c96c9e4093346f20b)

source3/passdb/smbpassgroup.c

index 8e92f0e831d466e0262b4cdb59bd51a6d3a1369e..3723f9cf57f3792c04d6c87a27988bbbba50c5a2 100644 (file)
@@ -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);