Logging in to Samba

Chris Tooley ctooley at joslyn.org
Tue Jul 20 19:21:34 GMT 1999


I haven't been using a smbpasswd file because we haven't needed to.  Most of
the machines are logging in fine without having the smbpasswd file set up.
Here is a copy of our Global section of the smb.conf file.  And yes they all
have a password that is longer than 8 characters.  I suppose that is a rule
that I somehow missed.  If so, where would I find it?

Chris

>Chris,

>Is it possible that only the users who cannot authenticate have passwords
>greater than 8 characters?

>michael

"J.W. Fox" wrote:

> On Wed, 21 Jul 1999, Chris Tooley wrote:
>
> > Hello,
> >
> >     I have Samba 2.03 running as a PDC and have a bunch of workstations
> > logging in to it.  I have a script mapping drives and setting the time
> > and some other fluff functions, but some people can't get Samba to
> > authenticate them.  I get an error message that says "Your password is
> > incorrect ...", I know the password is correct obviously and I know that
> > user can reach the machine, it just seems like the communication is just
> > taking too long and Windows or Samba is giving up.  I've created an
> > LMHOSTS file to try to give Windows a hand, but to no avail.  Any
> > suggestions would be wonderful.
> >
> > Chris Tooley
> >
> > Software Specialist
> > Joslyn Art Museum
> > 2200 Dodge St
> > Omaha, NE  68102
> > Office:  (402)342-3300    Fax: (402)342-2376
> > ctooley at joslyn.org
> >
> Chris,
>
> Do you have your smbpasswd file setup correctly?  If you don't have this
> file setup correctly then you won't be able to authenticate.
>
> To generate the smbpasswd file from you /etc/passwd file use the following
> command:
>
> cat /etc/passwd | mksmbpasswd.sh >/usr/local/samba/private/smbpasswd
>
> or if running on a system that uses NIS, use
>
> ypcat passwd | mksmbpasswd.sh >/usr/local/samba/private/smbpasswd
>
> This is taken from the ENCRYPTION.txt file available from the samba ftp
> site.
>
> This may be the issue, but we don't have enough information at this time.
> Could you include the global section of your smb.conf file?
>
> J.W. Fox
> KTLN Computing
> Systems Engineer
> jwfox at adelphia.net



More information about the samba-ntdom mailing list