Smbclient localhosttmp U chris

PC Repair Tools

Advanced Registry Cleaner PC Diagnosis and Repair

Get Instant Access

added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0 Password: *******

Domain=[ESTREET] OS=[Unix] Server=[Samba 2.2.7a] smb: \>

In this example, smbclient connects to the directory share named tmp as the Samba user named chris. If the password is accepted, you should see information about the server and a smb:\> prompt. If you cannot access the same shared directory from a Windows client, it's quite possible that the client is passing an improper username and password. Part of the problem may be that the Windows client is not providing encrypted passwords.

For certain Windows clients, using encrypted passwords requires that you change a Windows registry for the machine. One way to change the registry is with the Windows regedit command. Registry changes required for different Windows systems are contained within the / usr/share/ doc/samba-*/docs/Registry directory.

The smbclient command, used here to list server information and test passwords, can also be used to browse the shared directory and copy files after you are connected. After you see the smb:\> prompt, type help to see the available commands. The interface is similar to any ftp client, such as sftp.

If your particular problem has not been addressed in this troubleshooting section, please refer to the user documentation that accompanies the Samba project. On Fedora systems, look in the /usr/share/doc/samba-*/htmldocs directory for some excellent documentation you can read from your Web browser. In particular, refer to the Samba-HOWTO-Collection/diagnosis .html file for help with troubleshooting.

Was this article helpful?

0 0

Post a comment