Hi Dave,
I had a similar issue on my RedHat 7.3 box. If I'm understanding
correctly though, I could log in root and what not fine through Telnet
and what not, but not for the purpose of trying to access shares. It
worked before I joined the domain, but for some reason it didn't work
afterwards. Turns out I forgot to add the UNIX users into the smbpasswd
file.
Anwyays, I'm enclosing my config files for connecting to the server for
various services via winbind/PAM. Hope it helps!
Regards,
Scott
::::::::::::::
ftp
::::::::::::::
#%PAM-1.0
auth required /lib/security/pam_listfile.so item=user
sense=deny file/etc/ftpusers onerr=succeed
auth sufficient /lib/security/pam_winbind.so
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_shells.so
account sufficient /lib/security/pam_winbind.so
account required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
::::::::::::::
login
::::::::::::::
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth sufficient /lib/security/pam_winbind.so
auth sufficient /lib/security/pam_unix.so use_first_pass
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
account sufficient /lib/security/pam_winbind.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_console.so
session required /lib/security/pam_mkhomedir.so skel=/etc/skel
-----Original Message-----
From: Dave Morrow [mailto:David.Morrow@autodata.net]
Sent: Friday, November 15, 2002 3:52 PM
To: 'samba@lists.samba.org'
Subject: [Samba] Winbind and Samba
Hi all, I was wondering if someone could lend a little assistance.
I recently setup SAMBA/Winbind to allow users to login to a Redhat 8 box
using their Windows NT Domain credentials. All is working well in that
regard.
The issue I am having is getting regular UNIX based users to be able to
login. The following is my PAM configuration. For example, if I try to
login as root, it does not work. Any assistance would be greatly
appreciated.
#%PAM-1.0
auth required /lib/security/pam_securetty.so
#auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
auth sufficient /lib/security/pam_winbind.so
#account required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_pwdb.so use_first_pass shadow
nullok
account required /lib/security/pam_winbind.so
session required /lib/security/pam_pwdb.so
session required /lib/security/pam_mkhomedir.so skel=/etc/skel
umask=0022
password required /lib/security/pam_pwdb.so
#password required /lib/security/pam_stack.so service=system-auth
#session required /lib/security/pam_stack.so service=system-auth
#session optional /lib/security/pam_console.so
David Morrow
Network Administrator
Autodata Solutions Company
Ph: (519) 951-6067 Fax: (519) 451-6615
mailto: David.Morrow@autodata.net
"Poor planning on your part does not necessitate an emergency on my
part."
This message has originated from Autodata Solutions Company. The
attached
material is the Confidential and Proprietary Information of Autodata
Solutions Company. This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to
whom they are addressed. If you have received this email in error please
delete this message and notify the Autodata system administrator at
Administrator@autodata.net
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba