FS#24235 - [autofs] cannot integrate with ldap

Attached to Project: Community Packages
Opened by Eric Liu (hnws) - Thursday, 12 May 2011, 00:07 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 15 May 2011, 17:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I use autofs and nfsv4 and autofs in production env. And after switch to krb5, autofs cannot automount my home.


Additional info:
* package version(s) community/autofs 5.0.5-6 (All is up to date without testing)
* config and/or log files etc.

251 May 12 07:52:25 hk102 automount[3287]: open_lookup:90: cannot open lookup module ldap (/usr/lib/autofs/lookup_ldap.so: undefined symbol: krb5_get_init_creds_keytab)
252 May 12 07:52:25 hk102 automount[3287]: open_lookup:90: cannot open lookup module ldap (/usr/lib/autofs/lookup_ldap.so: undefined symbol: krb5_get_init_creds_keytab)
253 May 12 07:52:25 hk102 automount[3287]: open_lookup:90: cannot open lookup module ldap (/usr/lib/autofs/lookup_ldap.so: undefined symbol: krb5_get_init_creds_keytab)


Steps to reproduce:

1. Since I use automount to mount my home, just login.
2. I have no file in home.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Sunday, 15 May 2011, 17:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 5.0.5-7.
Comment by Eric Liu (hnws) - Thursday, 12 May 2011, 07:07 GMT
Finally, I got it worked by applying these patches.

Reference: bug report for Fedora.

Bug 615386 – automount[3035]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: krb5_get_init_creds_keytab)
https://bugzilla.redhat.com/show_bug.cgi?id=615386
Comment by Jelle van der Waa (jelly) - Friday, 13 May 2011, 08:21 GMT
please also report it upstream ;)
Comment by Lukas Fleischer (lfleischer) - Friday, 13 May 2011, 11:15 GMT
hnws: I cherry picked these patches from the upstream Git repository and included patches in our package. Could you please test [1], [2] and signoff?

jelly: This has already been fixed in the master branch.

[1] http://cryptocrack.de/tmp/autofs-5.0.5-7-i686.pkg.tar.xz
[2] http://cryptocrack.de/tmp/autofs-5.0.5-7-x86_64.pkg.tar.xz
Comment by Eric Liu (hnws) - Friday, 13 May 2011, 12:17 GMT
signoff x86_64 since I don't have 32bit environment.

Loading...