LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Win2000 can't access Linux Box (https://www.linuxquestions.org/questions/linux-networking-3/win2000-cant-access-linux-box-20317/)

jonfa 05-06-2002 10:39 AM

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

Mara 05-06-2002 10:53 AM

You need samba user. Use smbadduser.

jonfa 05-06-2002 11:11 AM

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

Mara 05-06-2002 11:14 AM

It's Ok. Now you need to create password for Administrator : smbpasswd

jonfa 05-06-2002 11:19 AM

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

jonnyjonjon 05-06-2002 12:41 PM

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

jonfa 05-06-2002 12:59 PM

that did it! Thanks for the help everyone.

Jon


All times are GMT -5. The time now is 04:28 PM.