git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0a8f43
)
r13771: BUG 3534: ignore lines in the username map file with no right hand list rathe...
author
Gerald Carter
<jerry@samba.org>
Wed, 1 Mar 2006 15:11:56 +0000
(15:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:10:53 +0000
(11:10 -0500)
source/smbd/map_username.c
patch
|
blob
|
history
diff --git
a/source/smbd/map_username.c
b/source/smbd/map_username.c
index a6025fcf47f8f24f40fed3c5acc28434d87347ab..1f523cc89f16702c39f99992283cac20f6de531f 100644
(file)
--- a/
source/smbd/map_username.c
+++ b/
source/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 Fals
e;
+ DEBUG(0,("
Bad username map entry. Unable to build user list. Ignoring.
\n"));
+
continu
e;
}
if (strchr_m(dosname,'*') ||