[Samba] The account is not authorized to login from this station
Andrew Bartlett
abartlet at samba.org
Fri Jan 10 05:19:01 GMT 2003
On Thu, Jan 09, 2003 at 11:44:41PM -0500, Bradley W. Langhorst wrote:
> On Thu, 2003-01-09 at 23:33, Amit Sharma wrote:
> > I have a simple smb.conf file:
> >
> > [global]
> > hosts allow = ALL
> >
> > [tmp]
> > user = root
> get rid of this line
>
> > comment = temporary files
> > path = /tmp
> > read only = yes
> > root = amits
> this makes no sense - get rid of this too
Agreed.
> >
> > command:> net use f: \\smbserver\tmp <user>, <password>
> >
> > error:> System error 1240 has occured.
> > The account is not authorized to login from this station
>
> you need to have <user> in both /etc/passwd and /etc/smbpasswd for
> logons to work.
> make sure you set the password with
> smbpasswd <user> so you know what it is.
>
> (the samba password does not have to be the same as the unix password)
In Samba < 3.0 you must set 'encrypt passwords = yes' to use the smbpasswd file.
Andrew Bartlett
More information about the samba
mailing list