Logging in to Samba

J.W. Fox jwfox at adelphia.net
Tue Jul 20 18:33:09 GMT 1999

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

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

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

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