|
182.
|
|
|
To mount a Windows file share, enter the following in a terminal prompt:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1172(para)
|
|
183.
|
|
|
mount.cifs //fs01.example.com/share mount_point
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1250(command)
|
|
184.
|
|
|
It is also possible to access shares on computers not part of an AD domain, but a username and password must be provided.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1179(para)
|
|
185.
|
|
|
To mount the share during boot, place an entry in <filename>/etc/fstab</filename>, for example:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1187(para)
|
|
186.
|
|
|
//192.168.0.5/share /mnt/windows cifs auto,username=steve,password=secret,rw 0 0
|
|
|
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:1266(programlisting)
|
|
187.
|
|
|
Another way to copy files from a Windows server is to use the <application>smbclient</application> utility. To list the files in a Windows share:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:1199(para)
|
|
188.
|
|
|
smbclient //fs01.example.com/share -k -c "ls"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1281(command)
|
|
189.
|
|
|
To copy a file from the share, enter:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1287(para)
|
|
190.
|
|
|
smbclient //fs01.example.com/share -k -c "get file.txt"
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1292(command)
|
|
191.
|
|
|
This will copy the <filename>file.txt</filename> into the current directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:1295(para)
|