1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r13771: BUG 3534: ignore lines in the username map file with no right hand list rather than bailing out

(This used to be commit acff5163ca)
This commit is contained in:
Gerald Carter 2006-03-01 15:11:56 +00:00 committed by Gerald (Jerry) Carter
parent a2327fc688
commit 4f636b57c1

View File

@ -142,10 +142,12 @@ BOOL map_username(fstring user)
}
}
/* skip lines like 'user = ' */
dosuserlist = str_list_make(dosname, NULL);
if (!dosuserlist) {
DEBUG(0,("Unable to build user list\n"));
return False;
DEBUG(0,("Bad username map entry. Unable to build user list. Ignoring.\n"));
continue;
}
if (strchr_m(dosname,'*') ||