summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/map_username.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index a6025fcf47..1f523cc89f 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -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,'*') ||