The Samba-Bugzilla – Attachment 3942 Details for
Bug 6122
[homes] section allows access to user areas other than that of the connecting user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
smb.conf (5) manual page changes and additions
smb.conf.5.xml.diff (text/plain), 1.68 KB, created by
Ian
on 2009-02-19 11:31:36 UTC
(
hide
)
Description:
smb.conf (5) manual page changes and additions
Filename:
MIME Type:
Creator:
Ian
Created:
2009-02-19 11:31:36 UTC
Size:
1.68 KB
patch
obsolete
>--- docs-xml/manpages-3/smb.conf.5.xml.orig 2009-01-26 13:56:34.000000000 +0000 >+++ docs-xml/manpages-3/smb.conf.5.xml 2009-02-19 15:33:26.000000000 +0000 >@@ -159,8 +159,7 @@ > <para> > When the connection request is made, the existing sections are scanned. If a match is found, it is > used. If no match is found, the requested section name is treated as a username and looked up in the local >- password file. If the name exists and the correct password has been given, a share is created by cloning the >- [homes] section. >+ password file. If the name exists a share is created by cloning the [homes] section. > </para> > > <para> >@@ -198,6 +197,16 @@ > </para> > > <para> >+ The mechanism of the [homes] section does not tie the connecting user to their own home directory. When enabled, >+ all usernames listed in the local password file will be made available as shares that point to the corresponding >+ home directories. Access to the share will then be subject to the underlying permissions of the host operating >+ system. As an example, if the user <quote>bin</quote> in the local password file is listed with a home directory >+ of <quote>/usr/bin</quote>, a user who can successfully authenticate with the server may connect to the >+ <quote>bin</quote> share and browse the contents of the <quote>/usr/bin</quote> directory on the server. If you >+ find this behaviour undesirable you can set <emphasis>valid users = %S</emphasis> in the [homes] section. >+ </para> >+ >+ <para> > The [homes] section can specify all the parameters a normal service section can specify, though some make more sense > than others. The following is a typical and suitable [homes] section: > <programlisting>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6122
: 3942