Changeset 860 for vendor/current/nsswitch/pam_winbind.c
- Timestamp:
- May 12, 2014, 8:58:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/nsswitch/pam_winbind.c
r746 r860 1185 1185 "to sid, please contact your administrator to see " 1186 1186 "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 } 1187 1193 /* 1188 1194 * The lookup of the last name failed.. … … 2449 2455 } 2450 2456 2451 return talloc_asprintf(ctx, "%s \\%s", domain, name);2457 return talloc_asprintf(ctx, "%s%c%s", domain, sep, name); 2452 2458 } 2453 2459 … … 2736 2742 } 2737 2743 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 } 2741 2748 2742 2749 return retval;
Note:
See TracChangeset
for help on using the changeset viewer.