On Mon, 2007-07-23 at 12:37 -0400, Rich West wrote:
> 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?):

I was hoping to get the output from an ldapsearch for one of the maps
from both servers.

> 
> 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

This doesn't really say much at all except that a couple of queries were
done.

Ian


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to