|
90.
|
|
|
admin users = melissa
|
|
|
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.
|
|
|
|
admin users = anna
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:561(programlisting)
|
|
91.
|
|
|
After editing <filename>/etc/samba/smb.conf</filename>, restart Samba for the changes to take effect:
|
|
|
|
Després d'editar el fitxer <filename>/etc/samba/smb.conf</filename> reinicieu el Samba perquè els canvis tinguin efecte:
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:565(para)
|
|
92.
|
|
|
For the <emphasis>read list</emphasis> and <emphasis>write list</emphasis> to work the Samba security mode must <emphasis>not</emphasis> be set to <emphasis role="italic">security = share</emphasis>
|
|
|
|
Per fer que les llistes <emphasis>read list</emphasis> i <emphasis>write list</emphasis> funcionin, el mode de seguretat del Samba <emphasis>no</emphasis> s'ha de definir com a <emphasis role="italic">security = share</emphasis>
|
|
Translated by
David Planella
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:575(para)
|
|
93.
|
|
|
Now that Samba has been configured to limit which groups have access to the shared directory, the filesystem permissions need to be updated.
|
|
|
|
Ara que Samba s'ha configurat per a limitar l'accés dels grups als directoris compartits és necessari actualitzar els permisos del sistema de fitxers.
|
|
Translated by
David Planella
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:581(para)
|
|
94.
|
|
|
Traditional Linux file permissions do not map well to Windows NT Access Control Lists (ACLs). Fortunately POSIX ACLs are available on Ubuntu servers providing more fine grained control. For example, to enable ACLs on <filename>/srv</filename> an EXT3 filesystem, edit <filename>/etc/fstab</filename> adding the <emphasis>acl</emphasis> option:
|
|
|
|
Els permisos de fitxer tradicionals del Linux no coincideixen totalment amb les llistes de control d'accés del Windows NT (ACL). Per sort els servidors Ubuntu disposen d'ACL POSIX que proporcionen un control més acurat. Per exemple, per a habilitar ACL a <filename>/srv</filename> en un sistema de fitxer EXT3, editeu el fitxer <filename>/etc/fstab</filename> i afegiu l'opció <emphasis>acl</emphasis>:
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:586(para)
|
|
95.
|
|
|
UUID=66bcdd2e-8861-4fb0-b7e4-e61c569fe17d /srv ext3 noatime,relatime,acl 0 1
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
UUID=66bcdd2e-8861-4fb0-b7e4-e61c569fe17d /srv ext3 noatime,relatime,acl 0 1
|
|
Translated by
anna marti
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:593(programlisting)
|
|
96.
|
|
|
Then remount the partition:
|
|
|
|
Després torneu a muntar la partició:
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:597(para)
|
|
97.
|
|
|
sudo mount -v -o remount /srv
|
|
|
|
sudo mount -v -o remount /srv
|
|
Translated by
anna marti
|
|
Reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:602(command)
|
|
98.
|
|
|
The above example assumes <filename>/srv</filename> on a separate partition. If <filename>/srv</filename>, or wherever you have configured your share path, is part of the <filename>/</filename> partition a reboot may be required.
|
|
|
|
L'exemple anterior pressuposa que el fitxer <filename>/srv</filename> es troba en una partició separada. Si el fitxer <filename>/srv</filename> o el lloc on hàgiu configurat el vostre camí compartit es part de la partició <filename>/</filename>, pot ser que hàgiu de reiniciar l'ordinador.
|
|
Translated and reviewed by
David Planella
|
|
|
|
Located in
serverguide/C/windows-networking.xml:606(para)
|
|
99.
|
|
|
To match the Samba configuration above the <emphasis>sysadmin</emphasis> group will be given read, write, and execute permissions to <filename>/srv/samba/share</filename>, the <emphasis>qa</emphasis> group will be given read and execute permissions, and the files will be owned by the username <emphasis>melissa</emphasis>. Enter the following in a terminal:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:613(para)
|