svn commit: samba r2178 - in
branches/SAMBA_3_0_RELEASE/source/nsswitch: .
jerry at samba.org
jerry at samba.org
Wed Sep 1 21:29:09 GMT 2004
Author: jerry
Date: 2004-09-01 21:29:08 +0000 (Wed, 01 Sep 2004)
New Revision: 2178
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0_RELEASE/source/nsswitch&rev=2178&nolog=1
Log:
use the correct counter when copying group rids from the user_info3 struct; patch from Dimitri van der Spek <dwspek at aboveit.nl>
Modified:
branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_pam.c
Changeset:
Modified: branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_pam.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_pam.c 2004-09-01 21:28:42 UTC (rev 2177)
+++ branches/SAMBA_3_0_RELEASE/source/nsswitch/winbindd_pam.c 2004-09-01 21:29:08 UTC (rev 2178)
@@ -108,9 +108,9 @@
sid_copy(&all_sids[j], &(info3->dom_sid.sid));
- if (!sid_append_rid(&all_sids[j], info3->gids[j].g_rid)) {
+ if (!sid_append_rid(&all_sids[j], info3->gids[i].g_rid)) {
DEBUG(3,("could not append additional group rid 0x%x\n",
- info3->gids[j].g_rid));
+ info3->gids[i].g_rid));
return NT_STATUS_INVALID_PARAMETER;
}
@@ -125,7 +125,7 @@
for (i = 0; i < info3->num_other_sids; i++) {
sid_copy(&all_sids[info3->num_groups2 + i + 2],
- &info3->other_sids[j].sid);
+ &info3->other_sids[i].sid);
j++;
}
More information about the samba-cvs
mailing list