summaryrefslogtreecommitdiff
path: root/source3/smbd/map_username.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-31 10:45:24 -0400
committerAndreas Schneider <asn@samba.org>2010-05-31 18:21:29 +0200
commit94bf9ce48a0ef8b77f22f3be6244881ca1a41e49 (patch)
tree81c0c21c6b35ab8a381dfbc68e4692aee8a38a75 /source3/smbd/map_username.c
parent7747dd82f79bc503efe6a2d3139413afb8dda864 (diff)
downloadsamba-94bf9ce48a0ef8b77f22f3be6244881ca1a41e49.tar.gz
samba-94bf9ce48a0ef8b77f22f3be6244881ca1a41e49.tar.bz2
samba-94bf9ce48a0ef8b77f22f3be6244881ca1a41e49.zip
s3:smbd user_in_list() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn@samba.org>
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;