Re: [SLUG] SMB User Passwords Not working

From: Knowles Burrell (kburrell3@gmail.com)
Date: Tue Aug 31 2004 - 12:34:29 EDT


> First off, does the guest account "samba" exist on your system?
Do I need to have a user samba? or simply a directory for it?

> what's in your pam file for samba?
#%PAM-1.0
# pam_smbpass.so authenticates against the smbpasswd file
auth required pam_smbpass.so nodelay
account required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
password required pam_smbpass.so nodelay smbconf=/etc/samba/smb.conf

> If there are pam_smbpasswd.so lines...
> Is there anything in your /etc/samba/smbpasswd file, like:
> root:0:lanman hash:nt hash:[flags]:lastchanged
Yes

> When was the file last updated? If you run smbpasswd to change
> the root password, does the file get modified?
Original date was 8-29-04 I changed it again by running smbpasswd -a
root and put in a totally new password that is shorter than the
original and the date did change to 8-31-04 but the file size did not
which seemed odd to me.

> Otherwise, it's probably using your system root password. Is that
> what you've been trying?
I have tired it as well as other, currently from the notes above it is
different.

> Have you run smbclient with increased debugging (-d 4 for example)
>
> What happens when you do:
> smbclient //127.0.0.1/HPDeskJet -U root -d 4
Same result but it seems to be connecting to the printer.

Knowles
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:53:14 EDT