Re: dlopen(pam)

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

 



Hi Annette,

both symbols (pam_get_item and _pam_make_env) are defined in libpam.so.0, which then logs the error message. I'm going to check the pam sources.

Regards,

Ondrej

(pts/2)osvetlik@osvetlik:~> objdump -T /lib/libpam.so.0 | grep pam_make_env
00004b00 g    DF .text  000000ed  Base        _pam_make_env

(pts/2)osvetlik@osvetlik:~> objdump -T /lib/libpam.so.0 | grep pam_get_item
000019b0 g    DF .text  000000dd  Base        pam_get_item

Annette Meriste wrote:
Hi Ondrej,


Try an nm <module> and look where the function (pam_get_item and _pam_make_env) is declared. All functions which you define should have a memory address. Just got recently a similar problem when i misspelled a function name, may nm will help you solve this problem.


Regards,
Annette

Nov 3 17:17:19 osvetlik auth_test_pam: PAM unable to dlopen(/lib/security/pam_securetty.so)
Nov 3 17:17:19 osvetlik auth_test_pam: PAM [dlerror: /lib/security/pam_securetty.so: undefined symbol: pam_get_item]
Nov 3 17:17:19 osvetlik auth_test_pam: PAM adding faulty module: /lib/security/pam_securetty.so
Nov 3 17:17:19 osvetlik auth_test_pam: PAM unable to dlopen(/lib/security/pam_stack.so)
Nov 3 17:17:19 osvetlik auth_test_pam: PAM [dlerror: /lib/security/pam_stack.so: undefined symbol: _pam_make_env]
Nov 3 17:17:19 osvetlik auth_test_pam: PAM adding faulty module: /lib/security/pam_stack.so
Nov 3 17:17:19 osvetlik auth_test_pam: PAM unable to dlopen(/lib/security/pam_nologin.so)
Nov 3 17:17:19 osvetlik auth_test_pam: PAM [dlerror: /lib/security/pam_nologin.so: undefined symbol: pam_get_item]
Nov 3 17:17:19 osvetlik auth_test_pam: PAM adding faulty module: /lib/security/pam_nologin.so
Nov 3 17:17:19 osvetlik auth_test_pam: PAM unable to dlopen(/lib/security/pam_console.so)
Nov 3 17:17:19 osvetlik auth_test_pam: PAM [dlerror: /lib/security/pam_console.so: undefined symbol: pam_get_item]
Nov 3 17:17:19 osvetlik auth_test_pam: PAM adding faulty module: /lib/security/pam_console.so




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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

  Powered by Linux