|
113.
|
|
|
Edit <filename>/etc/apparmor.d/usr.sbin.smbd</filename> adding information for <emphasis>[share]</emphasis> from the file server example:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:672(para)
|
|
114.
|
|
|
/srv/samba/share/ r,
/srv/samba/share/** rwkix,
|
|
|
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.
|
|
|
|
/srv/samba/share/ r,
/srv/samba/share/** rwkix,
|
|
Translated and reviewed by
Shushi Kurose
|
|
|
|
Located in
serverguide/C/windows-networking.xml:677(programlisting)
|
|
115.
|
|
|
Now place the profile into <emphasis>enforce</emphasis> and reload it:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:682(para)
|
|
116.
|
|
|
sudo aa-enforce /usr/sbin/smbd
|
|
|
|
sudo aa-enforce /usr/sbin/smbd
|
|
Translated and reviewed by
Shushi Kurose
|
|
|
|
Located in
serverguide/C/windows-networking.xml:687(command)
|
|
117.
|
|
|
cat /etc/apparmor.d/usr.sbin.smbd | sudo apparmor_parser -r
|
|
|
|
cat /etc/apparmor.d/usr.sbin.smbd | sudo apparmor_parser -r
|
|
Translated and reviewed by
Shushi Kurose
|
|
|
|
Located in
serverguide/C/windows-networking.xml:688(command)
|
|
118.
|
|
|
You should now be able to read, write, and execute files in the shared directory as normal, and the <application>smbd</application> binary will have access to only the configured files and directories. Be sure to add entries for each directory you configure Samba to share. Also, any errors will be logged to <filename>/var/log/syslog</filename>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:691(para)
|
|
119.
|
|
|
O'Reilly's <ulink url="http://www.oreilly.com/catalog/9780596007690/">Using Samba</ulink> is also a good reference.
|
|
|
|
オライリーの <ulink url="http://www.oreilly.com/catalog/9780596007690/">Using Samba</ulink> も良い参考となります。
|
|
Translated and reviewed by
Shushi Kurose
|
|
|
|
Located in
serverguide/C/windows-networking.xml:716(para) serverguide/C/windows-networking.xml:1096(para)
|
|
120.
|
|
|
<ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/securing-samba.html">Chapter 18</ulink> of the Samba HOWTO Collection is devoted to security.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/windows-networking.xml:722(para)
|
|
121.
|
|
|
For more information on Samba and ACLs see the <ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id397568">Samba ACLs page </ulink>.
|
|
|
|
SambaとACLに関する詳細は、<ulink url="http://samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id397568">Samba ACLs page </ulink> を参照してください。
|
|
Translated and reviewed by
Shushi Kurose
|
|
|
|
Located in
serverguide/C/windows-networking.xml:728(para)
|
|
122.
|
|
|
Samba as a Domain Controller
|
|
|
|
ドメインコントローラとしてのSamba
|
|
Translated and reviewed by
Shushi Kurose
|
|
|
|
Located in
serverguide/C/windows-networking.xml:744(title)
|