Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/nsswitch/pam_winbind.c

    r370 r411  
    10371037        const char *search_location;
    10381038        const char *comma;
     1039        int len;
    10391040
    10401041        if (sid_list_buffer_size > 0) {
     
    10921093                                "to sid, please contact your administrator to see "
    10931094                                "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                }
    10941106        }
    10951107
Note: See TracChangeset for help on using the changeset viewer.