|
53.
|
|
|
Clients
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../generic/serverguide/C/windows-networking.xml:250(title)
|
|
54.
|
|
|
Ubuntu includes client applications and capabilities for accessing network resources shared with the SMB protocol. For example, a utility called <application>smbclient</application> allows for accessing remote shared file-systems, in a manner similar to a File Transfer Protocol (FTP) client. To access a shared folder resource known as <emphasis role="italic">documents</emphasis> offered by a remote Windows computer named <emphasis role="italic">bill</emphasis> using <application>smbclient</application> for example, one would enter a command similar to the following at the prompt:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../generic/serverguide/C/windows-networking.xml:251(para)
|
|
55.
|
|
|
smbclient //bill/documents -U <username>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../generic/serverguide/C/windows-networking.xml:260(command)
|
|
56.
|
|
|
You will then be prompted for the password for the user name specified after the -U switch, and upon successful authentication, will be presented with a prompt where commands may be entered for manipulating and transferring files in a syntax similar to that used by non-graphical FTP clients. For more information on the <application>smbclient</application> utility, read the utility's manual page with the command: <screen> ![](/@@/translation-newline)
<command> ![](/@@/translation-newline)
man smbclient ![](/@@/translation-newline)
</command> ![](/@@/translation-newline)
</screen>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/windows-networking.xml:254(para)
|
|
57.
|
|
|
Local mounting of remote network resources using the SMB protocol is also possible using the <application>mount</application> command. For example, to mount a shared folder named <emphasis role="italic">project-code</emphasis> on a Windows server named <emphasis role="italic">development</emphasis> as the user <emphasis role="italic">dlightman</emphasis> to your Ubuntu system's /mnt/pcode mount-point, you would issue this command at the prompt:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/windows-networking.xml:265(para)
|
|
58.
|
|
|
mount -t smbfs -o username=dlightman //development/project-code /mnt/pcode
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/windows-networking.xml:273(command)
|
|
59.
|
|
|
You will then be prompted for the user password, and after successfully authenticating, the contents of the shared resource will be available locally via the mount-point specified as the last argument to the mount command. To disconnect the shared resource, simply use the <application>umount</application> command as you would with any other mounted file system. For example:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../generic/serverguide/C/windows-networking.xml:284(para)
|
|
60.
|
|
|
umount /mnt/pcode
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/windows-networking.xml:283(command)
|
|
61.
|
|
|
User Accounts
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../generic/serverguide/C/windows-networking.xml:295(title)
|
|
62.
|
|
|
User Accounts define persons with some level of authorization to use certain computer and network resources. Typically, in a network environment, a user account is provided to each person allowed to access a computer or network, where policies and permissions then define what explicit rights that user account has access to. To define SAMBA network users for your Ubuntu system, you may use the <application>smbpasswd</application> command. For example to add a SAMBA user to your Ubuntu system with the user name <emphasis role="italic">jseinfeld</emphasis>, you would enter this command at the prompt:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../generic/serverguide/C/windows-networking.xml:296(para)
|