User passwords working

PC Repair Tools

Advanced Registry Cleaner PC Diagnosis and Repair

Get Instant Access

Try accessing a shared Samba directory as a particular user (from the local host or other Linux system on your LAN). You can use the smbclient command to do this. Here is an example:

# smbclient //localhost/tmp -U chris added interface ip=10.0.0.1 bcast=10.0.0.2 55 nmask=2 55.2 55.2 55.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. I the password is accepted, you should see information about the server and a smb:\> prompt. If you cannot then access the same shared directory from a Windows client, it's quite possible that the client is passing an improper user name 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.

Tip The smbclient command, used here to list server information and test passwords, can also be used to browse the shared directory and copy files once 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.

Team LiB 4 previous next ►

Was this article helpful?

0 0
Digital Photography Mastery

Digital Photography Mastery

Insider Secrets Revealed By the Pro Showing You How to Become a Professional Photographer! Discover The Secret Tips & Techniques On How To Be A Professional Photographer, Start Producing High Quality Pictures and Skyrocket Your Photography Business Income Revenue To The Roof TODAY! You're About to Discover the Powerful Strategies and Method to Start Taking Sharp, Clear and High Quality Pictures Like the Professional Photographer Without Paying a Single Penny to the Expert!

Get My Free Ebook


Post a comment