All of lore.kernel.org
 help / color / mirror / Atom feed
* Autofs 4->5 with LDAP problems
@ 2008-08-22 15:09 Rob Horton
  2008-08-22 16:01 ` Jeff Moyer
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Horton @ 2008-08-22 15:09 UTC (permalink / raw)
  To: autofs

Hi,

I'm having problems getting autofs5 to work with LDAP. We have a setup
which works fine with autofs4 clients. Initially automount was
complaining that it could not find the auto.master information, but
after fiddling with the DEFAULT_MAP_OBJECT_CLASS etc entries it starts
without error but doesn't appear to actually do anything (and there is
no automount process). Despite turning on debugging and giving the -v
and -d options I can't get any useful logging to find out what the
problem is. Here's a sample of the LDAP objects:

# auto.master, maths.qmul.ac.uk
dn: ou=auto.master,dc=maths,dc=qmul,dc=ac,dc=uk
ou: auto.master
objectClass: top
objectClass: automountMap

# /misc, auto.master, maths.qmul.ac.uk
dn: cn=/misc,ou=auto.master,dc=maths,dc=qmul,dc=ac,dc=uk
objectClass: automount
automountInformation: ldap:ou=auto.misc,dc=maths,dc=qmul,dc=ac,dc=uk
-browse
cn: /misc

# orac_raid0, auto.misc, maths.qmul.ac.uk
dn: cn=orac_raid0,ou=auto.misc,dc=maths,dc=qmul,dc=ac,dc=uk
objectClass: automount
cn: orac_raid0
automountInformation:
-rw,hard,rsize=32768,wsize=32768,tcp,lock,intr,quota    
    orac:/orac/raid0


/etc/sysconfig/autofs:

DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="ou"
DEFAULT_ENTRY_ATTRIBUTE="automountInformation"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"
OPTIONS="--debug"

We're running autofs-5.0.1 from Scientific Linux (RHEL clone) 5.1. I'd
be grateful if anyone can spot a problem with the setup, or at least
suggest how to get some more verbose output.

Thanks,
Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-23 10:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 15:09 Autofs 4->5 with LDAP problems Rob Horton
2008-08-22 16:01 ` Jeff Moyer
2008-08-22 19:59   ` Rob Horton
2008-08-23  5:07     ` Ian Kent
2008-08-23 10:35       ` Rob Horton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.