|
32.
|
|
|
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
|
|
|
|
<emphasis>guest ok:</emphasis> permítelle aos clientes conectarse sen introducir un contrasinal.
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:174(para)
|
|
33.
|
|
|
<emphasis>read only:</emphasis> gives write access to the shared directory.
|
|
|
|
(no translation yet)
|
|
|
|
34.
|
|
|
<emphasis>create mask:</emphasis> determines the permissions new files will have when created.
|
|
|
|
<emphasis>crear máscara:</emphasis> determina os permisos que teñen os ficheiros novos cando se crean.
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:184(para)
|
|
35.
|
|
|
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
|
|
|
|
Unha vez configurado <application>Samba</application>, hai que crear o directorio e cambiar os permisos. Nun terminal, escriba:
|
|
Translated by
Miguel Anxo Bouzada
|
|
Reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:193(para)
|
|
36.
|
|
|
sudo mkdir -p /srv/samba/share
|
|
|
|
sudo mkdir -p /srv/samba/share
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:199(command)
|
|
37.
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:200(command)
|
|
38.
|
|
|
The <emphasis>-p</emphasis> switch tells mkdir to create the entire directory tree if it doesn't exist. Change the share name to fit your environment.
|
|
|
|
A opción <emphasis>-p</emphasis> indícalle a mkdir que cree a árbore completa ata o directorio se non existira. Cambie o nome «share» por outro que se axuste máis ao seu entorno (p.ex. «compartida»).
|
|
Translated and reviewed by
Miguel Anxo Bouzada
|
|
|
|
Located in
serverguide/C/windows-networking.xml:204(para)
|
|
39.
|
|
|
Finally, restart the <application>samba</application> services to enable the new configuration:
|
|
|
|
Por último, reinicie os servizos de <application>samba</application> para activar a nova configuración:
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:213(para)
|
|
40.
|
|
|
sudo /etc/init.d/samba restart
|
|
|
|
sudo /etc/init.d/samba restart
|
|
Translated and reviewed by
Dario
|
|
|
|
Located in
serverguide/C/windows-networking.xml:218(command) serverguide/C/windows-networking.xml:331(command) serverguide/C/windows-networking.xml:468(command) serverguide/C/windows-networking.xml:567(command) serverguide/C/windows-networking.xml:937(command) serverguide/C/windows-networking.xml:1047(command) serverguide/C/windows-networking.xml:1162(command) serverguide/C/network-auth.xml:1860(command)
|
|
41.
|
|
|
Once again, the above configuration gives all access to any client on the local network. For a more secure configuration see <xref linkend="samba-fileprint-security"/>.
|
|
|
|
De novo, a configuración anterior permítelle todos os accesos a calquera cliente da rede local. Para unha configuración máis segura vexa <xref linkend="samba-fileprint-security"/>.
|
|
Translated and reviewed by
Xosé
|
|
|
|
Located in
serverguide/C/windows-networking.xml:226(para)
|