Win2000 can't access Linux Box
Hi All,
I tried looking over the man pages for samba, but I am stuck. I can see my linux box from Win2000, but I get this error from the Win2000 box "//machine_name is not accessible The account is not authorized to log in from this station" Do I need to create a username in Linux that is identical to a username in linux? Can this user be Administrator? What else should I try? I'm stuck. I have successfully set up sharing the Win2000 drive to linux, but can't seem to go the other way. Thanks for any help. Jon |
You need samba user. Use smbadduser.
|
I used smbadduser. Not really sure how to use it properly though.
I want to allow Administrator from Win2000 to access the linux box. When I typed smbadduser it states that I must use "unixid:ntid". I typed: 'smbadduser jon:Administrator', where jon is a real user on the linuxbox and Administrator is the win2000 user. What is the proper way to add Administrator? Many thanks. Jon |
It's Ok. Now you need to create password for Administrator : smbpasswd
|
No luck yet. When I typed 'smbpasswd Administrator' as root I get a "failed to change password" error. If I try the same command as user jon it just asks for the old password and that's it. Any Ideas?
Jon |
in the global area in your smb.conf file you need to enable password encryption. windows 2000 does this by default and samba does not do this by default. so in your global section ad a line like this
encrypt passwords = yes smb passwd file = /etc/smbpasswd your other option is to disable encryption in your windows 2000 registry but i can't remember how to do that off the top of my head. -jon |
that did it! Thanks for the help everyone.
Jon |
All times are GMT -5. The time now is 04:28 PM. |