All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rich West <Rich.West@wesmo.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: autofs5 + ldap + ldap replication
Date: Mon, 23 Jul 2007 12:37:45 -0400	[thread overview]
Message-ID: <46A4D959.8080703@wesmo.com> (raw)
In-Reply-To: <1184653232.3188.37.camel@raven.themaw.net>

Ian Kent wrote:
> On Mon, 2007-07-16 at 15:54 -0400, Rich West wrote:
>   
>> Jul 16 15:21:08 myhost automount[1852]: lookup_read_master:
>> lookup(ldap): searching for "(objectclass=automount)" under
>> "ou=auto.master,dc=mydomain,dc=com"
>> Jul 16 15:21:08 myhost automount[1852]: lookup_read_master:
>> lookup(ldap): examining entries
>> Jul 16 15:21:08 myhost automount[1852]: master_echo: .
>> Jul 16 15:21:08 myhost automount[1852]: master_echo: .
>> Jul 16 15:21:08 myhost automount[1852]: master_echo: :
>> Jul 16 15:21:08 myhost automount[1852]: master_echo: .
>>     
>
> This is a parse error that's not being handled.
> What autofs is getting from the LDAP server can't be the same as what
> it's getting from the master if the master is working.
>
> Can you give us an example of the output from an LDAP search to both the
> servers please.


Sorry for the long delay.. I missed this one.

Both servers are running the same version of openldap.  You have the
output from the bad search.  I turned up logging and reloaded autofs on
the master server and got the following (was that what you were looking
for?):

Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57194 op=0 BIND dn=""
method=128
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57194 op=0 RESULT tag=97
err=0 text=
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57194 op=1 SRCH
base="ou=auto.home,dc=mydomain,dc=com" scope=2 deref=0
filter="(&(objectClass=nisObject)(cn=testmount))"
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57194 op=1 SRCH attr=cn
nisMapEntry
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57194 op=1 SEARCH RESULT
tag=101 err=0 nentries=0 text=
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57194 op=2 UNBIND
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57194 fd=44 closed
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 fd=44 ACCEPT from
IP=10.0.0.10:36741 (IP=0.0.0.0:389)
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 op=0 BIND dn=""
method=128
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 op=0 RESULT tag=97
err=0 text=
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 op=1 SRCH
base="ou=auto.home,dc=mydomain,dc=com" scope=2 deref=0
filter="(&(objectClass=automount)(cn=testmount))"
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 op=1 SRCH attr=cn
automountInformation
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 op=1 SEARCH RESULT
tag=101 err=0 nentries=1 text=
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 op=2 UNBIND
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57195 fd=44 closed
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 fd=44 ACCEPT from
IP=10.0.0.10:36742 (IP=0.0.0.0:389)
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 op=0 BIND dn=""
method=128
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 op=0 RESULT tag=97
err=0 text=
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 op=1 SRCH
base="ou=auto.home,dc=mydomain,dc=com" scope=2 deref=0
filter="(&(objectClass=automount)(?=undefined))"
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 op=1 SRCH
attr=automountKey automountInformation
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 op=1 SEARCH RESULT
tag=101 err=0 nentries=0 text=
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 op=2 UNBIND
Jul 23 12:34:35 mymasterhost slapd[9859]: conn=57196 fd=44 closed

-Rich

  reply	other threads:[~2007-07-23 16:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-15  2:26 autofs5 + ldap + ldap replication Rich West
2007-07-15  8:31 ` jehan procaccia
     [not found]   ` <469A39D5.8040304@wesmo.com>
2007-07-16 18:28     ` Rich West
2007-07-16 15:17 ` Ian Kent
2007-07-16 18:26   ` Rich West
2007-07-16 18:59     ` Jeff Moyer
2007-07-16 19:54       ` Rich West
2007-07-17  6:20         ` Ian Kent
2007-07-23 16:37           ` Rich West [this message]
2007-07-24  3:48             ` Ian Kent
2007-07-24  3:56               ` Ian Kent
2007-07-24 16:55                 ` Rich West
  -- strict thread matches above, loose matches on Subject: below --
2007-08-07  1:32 Rich West
2007-08-07 14:33 ` Jim Summers
2007-08-07 15:24   ` Rich West
2007-08-07 16:52     ` Jim Summers
2007-08-08 11:33       ` 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=46A4D959.8080703@wesmo.com \
    --to=rich.west@wesmo.com \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /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.