Ignore:
Timestamp:
May 12, 2014, 8:58:38 PM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: updated vendor to latest version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/nsswitch/pam_winbind.c

    r746 r860  
    11851185                                "to sid, please contact your administrator to see "
    11861186                                "if group %s is valid."), search_location, search_location);
     1187
     1188                /* If no valid groups were converted we should fail outright */
     1189                if (name_list != NULL && strlen(sid_list_buffer) == 0) {
     1190                        result = false;
     1191                        goto out;
     1192                }
    11871193                /*
    11881194                 * The lookup of the last name failed..
     
    24492455        }
    24502456
    2451         return talloc_asprintf(ctx, "%s\\%s", domain, name);
     2457        return talloc_asprintf(ctx, "%s%c%s", domain, sep, name);
    24522458}
    24532459
     
    27362742        }
    27372743
    2738         _PAM_LOG_FUNCTION_LEAVE("pam_sm_authenticate", ctx, retval);
    2739 
    2740         TALLOC_FREE(ctx);
     2744        if (ctx != NULL) {
     2745                _PAM_LOG_FUNCTION_LEAVE("pam_sm_authenticate", ctx, retval);
     2746                TALLOC_FREE(ctx);
     2747        }
    27412748
    27422749        return retval;
Note: See TracChangeset for help on using the changeset viewer.