Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Short version: One of my Win98 machines can access files on my Linux server. The other can't, it asks for a password, and none that I give it work.
Long version:
I had a LAN of two Win98 machines and a Linux Server. The two Win98's could access specific directories that Samba made available on the Linux. The one Win98 machine had a catastrophic hard drive crash. I've got it fixed now and almost working (almost in that I can't get to the Linux server).
I also upgraded the Linux box and software (to Mandrake v6.?) I've configured Samba as it had been (I think). The old Win98 box accesses the files on the Linux box.
But, when I try to access them (map drives to directories on Linux) I am confronted with a dialog to enter a password. Any password I use, fails. I will point out that the same userid, and same password, is on all three boxes.
In the dark recesses of my mind, I recall something about Windows upcasing passwords unless told otherwise, but I thought that was Win95, and in anycase, I don't recall how to tell it not to.
Originally posted by drjimstuckinwin Hi
Are you using encrypted passwords on Samba, or did you change Win98 to unencrypted? This could be the problem.
Jim
After do consideration and much contemplation, let me say this about that.... Uh?
I don't mean Uh? about encryption, I mean..
how do I check/set Win98 and Samba encryption settings? I could probably find information on Samba encryption (if I can decipher the man pages), but anything systemic on Windows is a b****h to find (at least at my skill level).
Hi
I've been trying to reply, but was emailed a virus, so had to deal with that first!
Check SWAT (or SMB conf) encrypt passwords should say YES.
I imagine yours already does.
You can browse OK from your other machine, so undoubtedly it's a problem with the rebuilt box.
1 Are you using client for M$ networks as logon, my box tried to use windoze logon, which stuffed things up.
2 Have you got the right workgroup/user/PW in your network settings.
Jim
Originally posted by GonzoJohn That was brave. I'm not a regedit fan ;-)
Unfortunately, I'm forced to work with doze workstations on my network.
Quote:
Originally posted by GonzoJohn
The flipside solution was to set Samba to use encrypted passwords by adding these two lines (or uncommenting them) in your smb.conf file.
This would also do the trick. You'd then add your Window's users' names to the smbpasswd file specified by using this commmand as root:
smbpasswd -a username
I'd recommend using encrypted passwords for the same reasons I'd recommend using SSH and secure FTP. Plain text passwords are bad mojo.
Have you ever tried doing that on a mixed network of Win95, 98, and 2Krappy workstations? They don't all handle encryted passwords the same. If your smb system is not on over the Internet then Plain text is just fine, just not as much fun.
Adding the users to the Samba config (smbpasswd -a username), this just adds the username, no password, right?
'Cause this brings up another question. I want to be able to change my password when I log on to the Win98 machine, and have that propagated to the Linux box (so I don't have to change twice). I'd also like to change it on the Linux box and have that propagated to Windows, but this isn't as important as the first. Can I do this by setting Samba config, and if so, what's the setting? I'd found something in the comments in smb.conf, but it didn't make sense.
And, bye the bye, thank you all for your responses.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.