On Fri, 2006-04-21 at 00:24 +0200, Dave Jones wrote:
> Michael Sullivan wrote on 04/20/06 23:31:
> > I rebooted my server box this morning.  On a few of the output lines
> > during bootup (noteably sshd and mysqld) it said "Could not connect to
> > LDAP server" (or something like that).  To my knowledge, I don't have an
> > ldap server installed on my server box.  Ssh from client machines is
> > extremely slow to connect.  I checked eix -SS ldap and the only ldap
> > package I have installed on the server box is openldap.  I
> > checked /etc/make.conf to ensure that ldap was not listed as a USE flag,
> > and then typed "emerge -pv openssh"  Here's the output:  
> 
> > bullet etc # emerge -av openssh
> 
> > These are the packages that I would merge, in order:
> 
> > Calculating dependencies ...done!
> > [ebuild   R   ] net-misc/openssh-4.3_p2-r1  -X509 -chroot -hpn -ipv6
> > +kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard
> > -static +tcpd 0 kB
> 
> > Is there any danger in me adding "net-misc/openssh -ldap"
> > to /etc/portage/package.use?  Will it speed up the connection process?
> > It was never a problem until today...
> 
> You've got the ldap USE flag because you have openldap installed.
> 
> No need to recompile sshd, just comment out the LDAP related lines in
> your /etc/ssh/sshd_config and restart sshd.
> 
> Cheers, Dave

Thanks!  That did the trick!

-- 
gentoo-user@gentoo.org mailing list

Reply via email to