summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-05-06 15:29:02 +0000
committerGerald Carter <jerry@samba.org>2004-05-06 15:29:02 +0000
commit3727d84c379e28d32cfd55d56b150e4c7d1ef70a (patch)
tree14f066464536c5a1c0d0f885aeab81086fd3b98f /source/smbd
parent19fc006f8b3a058ed74ba8ff96b91dc903f331ae (diff)
downloadsamba-3727d84c379e28d32cfd55d56b150e4c7d1ef70a.tar.gz
samba-3727d84c379e28d32cfd55d56b150e4c7d1ef70a.tar.xz
samba-3727d84c379e28d32cfd55d56b150e4c7d1ef70a.zip
r519: fix bug in authorise_login() that broke security = share
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/password.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c
index 72292de4227..b2dbde151d0 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -492,6 +492,8 @@ BOOL authorise_login(int snum, fstring user, DATA_BLOB password,
if ( session_userlist )
user_list = strdup(session_userlist);
+ else
+ user_list = strdup("");
if (!user_list)
return(False);