All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Summers <jsummers@bachman.cs.ou.edu>
To: autofs@linux.kernel.org
Subject: Possible BUG! AutoFS and LDAP
Date: Fri, 20 Jul 2007 15:34:10 -0500	[thread overview]
Message-ID: <46A11C42.60001@cs.ou.edu> (raw)
In-Reply-To: <46A10097.1020403@cs.ou.edu>

Jim Summers wrote:
> Hello All,
> 
> I have been attempting to get autofs5 to work with my ldap config.  The 
> way I am set up is:
> 
> FC6 / FC7 clients and redhat servers.
> auto.home info for each user is stored in ldap
> auto.master is stored locally on each client
> 
> The mounts do not happen.  Here is what I see when starting autofs:
> ======
> Jul 20 13:22:53 lch automount[3427]: Starting automounter version 
> 5.0.1-11, master map auto.master
> Jul 20 13:22:53 lch automount[3427]: using kernel protocol version 5.00
> Jul 20 13:22:53 lch automount[3427]: master_error: syntax error while 
> parsing map.
> Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /misc 
> with timeout 300, freq 75 seconds
> Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /net with 
> timeout 300, freq 75 seconds
> ======
> Here is the auto.master:
> ======
> /home    ldap://129.15.1.203/ou=auto.home,dc=it,dc=ou,dc=edu

I may have stumbled onto the problem.  In the dn above, notice that it has 
dc=ou.  I was trying various things and thought, let's remove that and see 
what happens.  Sure enough the log messages start showing the attempt to get 
the /home stuff but it fails because the ldap tree doesn't match.  I can then 
put the dc=ou back in and it just fails with that syntax error.  This was all 
fine in the autofs4 version.  The ldap is setup that way to match domain for 
instance, it.ou.edu.

I can test if I can find the place in the code to change it back to the way 
that version4 was doing things and then re-compile.

Many Thanks



> ======
> nsswitch:
> ======
> automount:  files
> ======
> 
> While monitoring traffic on the ldap server.  I never see any traffic 
> from the client when the daemon is started.  So I am thinking that it is 
> not able to read the "/home" entry.
> 
> I have tried the old style colon syntax for an ldap entry.  No joy.  I 
> purposely made syntax errors and then it will say syntax error near 
> "xxxxx" as it should.
> 
> Ideas / Suggestions?
> 
> TIA
> 
> 

-- 
Jim Summers
School of Computer Science-University of Oklahoma
-------------------------------------------------

  reply	other threads:[~2007-07-20 20:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-20 18:36 AutoFS and LDAP Jim Summers
2007-07-20 20:34 ` Jim Summers [this message]
2007-07-23 14:33   ` Possible BUG! " Jim Summers
2007-07-23 14:59   ` Ian Kent
2007-07-23 15:07 ` Ian Kent
2007-07-23 18:26   ` Jim Summers
2007-07-24  3:31     ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A11C42.60001@cs.ou.edu \
    --to=jsummers@bachman.cs.ou.edu \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.