Index: smbd/map_username.c =================================================================== --- smbd/map_username.c (revision 13764) +++ smbd/map_username.c (working copy) @@ -142,10 +142,12 @@ } } + /* 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,'*') ||