Transferred from: http://linux.sheup.com/linux/linux5303.htm
Instructions for Linux clients to access Samba servers
2004-04-23 15:18 pm
From: Linux documentation
Current Download: Www.8s8s.coM
Address: Nameless
The Linux client needs to use the Smbmount or mount instructions when connecting to the Samba/windows file server:
Smbmount//sambaserver/d/mnt/d-o username=aaa,password=bbb
Smbmount//sambaserver/d/mnt/d-o username=aaa%bbb
Mount-t smbfs-o username=aaa,password=bbb//sambaserver/d/mnt/d
Mount-t smbfs-o username=aaa%bbb//sambaserver/d/mnt/d
Smbclient//sambaserver/d-U username%password
Attention:
1. Specify UID or GID parameter, can also specify user's identity (uid= can be followed by UID number or user name), such as:
Smbmount//test/d/mnt/d-o uid=grind
2. Smbmount can also write Mount.smbfs, which is a symbolic link;
3. The parameters of the Smbmount must be written at the end, while the parameter position of the mount can vary;
4. Because the//SAMBASERVER/D format can indicate that the SMBFS is to mount, the-T SMBFS parameter of Mount can be omitted;
5. If the command line does not include the password, the next line will prompt you to enter;
6. After successful smbclient, the FTP similar interface will appear, please follow the FTP.
Samba-linux Client access to Samba server instructions (reprint)