summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-11-03 00:59:57 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-11-03 00:59:57 +0000
commit0e14d9bee072e73114bf0d4ccbfb4c28cf81ef76 (patch)
treef07aea814ad1bffa1769b6d42333af20ae346e08
parentb3014b1840d6a1b5d8dc595c2f9b9dd64909f83e (diff)
downloadsamba-0e14d9bee072e73114bf0d4ccbfb4c28cf81ef76.tar.gz
samba-0e14d9bee072e73114bf0d4ccbfb4c28cf81ef76.tar.bz2
samba-0e14d9bee072e73114bf0d4ccbfb4c28cf81ef76.zip
anonymous logins are guest logins, so mark them as such. (Otherwise they can
browse non-guest shares). (This used to be commit 7131fe3be4eb2c652f3afe2f3cd99d3f82e09654)
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index ce0e0d585e..c7522b3402 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -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) {