From 8ec40d4ce90c7041d573c4e298f6a56e09cdbc3f Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Wed, 6 Jul 2005 04:05:49 +0000 Subject: More fixups. (This used to be commit fbcea7ca3f89e298bec36b16f9aa7bc650440302) --- docs/smbdotconf/security/passdbbackend.xml | 23 +++++++++++++++++------ docs/smbdotconf/security/restrictanonymous.xml | 9 ++++++--- docs/smbdotconf/security/smbpasswdfile.xml | 8 +++++++- docs/smbdotconf/security/usernamemap.xml | 8 +++++++- 4 files changed, 37 insertions(+), 11 deletions(-) (limited to 'docs/smbdotconf/security') diff --git a/docs/smbdotconf/security/passdbbackend.xml b/docs/smbdotconf/security/passdbbackend.xml index d8fc6cd488..74f26b89ea 100644 --- a/docs/smbdotconf/security/passdbbackend.xml +++ b/docs/smbdotconf/security/passdbbackend.xml @@ -63,16 +63,27 @@ + - + Examples of use are: + +passdb backend = tdbsam:/etc/samba/private/passdb.tdb \ + smbpasswd:/etc/samba/smbpasswd -smbpasswd +or + +passdb backend = ldapsam:ldaps://ldap.example.com -tdbsam:/etc/samba/private/passdb.tdb smbpasswd:/etc/samba/smbpasswd +or -ldapsam:ldaps://ldap.example.com +passdb backend = ldapsam:"ldap://ldap-1.example.com \ + ldap://ldap-2.example.com" -ldapsam:"ldap://ldap-1.example.com ldap://ldap-2.example.com" +or -mysql:my_plugin_args tdbsam +passdb backend = mysql:my_plugin_args tdbsam + + + +smbpasswd diff --git a/docs/smbdotconf/security/restrictanonymous.xml b/docs/smbdotconf/security/restrictanonymous.xml index dad6846cee..a7aaa31b0b 100644 --- a/docs/smbdotconf/security/restrictanonymous.xml +++ b/docs/smbdotconf/security/restrictanonymous.xml @@ -7,9 +7,12 @@ The setting of this parameter determines whether user and group list information is returned for an anonymous connection. and mirrors the effects of the - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA\RestrictAnonymous registry key in Windows - 2000 and Windows NT. When set to 0, user and group list - information is returned to anyone who asks. When set + +HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ + Control\LSA\RestrictAnonymous + + registry key in Windows 2000 and Windows NT. When set to 0, user + and group list information is returned to anyone who asks. When set to 1, only an authenticated user can retrive user and group list information. For the value 2, supported by Windows 2000/XP and Samba, no anonymous connections are allowed at diff --git a/docs/smbdotconf/security/smbpasswdfile.xml b/docs/smbdotconf/security/smbpasswdfile.xml index 021aaf79e8..b21da8e1ae 100644 --- a/docs/smbdotconf/security/smbpasswdfile.xml +++ b/docs/smbdotconf/security/smbpasswdfile.xml @@ -6,8 +6,14 @@ This option sets the path to the encrypted smbpasswd file. By default the path to the smbpasswd file is compiled into Samba. + + + An example of use is: + +smb passwd file = /etc/samba/smbpasswd + + ${prefix}/private/smbpasswd -/etc/samba/smbpasswd diff --git a/docs/smbdotconf/security/usernamemap.xml b/docs/smbdotconf/security/usernamemap.xml index 1ac393393b..1c76d31711 100644 --- a/docs/smbdotconf/security/usernamemap.xml +++ b/docs/smbdotconf/security/usernamemap.xml @@ -110,8 +110,14 @@ guest = * to the fully qualified username (i.e. DOMAIN\user) only after the user has been successfully authenticated. + + + An example of use is: + +username map = /usr/local/samba/lib/users.map + + no username map -/usr/local/samba/lib/users.map -- cgit