1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

anonymous logins are guest logins, so mark them as such. (Otherwise they can

browse non-guest shares).
This commit is contained in:
Andrew Bartlett 0001-01-01 00:00:00 +00:00
parent 253790f6d7
commit 7131fe3be4

View File

@ -375,7 +375,7 @@ static int reply_spnego_anonymous(connection_struct *conn, char *inbuf, char *ou
DEBUG(3,("Got anonymous request\n"));
make_server_info_guest(&server_info);
sess_vuid = register_vuid(server_info, lp_guestaccount(-1), False);
sess_vuid = register_vuid(server_info, lp_guestaccount(-1), True);
free_server_info(&server_info);
if (sess_vuid == -1) {