Samba: the account is not authorized to log in

Paul Smith phhs80 at gmail.com
Sat Jun 23 21:52:21 UTC 2007


On 6/23/07, Paul Smith <phhs80 at gmail.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?
> > > >
> > > 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.
> >
> > I think there is here a bug. In fact, I was able at the end to have
> > the shared directory being shared between F7 and Windows2000 (VMware
> > Server). However, the problem returns after a reboot. Any comments?
>
> Indeed, it is a bug: after every reboot I have to set the shared
> directory visible.

Filed the bug in Bugzilla meanwhile:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245482

Paul




More information about the fedora-list mailing list