summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-05-06 15:29:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:27 -0500
commitad770b098c5079accc9d64c28855daca3c2bbfa1 (patch)
treed820c6122b394de3370da31e4268909655a0a50b /source3
parentc04abe0c6656e406e07011d41294eed683d8c1e6 (diff)
downloadsamba-ad770b098c5079accc9d64c28855daca3c2bbfa1.tar.gz
samba-ad770b098c5079accc9d64c28855daca3c2bbfa1.tar.bz2
samba-ad770b098c5079accc9d64c28855daca3c2bbfa1.zip
r519: fix bug in authorise_login() that broke security = share
(This used to be commit b27192d8e7a4a1fd0cd737b4fd9190bcecfbb507)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/password.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 72292de422..b2dbde151d 100644
--- a/source3/smbd/password.c
+++ b/source3/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);