Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autofs ldap amd64 broken?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thaper
n00b
n00b


Joined: 06 Nov 2004
Posts: 42

PostPosted: Wed Jan 21, 2009 10:07 pm    Post subject: autofs ldap amd64 broken? Reply with quote

has anybody seen this ldap error?
I ldd the libs and there is no krb5 lib invloved...

open_lookup:95: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: krb5_get_init_creds_keytab)

thanks
Back to top
View user's profile Send private message
thaper
n00b
n00b


Joined: 06 Nov 2004
Posts: 42

PostPosted: Thu Jan 22, 2009 4:33 pm    Post subject: Reply with quote

USE=-sasl emerge autofs

Fixed this problem.
Back to top
View user's profile Send private message
theCoder
n00b
n00b


Joined: 03 Mar 2003
Posts: 39
Location: Florida, USA

PostPosted: Mon May 18, 2009 1:27 am    Post subject: Reply with quote

I had the same problem after upgrading to autofs-5.x. Emerging with the "sasl" use flag caused the missing symbol problem in lookup_ldap.so. I even tried re-emerging openldap with the kerberos use flag to see if that would help, but it did not. My autofs is working now, but I don't think it's connecting to the LDAP server over ldaps. Should a bug report be filed for this?

Also, I had to add "+ldap:auto.master" to /etc/autofs/auto.master before autofs would read anything from LDAP (at least I think that's still necessary -- I tried lots of things to get autofs working again).

One final thing -- if anyone is having problems with autofs-5.x and a message talking about missing a kernel protocol version 5 (or something similar), then you have both autofs and autofs4 compiled (or loaded as modules) at the same time. You have to recompile and not select both options. You can compile both as modules, but just load the "autofs4" module. At least that worked for me.
Back to top
View user's profile Send private message
pharaoh
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 211
Location: Pennsylvania

PostPosted: Tue Sep 15, 2009 2:56 am    Post subject: Reply with quote

theCoder wrote:
One final thing -- if anyone is having problems with autofs-5.x and a message talking about missing a kernel protocol version 5 (or something similar), then you have both autofs and autofs4 compiled (or loaded as modules) at the same time. You have to recompile and not select both options. You can compile both as modules, but just load the "autofs4" module. At least that worked for me.

This worked for me too, good call!
_________________
RYZEN 5 3600 Matisse (Zen 2) 6-Core 3.6 GHz Socket AM4 65W
ASRock B550M PRO4
Crucial Ballistix 3200 MHz DDR4 DRAM 16GB
EVGA GeForce GTX 1060 6GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum