Summary: | undefined symbol: pam_get_item | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benjamin <benjamin200> |
Component: | New packages | Assignee: | PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 123405 | ||
Bug Blocks: |
Description
Benjamin
2005-03-18 09:04:52 UTC
*** Bug 85788 has been marked as a duplicate of this bug. *** Looks like its not linking against libpam. > Looks like its not linking against libpam. Which one is the right libpam? # locate libpam /lib/libpam.so /lib/libpamc.so.0.77 /lib/libpamc.so /lib/libpamc.so.0 /lib/libpam_misc.so.0.77 /lib/libpam_misc.so /lib/libpam_misc.so.0 /lib/libpam.so.0 /lib/libpam.so.0.77 /usr/lib/libpam.so /usr/lib/libpamc.a /usr/lib/libpamc.so /usr/lib/libpam_misc.a /usr/lib/libpam_misc.so /usr/lib/libpam.a Can you please give me the detailed command to link the libpam korrekt? A clean install of pma_mysql doesn't help. P.S. Sorry for opening the BUG REPORT twice times (Bug 85788), it was a typo. Thx, Ben >Can you please give me the detailed command to link
>the libpam korrekt? A clean install of pma_mysql doesn't help.
Hello,
I configure the mail-server to reduce the error messages which occurs by miss-configuration. The problem...
root@server benjamin # ldd -r /lib/security/pam_mysql.so
linux-gate.so.1 => (0xffffe000)
libz.so.1 => /lib/libz.so.1 (0xb7fda000)
libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0xb7f9a000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f6b000)
libc.so.6 => /lib/libc.so.6 (0xb7e56000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7e40000)
libm.so.6 => /lib/libm.so.6 (0xb7e1d000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7dec000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7cef000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libdl.so.2 => /lib/libdl.so.2 (0xb7cea000)
undefined symbol: pam_get_item (/lib/security/pam_mysql.so)
undefined symbol: pam_set_item (/lib/security/pam_mysql.so)
undefined symbol: pam_strerror (/lib/security/pam_mysql.so)
undefined symbol: pam_get_user (/lib/security/pam_mysql.so)
root@server benjamin #
... still occur's. I think we should leave this BUG open until the need libaries are all linked correct. Many thanks to langthang who help me to fix the problem in the configuration on the mail-server!
Thank,
Benjamin
Hello, It seems you have two problems (not sure, to be tested). First, in your log, cyrus-auth wants to access directly to mysql database thanks to this kind of smtp.conf config file : wcheck_method: saslauthd auxprop mech_list: login plain auxprop_plugin: sql sql_engine: mysql sql_hostnames: localhost sql_user: postfix sql_database: postfix sql_passwd: postfix sql_select: select password from mailbox where username = '%u@%r' If you want to use pam_mysql module, it will be suitable to have this : pwcheck_method:pam log_level: 3 Second, You're right. The pam_mysql librairy doesn't seem to be correctly linked. I have corrected this on the 123405 bugg Cyrius |