Click to See Complete Forum and Search --> : SAMBA once again


mrmoo2
10-09-2002, 12:44 AM
Ok, I have lurked around this forum long enough. By and large I have found answers here on most of my issues and I thank everone who have unwittingly helped, but now I'm stuck.

I'm to the point where my Samba 2.2.1a is up and running. My W2k box is online and can access it's shares on Samba. But my Win 98 box keeps prompting me for a password and then says it's incorrect when I enter it. I can see it, just can't access it.

I have checked and rechecked my Samba user name and password. I even made everything lower case on all boxes. I have the same user name and password account on the Linux (RD7.2)

So i'm stuck...help please.

mrmoo2
10-09-2002, 12:47 AM
By the way I do have password encription enabled on Samba in the smb.conf file.

cowanrl
10-09-2002, 12:54 PM
Are you using the same username and password to log in to the Win98 box as you do the Win2k box?

Post your smb.conf file here for help with troubleshooting.

mrmoo2
10-09-2002, 04:26 PM
Thanks for the response:
Here is my smb.conf file. I'm starting simple to get it working then adding as I need to.

# Samba config file
# Global parameters
[global]
workgroup = crestone
server string = Samba v%
interfaces = eth0
log file = /var/log/samba/%m.log
max log size = 1000
socket options = TCP_NODELAY
preferred master = True
os level = 34
security = user
encrypt passwords = yes
[homes]
comment = "Home Directories"
path = /usr/homes/u%
guest ok = no
guest account = nobody
valid users = %S
read only = No
browseable = no

mrmoo2
10-09-2002, 04:40 PM
To answer your question, i used different user id's for W2K and win 98. If I did use the same id's would that create a conflict on Samba?

If I need to share files between the machines, I could create a "public" share that both could have access to.

Thanks for any help!!!

miteycasey
10-09-2002, 09:22 PM
Do you have the Win98 box using plaintext passwords?
http://help.msu.edu/troubleshoot/plain.text.html

cowanrl
10-10-2002, 04:52 AM
Originally posted by mrmoo2
To answer your question, i used different user id's for W2K and win 98. If I did use the same id's would that create a conflict on Samba?

If I need to share files between the machines, I could create a "public" share that both could have access to.

Thanks for any help!!!

Logging in with the same user id from Win2k and Win98 won't cause any conflicts in Samba. You know the user you log in to Win2k with works, so try the same ID on Win98. If it works, then the problem is with the other user ID and not strictly with the Win98 computer.
You could also try to do the reverse. Create an account on the Win2k machine the same as you are logging in to Win98 with and see if that userid works from Win2k to Samba. It could help narrow down the problem.

mrmoo2
10-10-2002, 12:32 PM
Good suggestions, I will try playing around with logging in with different accounts on the various machines to try and make sense out of that and then go from there.

As to the suggestion from miteycasey, I didn't purposfully set the W98 machine to use plain text passwords.

Depending on what the outcome of the tests described above II may get to looking at this later. From what I have read though using password encryption = yes should make the windows compatible with Samba. Do have other thoughts?



Thanks for the help!!!!

cowanrl
10-10-2002, 12:49 PM
Have you changed the default home directories on your Linux machine from /home/username to /usr/home/username?

Either will work with Samba, but if you leave out the path = line in the homes share, Samba will default to whatever their home directory is assigned in Linux.
When first getting Samba to work, it's often easier to just let Samba use it's defaults. Then make changes to suit your needs.
I'd remark out the path = line in [homes] until you get everything working, then make changes if you want.

Just a suggestion.

mrmoo2
10-11-2002, 10:31 AM
Actually the smb.conf file I posted was an older version. I had corrected the path, actually removed it and used the default as you suggested.

I did logon to the win 98 machine using the id/psw that I had used on the win2k and wa lah...was able to map the share on Samba. I also used the win98 id on the win2k and it didn't work. So I scratched the account from Linux and Samba, rebuilt them and now all is happiness. I thought I had already done that, but who knows. I actually didn't delete them I just tried to update the password on Samba and perhaps it didn't take.

But in any case thanks for your suggestion!!!!

cowanrl
10-11-2002, 12:14 PM
You're welcome.