Samba: the account is not authorized to log in

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sat Jun 23 20:23:11 UTC 2007


Paul Smith wrote:
> On 6/23/07, Mikkel L. Ellertson <mikkel at infinity-ltd.com> wrote:
>> > I cannot connect from a Windows2000 virtual machine (VMware Server) to
>> > a samba directory, as I get (in Windows2000) the following message:
>> >
>> > "The account is not authorized to log in from this station". The
>> > output of 'testparm' is below.
>> >
>> > Any ideas?
>>
>> Dumb question - did you add the user you want to log in as using
>> "smbpasswd -a"? Samba has to maintain its own password database when
>> using encrypted passwords because Windows Networking uses a
>> different encryption algorithm. (You can configure Samba to use a
>> domain controller instead for passwords...)
> 
> Thanks, Mikkel. Yes, I did use "smbpasswd -a". Any further ideas?
> 
> Paulo
> 
I missed it the first time I looked - you are not using encrypted
passwords. (encrypt passwords = no ) If I remember correctly,
Windows 2k will not use plain text passwords without a registry
patch. So you are going to want to change your Samba config to use
encrypted passwords.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list