Red Hat Bugzilla – Bug 505381
can't use autofs with ldap
Last modified: 2009-10-07 23:29:13 EDT
Description of problem:
I just upgrade client from F9 to F11 and my autofs setup doesn't work anymore.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. i go to my automount path
2. i got
-bash: cd: /mci/mci/doutrele: Aucun fichier ou dossier de ce type
i should go in my directory
Here is the message i got on the /var/log/messages
do_bind: lookup(ldap): ldap anonymous bind returned 0
Jun 11 19:26:49 b008-04 automount: get_query_dn: lookup(ldap): found query dn ou=auto.mci.mci,ou=auto.mci,ou=automount,dc=int-evry,dc=fr
Jun 11 19:26:49 b008-04 automount: open_parse:168: lookup(ldap): cannot open parse module dc=fr (/usr/lib/autofs/parse_dc=fr.so: cannot open shared object file: No such file or directory)
here is my ldap config
auto.master has the following entry
the branch ou=auto.mci,ou=automount,dc=int-evry,dc=fr
contains an entry
which contains the informations
and the branch ou=auto.mci.mci,ou=auto.mci,ou=automount,dc=int-evry,dc=fr
contains the entry
which contains the information
it seems that the parse_ldap module can't parse the automountInformation entry
i grab the src.rpm of the 10 version
and it worked like a charm.
(In reply to comment #0)
> Description of problem:
> I just upgrade client from F9 to F11 and my autofs setup doesn't work anymore.
Can you provide the full debug log please.
Created attachment 347519 [details]
Think I've worked out what's going wrong.
I've built a package that I think will resolve the problem.
I've requested it be pushed to testing, in the meantime the
build can be found here:
Please test this out.
I just grab the packages and it seems to solve the problem
thank u very much for the prompt answer
(In reply to comment #5)
> I just grab the packages and it seems to solve the problem
> thank u very much for the prompt answer
Yeah, that will serve you for now but that parse function
still needs more work.
By the look of it I did end up fixing this properly in revision
31 and the latest update is now 38.
So making this as closed CURRENTRELEASE, if you do still have a
problem with the latest update please re-open this bug.