Changeset 228 for branches/samba-3.2.x/source/winbindd/winbindd_passdb.c
- Timestamp:
- May 26, 2009, 9:44:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/winbindd/winbindd_passdb.c
r149 r228 268 268 269 269 if ( !pdb_getsampwsid( user, user_sid ) ) { 270 TALLOC_FREE( user ); 270 271 return NT_STATUS_NO_SUCH_USER; 271 272 } … … 639 640 continue; 640 641 } 641 if (!((*names)[ i] = talloc_strdup((*names),642 if (!((*names)[num_mapped] = talloc_strdup((*names), 642 643 lsa_names[i].name))) { 643 644 TALLOC_FREE(tmp_ctx); … … 645 646 } 646 647 647 (*name_types)[ i] = lsa_names[i].type;648 (*name_types)[num_mapped] = lsa_names[i].type; 648 649 649 650 num_mapped += 1;
Note:
See TracChangeset
for help on using the changeset viewer.