|
18.
|
|
|
sudo apt-get install samba
|
|
|
|
sudo apt-get install samba
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:90(command) serverguide/C/windows-networking.xml:300(command)
|
|
19.
|
|
|
That's all there is to it; you are now ready to configure Samba to share files.
|
|
|
|
E iso é todo: xa se pode configurar o Samba para compartir ficheiros.
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:93(para)
|
|
20.
|
|
|
Configuration
|
|
|
|
Configuración
|
|
Translated and reviewed by
Dario
|
|
|
|
Located in
serverguide/C/windows-networking.xml:99(title) serverguide/C/windows-networking.xml:305(title) serverguide/C/web-servers.xml:61(title) serverguide/C/web-servers.xml:726(title) serverguide/C/web-servers.xml:827(title) serverguide/C/web-servers.xml:967(title) serverguide/C/web-servers.xml:1067(title) serverguide/C/vpn.xml:138(title) serverguide/C/virtualization.xml:2088(title) serverguide/C/vcs.xml:39(title) serverguide/C/vcs.xml:423(title) serverguide/C/remote-administration.xml:74(title) serverguide/C/remote-administration.xml:258(title) serverguide/C/package-management.xml:387(title) serverguide/C/network-config.xml:959(title) serverguide/C/network-auth.xml:2141(title) serverguide/C/network-auth.xml:2514(title) serverguide/C/monitoring.xml:187(title) serverguide/C/monitoring.xml:454(title) serverguide/C/mail.xml:505(title) serverguide/C/mail.xml:684(title) serverguide/C/mail.xml:908(title) serverguide/C/mail.xml:1344(title) serverguide/C/lamp-applications.xml:128(title) serverguide/C/lamp-applications.xml:314(title) serverguide/C/lamp-applications.xml:453(title) serverguide/C/file-server.xml:360(title) serverguide/C/file-server.xml:488(title) serverguide/C/dns.xml:39(title) serverguide/C/databases.xml:84(title) serverguide/C/databases.xml:183(title) serverguide/C/clustering.xml:47(title) serverguide/C/chat.xml:57(title) serverguide/C/chat.xml:153(title) serverguide/C/backups.xml:616(title)
|
|
21.
|
|
|
The main Samba configuration file is located in <filename>/etc/samba/smb.conf</filename>. The default configuration file has a significant amount of comments in order to document various configuration directives.
|
|
|
|
O ficheiro principal de configuración do Samba está en <filename>/etc/samba/smb.conf</filename>. O ficheiro de configuración predeterminado ten moitos comentarios para documentar diversas directivas de configuración.
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:101(para)
|
|
22.
|
|
|
Not all 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/">Samba HOWTO Collection</ulink> for more details.
|
|
|
|
Non todas as opcións dispoñíbeis están incluídas no ficheiro predeterminado de configuración. Vexa a páxina <filename>smb.conf</filename><application>man</application> ou a <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/">Colección de COMO de Samba</ulink> para obter máis detalles.
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:106(para)
|
|
23.
|
|
|
First, edit the following key/value pairs in the <emphasis>[global]</emphasis> section of <filename>/etc/samba/smb.conf</filename>:
|
|
|
|
Primeiro, edite os seguintes pares de chave/valor na sección <emphasis>[global]</emphasis> do ficheiro <filename>/etc/samba/smb.conf</filename>:
|
|
Translated and reviewed by
Fran Diéguez
|
|
|
|
Located in
serverguide/C/windows-networking.xml:116(para)
|
|
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.
|
|
|
|
workgroup = EXEMPLO
...
security = user
|
|
Translated and reviewed by
Xosé
|
|
|
|
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.
|
|
|
|
O parámetro <emphasis>security</emphasis> está máis abaixo na sección [global], e está comentado de forma predeterminada. Pode cambiar <emphasis>EXEMPLO</emphasis> para adaptalo mellor ao seu entorno.
|
|
Translated and reviewed by
Miguel Anxo Bouzada
|
|
|
|
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:
|
|
|
|
Cree unha nova sección no final do ficheiro, ou descomete un dos exemplos para compartir un cartafol:
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
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.
|
|
|
|
[share]
comment = Servidor de ficheiros compartidos de Ubuntu
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
Translated and reviewed by
Fran Diéguez
|
|
|
|
Located in
serverguide/C/windows-networking.xml:139(programlisting)
|