mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r13771: BUG 3534: ignore lines in the username map file with no right hand list rather than bailing out
This commit is contained in:
parent
f0a8f43879
commit
acff5163ca
@ -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,'*') ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user