diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index babdd2056c..1d8ccd61eb 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -597,7 +597,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int * working. */ - if((lp_security() != SEC_SHARE) || *user) + if((lp_security() != SEC_SHARE) || (*user && !guest)) pstrcpy(sesssetup_user,user); reload_services(True); |