|
88.
|
|
|
For example, if you have defined a Samba share called <emphasis>share</emphasis> and wish to give <emphasis role="italic">read-only</emphasis> permissions to the group of users known as <emphasis role="italic">qa</emphasis>, but wanted to allow writing to the share by the group called <emphasis role="italic">sysadmin</emphasis> and the user named <emphasis role="italic">vincent</emphasis>, then you could edit the <filename>/etc/samba/smb.conf</filename> file, and add the following entries under the <emphasis>[share]</emphasis> entry:
|
|
|
|
De exemplu, dacă ați definit o partajare Samba denimită <emphasis>partajare</emphasis> și doriți să dați grupului de utilizatori cunoscut sub numele de <emphasis role="italic">qa</emphasis> permisiuni <emphasis role="italic">doar-în-citire</emphasis>, dar doriți să permiteți grupului <emphasis role="italic">sysadmin</emphasis> și utilizatorului <emphasis role="italic">vincent</emphasis> să scrie la partajare, atunci puteți edita fișierul <filename>/etc/samba/smb.conf</filename> și să adăugați următoarele la intrarea <emphasis>[share]</emphasis>:
|
|
Translated and reviewed by
Adi Roiban
|
|
|
|
Located in
serverguide/C/windows-networking.xml:534(para)
|
|
89.
|
|
|
read list = @qa
write list = @sysadmin, vincent
|
|
|
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.
|
|
|
|
citește lista = @qa
scrie lista = @sysadmin, vincent
|
|
Translated by
Dan Telecan
|
|
Reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:543(programlisting)
|
|
90.
|
|
|
Another possible Samba permission is to declare <emphasis>administrative</emphasis> permissions to a particular shared resource. Users having administrative permissions may read, write, or modify any information contained in the resource the user has been given explicit administrative permissions to.
|
|
|
|
O altă permisiune Samba posibilă este de a declara permisiuni <emphasis>administrative</emphasis> la o resursă particulară de partajare. Utilizatorii care au permisiuni administrative pot citi, scrie sau modifica orice informație conținută în resursă
|
|
Translated by
Dan Telecan
|
|
Reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:548(para)
|
|
91.
|
|
|
For example, if you wanted to give the user <emphasis role="italic">melissa</emphasis> administrative permissions to the <emphasis role="italic">share</emphasis> example, you would edit the <filename>/etc/samba/smb.conf</filename> file, and add the following line under the <emphasis>[share]</emphasis> entry:
|
|
|
|
De exemplu, dacă doriți să dați utilizatorului <emphasis role="italic">melissa</emphasis> permisiuni administrative, la exemplul <emphasis role="italic">partajare</emphasis>, veți edita fișierul <filename>/etc/samba/smb.conf</filename> și adăugați urmatoarea linie la intrarea <emphasis>[partajare]</emphasis>:
|
|
Translated by
Dan Telecan
|
|
Reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:554(para)
|
|
92.
|
|
|
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 = melissa
|
|
Translated by
Dan Telecan
|
|
Reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:561(programlisting)
|
|
93.
|
|
|
After editing <filename>/etc/samba/smb.conf</filename>, restart Samba for the changes to take effect:
|
|
|
|
După editarea <filename>/etc/samba/smb.conf</filename>, reporniți Samba pentru ca schimbările să aibă efect:
|
|
Translated by
Dan Telecan
|
|
Reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:565(para)
|
|
94.
|
|
|
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>
|
|
|
|
Pentru a funcționa <emphasis>citește lista</emphasis> și <emphasis>scrie lista</emphasis> modul de securitate Samba trebuie să <emphasis>nu</emphasis> fie setat la <emphasis role="italic">securitate = partajare</emphasis>
|
|
Translated by
Dan Telecan
|
|
Reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:575(para)
|
|
95.
|
|
|
Now that Samba has been configured to limit which groups have access to the shared directory, the filesystem permissions need to be updated.
|
|
|
|
Acuma că Samba a fost configurată pentru a limita care grupuri au acces la directorul partajat, sistemul de fișiere trebuie actualizat.
|
|
Translated by
Dan Telecan
|
|
Reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:581(para)
|
|
96.
|
|
|
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:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:586(para)
|
|
97.
|
|
|
![](/@@/translation-newline)
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.
|
|
|
|
![](/@@/translation-newline)
UUID=66bcdd2e-8861-4fb0-b7e4-e61c569fe17d /srv ext3 noatime,relatime,acl 0 1
|
|
Translated and reviewed by
Doru Horișco
|
|
|
|
Located in
serverguide/C/windows-networking.xml:593(programlisting)
|