From 4931390610baa77e0881dcdf3dd1b25a3ea12776 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 11 Apr 2007 21:00:50 +0000 Subject: [PATCH] Document the fact this doesn't work with "security=server". Fixes bug #4475. Jeremy. --- docs/smbdotconf/security/maptoguest.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/smbdotconf/security/maptoguest.xml b/docs/smbdotconf/security/maptoguest.xml index 2dc6605b396..0f680ae71c4 100644 --- a/docs/smbdotconf/security/maptoguest.xml +++ b/docs/smbdotconf/security/maptoguest.xml @@ -6,8 +6,8 @@ This parameter is only useful in security modes other than security = share - - i.e. user, server, - and domain. + and security = server + - i.e. user, and domain. This parameter can take four different values, which tell smbd @@ -56,11 +56,15 @@ Note that this parameter is needed to set up "Guest" share services when using security modes other than - share. This is because in these modes the name of the resource being + share and server. This is because in these modes the name of the resource being requested is not sent to the server until after the server has successfully authenticated the client so the server cannot make authentication decisions at the correct time (connection - to the share) for "Guest" shares. + to the share) for "Guest" shares. This parameter is not useful with + security = server as in this security mode + no information is returned about whether a user logon failed due to + a bad username or bad password, the same error is returned from a modern server + in both cases. For people familiar with the older Samba releases, this parameter maps to the old compile-time setting of the -- 2.34.1