diff options
-rw-r--r-- | source3/smbd/password.c | 2 |
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); |