|
26.
|
|
|
sudo apt-get install samba
|
|
|
|
sudo apt-get install samba
|
|
Translated and reviewed by
Yuri Chornoivan
|
|
|
|
Located in
docs/sharing/C/sharing.xml:97(command)
|
|
27.
|
|
|
That's all there is to it. <application>Samba</application> is ready to be configured for file sharing.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:99(para)
|
|
28.
|
|
|
Configuration
|
|
|
|
Налаштування
|
|
Translated and reviewed by
Yuri Chornoivan
|
|
|
|
Located in
docs/sharing/C/sharing.xml:106(title)
|
|
29.
|
|
|
The main <application>Samba</application> configuration file is located in <filename>/etc/samba/smb.conf</filename>. The default configuration file has a significant number of comments in order to document various configuration directives.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:107(para)
|
|
30.
|
|
|
Not all of the available options are included in the default configuration file. See the <filename>smb.conf</filename><application>man</application> page or the <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/"><application>Samba</application> HOWTO Collection</ulink> for more details.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:136(para)
|
|
31.
|
|
|
Edit the following key/value pairs in the <emphasis>[global]</emphasis> section of <filename>/etc/samba/smb.conf</filename>:
|
|
|
|
Внесіть зміни до таких пар ключ/значення у розділі <emphasis>[global]</emphasis> файла <filename>/etc/samba/smb.conf</filename>:
|
|
Translated and reviewed by
Yuri Chornoivan
|
|
|
|
Located in
docs/sharing/C/sharing.xml:123(para)
|
|
32.
|
|
|
workgroup = EXAMPLE
...
security = user
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
workgroup = EXAMPLE
...
security = user
|
|
Translated and reviewed by
Yuri Chornoivan
|
|
|
|
Located in
docs/sharing/C/sharing.xml:127(programlisting) docs/sharing/C/sharing.xml:663(programlisting) docs/sharing/C/sharing.xml:865(programlisting)
|
|
33.
|
|
|
The <emphasis>security</emphasis> parameter is farther down in the [global] section, and is commented out by default. Change <emphasis>EXAMPLE</emphasis> to match the actual environment.
|
|
|
|
Параметр <emphasis>security</emphasis> розміщено нижче у розділі [global]. Типово, його закоментовано. Замініть <emphasis>EXAMPLE</emphasis> на значення, що відповідає вашому середовищу.
|
|
Translated and reviewed by
Yuri Chornoivan
|
|
|
|
Located in
docs/sharing/C/sharing.xml:132(para)
|
|
34.
|
|
|
Create a new section at the bottom of the file, or uncomment one of the examples for the directory to be shared:
|
|
|
|
Створіть розділ у нижній частині файла або вилучіть позначки коментування з одного з прикладів для каталогу, який буде надано у спільний доступ:
|
|
Translated and reviewed by
Yuri Chornoivan
|
|
|
|
Located in
docs/sharing/C/sharing.xml:139(para)
|
|
35.
|
|
|
[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.
|
|
|
|
[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
Translated and reviewed by
Yuri Chornoivan
|
|
|
|
Located in
docs/sharing/C/sharing.xml:143(programlisting)
|