[Samba] pam and solaris and bumps in the night
David Shapiro
David.Edward.Shapiro at bti.com
Fri Nov 1 22:05:01 GMT 2002
Hello,
I am trying to use pam and samba together on a solaris 7 server. I tried to
pam.conf described in the HOWTO but I get the following errors:
open_module: stat(/usr/lib/security/pam_winbind.so) failed: No such file or
direct
ory
Nov 1 10:16:52 raven sshd[22222]: open_module:
stat(/usr/lib/security/pam_winbind.so) failed: No such file or direct
ory
Nov 1 10:16:52 raven sshd[22222]: load_modules: can not open module
/usr/lib/security/pam_winbind.so
Nov 1 10:16:52 raven sshd[22222]: load_modules: can not open module
/usr/lib/security/pam_winbind.so
I check /usr/lib/security and saw that pam_winbind.so is in that folder. If
I use the module, nobody can log in with any services (ftp, ssh, etc.). My
pam.conf looks as follows right now:
#ident "@(#)pam.conf 1.14 99/09/16 SMI"
#
# Copyright (c) 1996-1999, Sun Microsystems, Inc.
# All Rights Reserved.
#
# PAM configuration
#
# Authentication management
#
login auth sufficient /usr/lib/security/$ISA/pam_winbind.so
login auth required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass
login auth required /usr/lib/security/$ISA/pam_dial_auth.so.1
try_first_pass
#
sshd auth sufficient /usr/lib/security/$ISA/pam_winbind.so
sshd auth required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass
sshd auth required /usr/lib/security/$ISA/pam_dial_auth.so.1
try_first_pass
#
dtlogin auth sufficient /usr/lib/security/pam_winbind.so
dtlogin auth required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass
#
other auth sufficient /usr/lib/security/pam_winbind.so
other auth required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass
#
# Account management
#
login account sufficient /usr/lib/security/$ISA/pam_winbind.so
login account requisite /usr/lib/security/$ISA/pam_roles.so.1
login account required /usr/lib/security/$ISA/pam_unix.so.1
#
sshd account sufficient /usr/lib/security/$ISA/pam_winbind.so
sshd account requisite /usr/lib/security/$ISA/pam_roles.so.1
sshd account required /usr/lib/security/$ISA/pam_projects.so.1
sshd account required /usr/lib/security/$ISA/pam_unix.so.1
#
dtlogin account sufficient /usr/lib/security/$ISA/pam_winbind.so
dtlogin account requisite /usr/lib/security/$ISA/pam_roles.so.1
dtlogin account required /usr/lib/security/$ISA/pam_unix.so.1
#
other account sufficient /usr/lib/security/pam_winbind.so
other account requisite /usr/lib/security/$ISA/pam_roles.so.1
other account required /usr/lib/security/$ISA/pam_unix.so.1
#
# Session management
#
other session required /usr/lib/security/$ISA/pam_unix.so.1
sshd session required /usr/lib/security/$ISA/pam_unix.so.1
#
# Password management
#
#other password sufficient /usr/lib/security/pam_winbind.so
other password required /usr/lib/security/$ISA/pam_unix.so.1
dtsession auth required /usr/lib/security/$ISA/pam_unix.so.1
More information about the samba
mailing list