Ashvin Mysore
1999-Jun-18 07:30 UTC
Problem with Samba: "The account is not authorized to login from this station"
I am having a problem configuring Samba to work with my NT mahcines. I can see the linux server from my NT machines. Under security=user, when I attempt to browse the linux machine's shares, it asks for a username and password, and then fails, telling me "The account is not authorized to login from this station." If I set security = share, I can browse the shares, but when I try and open my home directory, it gives me the same error. All this is using the default smb.conf (that came with RedHat 5.1) except for a change in the workgroup name. Ideas? -- ------------------------------ A s h v i n M y s o r e Netscape (4.0+) Website: http://ashvin.flatirons.org/ Netscape Enhanced EMail: ashvin@babylonia.flatirons.org "Babylon 5 was the last of the Babylon stations. There would never be another. It changed the future, and it changed us. It taught us that we had to create the future, or others will do it for us. It showed us that we have to care for each other, because if we don't, who will? And that strength sometimes comes from the most unlikely of places. Mostly, though, I think it gave us hope that there can always be new beginnings, even for people like us. As for Delenn, every morning for as long as she lived, Delenn got up before dawn and watched the sun come up..." -- Susan Ivanova, Babylon 5, _Sleeping in Light_ -----------------------------
Levent Gündogdu
1999-Jun-18 10:20 UTC
Problem with Samba: "The account is not authorized to login from this
Hi Ashvin! Either use smbpasswd -a [username] [password] to add an encrypted password to the smbpasswd-file and use encrypted passwords = yes in the smb.conf or just use NT4_PlainTextPassword.reg, which resides in the docs directory of the samba distribution. Let me know if it helped. Bye, Levent> I am having a problem configuring Samba to work with my NT mahcines. I > can see the linux server from my NT machines. Under security=user, when > I attempt to browse the linux machine's shares, it asks for a username > and password, and then fails, telling me "The account is not authorized > to login from this station." If I set security = share, I can browse the > shares, but when I try and open my home directory, it gives me the same > error. All this is using the default smb.conf (that came with RedHat > 5.1) except for a change in the workgroup name. >
Levent Gündogdu
1999-Jun-19 19:45 UTC
Problem with Samba: "The account is not authorized to login from this
Hi Asvhin! Puh! I`m getting tired to answer the same questions all the time. How about putting together a FAQ and post it regularly to this list? Well, Samba uses clear text passwords by default. There are two ways to fix this: the first, more simple way, is to enable clear text passwords of all clients. Use the NT4_PlainPassword.reg file, which resides in the docs directory of your samba distribution. After a reboot, all NT machines should be able to use shares (and home directories) of the server with security = user. The second way is to enable encrypted passwords with samba. I`m using Samba 2.0.4 to accomplish this. You also need to add each users password via "smbpasswd -a [user] [password]" (without the quotes) to make samba store the password hashes. Hope it helps. (Please put this into the FAQ, I`ve answered this many times... Thanks.) Bye, Levent.> I am having a problem configuring Samba to work with my NT mahcines. I > can see the linux server from my NT machines. Under security=user, when > I attempt to browse the linux machine's shares, it asks for a username > and password, and then fails, telling me "The account is not authorized > to login from this station." If I set security = share, I can browse the > shares, but when I try and open my home directory, it gives me the same > error. All this is using the default smb.conf (that came with RedHat > 5.1) except for a change in the workgroup name. >