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:
parent
a2327fc688
commit
4f636b57c1
@ -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…
Reference in New Issue
Block a user