strange pam behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

  I've got an strange problem using sshd against my Solaris 8, padl pam &
nss, ldap.  Using su pam is quite happy to load the pam_openldap.so.1 module
and authenticate, but sshd loading the same module says it can't load it.
I've run ldd -crvl against pam_openldap.so.1 and it's finding everything.
Anyone have any ideas what is going on?  I've included the pam debug for the
su and the sshd below.

Thanks,

Kathleen


 sshd - pam debug output

Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 859314 auth.debug]
pam_set_item(5)
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 942022 auth.debug]
pam_setcred()
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 305314 auth.debug]
load_modules: /usr/lib/security/pam_unix.so.1
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 265225 auth.debug]
load_function: successful load of pam_sm_setcred
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 305314 auth.debug]
load_modules: /usr/lib/security/pam_openldap.so.1
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 401707 auth.debug]
open_module: /usr/lib/security/pam_openldap.so.1 failed: Bad file number
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 487707 auth.error]
load_modules: can not open module /usr/lib/security/pam_openldap.so.1
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 897377 auth.debug]
pam_setcred: load_modules failed
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 800047 auth.crit] fatal: PAM
setcred failed[1]: Dlopen failure
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 924963 auth.debug]
pam_close_session()
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 305314 auth.debug]
load_modules: /usr/lib/security/pam_unix.so.1
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 265225 auth.debug]
load_function: successful load of pam_sm_close_session
Feb  7 16:52:58 etcsolldapc01 sshd[29308]: [ID 690057 auth.debug] pam_end():
status = Success

  su - pam debug output

Feb  7 16:54:09 etcsolldapc01 PAM: [ID 702575 auth.debug] pam_start(su
tstusr) - debug = 1
Feb  7 16:54:09 etcsolldapc01 PAM: [ID 859314 auth.debug] pam_set_item(1)
Feb  7 16:54:09 etcsolldapc01 PAM: [ID 859314 auth.debug] pam_set_item(2)
Feb  7 16:54:09 etcsolldapc01 PAM: [ID 859314 auth.debug] pam_set_item(5)
Feb  7 16:54:09 etcsolldapc01 PAM: [ID 859314 auth.debug] pam_set_item(3)
Feb  7 16:54:09 etcsolldapc01 PAM: [ID 859314 auth.debug] pam_set_item(4)
Feb  7 16:54:09 etcsolldapc01 su: [ID 366847 auth.info] 'su tstusr'
succeeded for kduling on /dev/pts/4
Feb  7 16:54:09 etcsolldapc01 su[29313]: [ID 942022 auth.debug]
pam_setcred()
Feb  7 16:54:09 etcsolldapc01 su[29313]: [ID 305314 auth.debug]
load_modules: /usr/lib/security/pam_openldap.so.1
Feb  7 16:54:09 etcsolldapc01 su[29313]: [ID 265225 auth.debug]
load_function: successful load of pam_sm_setcred
Feb  7 16:54:09 etcsolldapc01 su[29313]: [ID 305314 auth.debug]
load_modules: /usr/lib/security/pam_unix.so.1
Feb  7 16:54:09 etcsolldapc01 su[29313]: [ID 265225 auth.debug]
load_function: successful load of pam_sm_setcred
Feb  7 16:54:09 etcsolldapc01 su[29313]: [ID 690057 auth.debug] pam_end():
status = Success





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux