Question Regarding AutoFS and LDAP
Hello,
I am trying to using LDAP with AutoFS to mount a centralized home
directory structure on various nodes, and it isn't working. As far as I know I have created all the objects in the LDAP directory correctly. But I get the following message in the /var/log/messages file when I start AutoFS
lookup_init: lookup(ldap): failed to get query dn
I know this has been discuessed before, but I have not been able find
what the resolution was. I have AutoFS running on Fedora Core 6 with OpenLDAP
Jacques VB Voris IV
ScreenPC
This message and any accompanying attachments contains information from ScreenPC, Inc. that is confidential and/or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify the sender immediately by reply email and destroy all copies of the original email.
==> On Thu, 24 May 2007 12:28:11 -0400, "Jacques VB Voris IV" <[email protected]> said:
Jacques> Hello,
Jacques> I am trying to using LDAP with AutoFS to mount a centralized home
Jacques> directory structure on various nodes, and it isn't working. As far as I know Jacques> I have created all the objects in the LDAP directory correctly. But I get Jacques> the following message in the /var/log/messages file when I start AutoFS
Jacques> lookup_init: lookup(ldap): failed to get query dn
Jacques> I know this has been discuessed before, but I have not been able find
Jacques> what the resolution was. I have AutoFS running on Fedora Core 6 with Jacques> OpenLDAP
Let's start with the basics:
What version of autofs?
grep "^automount" /etc/nsswitch.conf
get us your /etc/sysconfig/autofs file and /etc/auto.master
We may also need a debug log. You can find information on how to generate one on my people page:
http://people.redhat.com/jmoyer
Look for the section entitled, "Filing bug reports."
Thanks!
Jeff
Jeff,
Thank you for your prompt response. I was able to figure out what I was
doing wrong after taking another look at the /etc/sysconfig/autofs.
Jacques VB Voris IV
ScreenPC
101 Merritt 7
5th Floor
Norwalk, CT 96851
(E) [email protected]
(P) 203-842-0460 x606
This message and any accompanying attachments contains information from ScreenPC, Inc. that is confidential and/or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify the sender immediately by reply email and destroy all copies of the original email. ----- Original Message -----
From: "Jeff Moyer" <[email protected]>
To: "Jacques VB Voris IV" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, May 24, 2007 12:53 PM
Subject: Re: [autofs] Question Regarding AutoFS and LDAP
Quoted 40 lines
==> On Thu, 24 May 2007 12:28:11 -0400, "Jacques VB Voris IV" <[email protected]> said:
Jacques> Hello,
Jacques> I am trying to using LDAP with AutoFS to mount a centralized
home
Jacques> directory structure on various nodes, and it isn't working. As far as I know
Jacques> I have created all the objects in the LDAP directory correctly. But I get
Jacques> the following message in the/var/log/messagesfile when I start AutoFSJacques>
lookup_init: lookup(ldap): failed to get query dnJacques> I know this has been discuessed before, but I have not been
able find
Jacques> what the resolution was. I have AutoFS running on Fedora Core 6 with
Jacques> OpenLDAPLet's start with the basics:
What version of autofs?
grep "^automount"/etc/nsswitch.confget us your
/etc/sysconfig/autofsfile and/etc/auto.masterWe may also need a debug log. You can find information on how to generate one on my people page:
http://people.redhat.com/jmoyer
Look for the section entitled, "Filing bug reports."
Thanks!
Jeff
==> On Thu, 24 May 2007 13:09:01 -0400, "Jacques VB Voris IV" <[email protected]> said:
Jacques> Jeff,
Jacques> Thank you for your prompt response. I was able to figure out what I
Jacques> was doing wrong after taking another look at the /etc/sysconfig/autofs.
Great. Is there anything that we could have put in the documentation that would have helped you avoid this configuration problem?
Thanks,
Jeff