|
177.
|
|
|
sudo ln -s /etc/samba/secrets.tdb /var/lib/samba
|
|
|
|
sudo ln -s /etc/samba/secrets.tdb /var/lib/samba
|
|
Translated and reviewed by
Walter Cheuk
|
|
|
|
Located in
docs/sharing/C/sharing.xml:998(command)
|
|
178.
|
|
|
Next, edit <filename>/etc/samba/smb.conf</filename> changing:
|
|
|
|
下一步,修改 <filename>/etc/samba/smb.conf</filename> 變更:
|
|
Translated and reviewed by
Walter Cheuk
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1000(para)
|
|
179.
|
|
|
workgroup = EXAMPLE
...
security = ads
realm = EXAMPLE.COM
...
idmap backend = lwopen
idmap uid = 50-9999999999
idmap gid = 50-9999999999
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1003(programlisting)
|
|
180.
|
|
|
Restart <application>samba</application> for the new settings to take effect:
|
|
|
|
重新啟動 <application>samba</application> 好讓新設定生效:
|
|
Translated and reviewed by
Walter Cheuk
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1215(para)
|
|
181.
|
|
|
It should now be possible to access any <application>Samba</application> shares from a <trademark class="registered">Windows</trademark> client. However, be sure to give the appropriate <acronym>AD</acronym> users or groups access to the share directory. See <xref linkend="samba-fileprint-security"/> for more details.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1223(para)
|
|
182.
|
|
|
Accessing a Windows Share
|
|
|
|
存取 Windows 共享資源
|
|
Translated and reviewed by
Walter Cheuk
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1028(title)
|
|
183.
|
|
|
Now that the <application>Samba</application> server is part of the <trademark class="registered">Active Directory</trademark> domain, any <trademark class="registered">Windows</trademark> server shares can be accessed:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1236(para)
|
|
184.
|
|
|
To mount a <trademark class="registered">Windows</trademark> file share, enter the following in a terminal prompt:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1245(para)
|
|
185.
|
|
|
mount.cifs //fs01.example.com/share mount_point
|
|
|
|
mount.cifs //fs01.example.com/share 掛載點
|
|
Translated and reviewed by
Walter Cheuk
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1040(command)
|
|
186.
|
|
|
It is also possible to access shares on computers not part of an <acronym>AD</acronym> domain, but a username and password must be provided.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1042(para)
|