Changeset 411 for branches/samba-3.3.x/source/nsswitch/pam_winbind.c
- Timestamp:
- Mar 1, 2010, 3:05:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/nsswitch/pam_winbind.c
r370 r411 1037 1037 const char *search_location; 1038 1038 const char *comma; 1039 int len; 1039 1040 1040 1041 if (sid_list_buffer_size > 0) { … … 1092 1093 "to sid, please contact your administrator to see " 1093 1094 "if group %s is valid."), search_location, search_location); 1095 /* 1096 * The lookup of the last name failed.. 1097 * It results in require_member_of_sid ends with ',' 1098 * It is malformated parameter here, overwrite the last ','. 1099 */ 1100 len = strlen(sid_list_buffer); 1101 if (len) { 1102 if (sid_list_buffer[len - 1] == ',') { 1103 sid_list_buffer[len - 1] = '\0'; 1104 } 1105 } 1094 1106 } 1095 1107
Note:
See TracChangeset
for help on using the changeset viewer.