|
24.
|
|
|
workgroup = EXAMPLE
...
security = user
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:121(programlisting) serverguide/C/windows-networking.xml:312(programlisting) serverguide/C/windows-networking.xml:780(programlisting) serverguide/C/windows-networking.xml:1003(programlisting)
|
|
25.
|
|
|
The <emphasis>security</emphasis> parameter is farther down in the [global] section, and is commented by default. Also, change <emphasis>EXAMPLE</emphasis> to better match your environment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:127(para)
|
|
26.
|
|
|
Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
|
|
|
|
在文件底部创建一个新的部分(Section), 或者使用其中的一个例子来实现目录的共享。
|
|
Translated and reviewed by
maxim(Feng Liu)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:135(para)
|
|
27.
|
|
|
[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:139(programlisting)
|
|
28.
|
|
|
<emphasis>comment:</emphasis> a short description of the share. Adjust to fit your needs.
|
|
|
|
<emphasis>注释(comment):</emphasis>是一个对于共享的简短描述。调整它们以满足你的需求。
|
|
Translated and reviewed by
maxim(Feng Liu)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:151(para)
|
|
29.
|
|
|
<emphasis>path:</emphasis> the path to the directory to share.
|
|
|
|
<emphasis>路径(path):</emphasis>表明共享目录 的路径
|
|
Translated and reviewed by
maxim(Feng Liu)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:156(para)
|
|
30.
|
|
|
This example uses <filename>/srv/samba/sharename</filename> because, according to the <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis>, <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> is where site-specific data should be served. Technically Samba shares can be placed anywhere on the filesystem as long as the permissions are correct, but adhering to standards is recommended.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:159(para)
|
|
31.
|
|
|
<emphasis>browsable:</emphasis> enables Windows clients to browse the shared directory using <application>Windows Explorer</application>.
|
|
|
|
<emphasis>可浏览(browsable):</emphasis>使Windows客户端可以使用<application>Windows Explorer</application>来浏览共享目录
|
|
Translated and reviewed by
maxim(Feng Liu)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:168(para)
|
|
32.
|
|
|
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
|
|
|
|
<emphasis>允许客户guest ok:</emphasis>允许客户不用提供密码就可以连接共享
|
|
Translated and reviewed by
maxim(Feng Liu)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:174(para)
|
|
33.
|
|
|
<emphasis>read only:</emphasis> determines if the share is read only or if write privileges are granted. Write privileges are allowed only when the value is <emphasis>no</emphasis>, as is seen in this example. If the value is <emphasis>yes</emphasis>, then access to the share is read only.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:179(para)
|