summaryrefslogtreecommitdiff
path: root/source3/smbd/map_username.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/map_username.c')
-rw-r--r--source3/smbd/map_username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index dc5d48efaa..4d2a9db307 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -239,7 +239,7 @@ bool map_username(struct smbd_server_connection *sconn, fstring user)
}
if (strchr_m(dosname,'*') ||
- user_in_list(sconn, user, (const char **)dosuserlist)) {
+ user_in_list(user, (const char **)dosuserlist)) {
DEBUG(3,("Mapped user %s to %s\n",user,unixname));
mapped_user = True;