From ad770b098c5079accc9d64c28855daca3c2bbfa1 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 6 May 2004 15:29:02 +0000 Subject: r519: fix bug in authorise_login() that broke security = share (This used to be commit b27192d8e7a4a1fd0cd737b4fd9190bcecfbb507) --- source3/smbd/password.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/smbd/password.c') 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); -- cgit