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:
parent
253790f6d7
commit
7131fe3be4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user