Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - openssh and ldap [SOLVED]
Date: Fri, 21 Apr 2006 00:15:16
Message-Id: 1145578169.17949.6.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] OT - openssh and ldap by Dave Jones
1 On Fri, 2006-04-21 at 00:24 +0200, Dave Jones wrote:
2 > Michael Sullivan wrote on 04/20/06 23:31:
3 > > I rebooted my server box this morning. On a few of the output lines
4 > > during bootup (noteably sshd and mysqld) it said "Could not connect to
5 > > LDAP server" (or something like that). To my knowledge, I don't have an
6 > > ldap server installed on my server box. Ssh from client machines is
7 > > extremely slow to connect. I checked eix -SS ldap and the only ldap
8 > > package I have installed on the server box is openldap. I
9 > > checked /etc/make.conf to ensure that ldap was not listed as a USE flag,
10 > > and then typed "emerge -pv openssh" Here's the output:
11 >
12 > > bullet etc # emerge -av openssh
13 >
14 > > These are the packages that I would merge, in order:
15 >
16 > > Calculating dependencies ...done!
17 > > [ebuild R ] net-misc/openssh-4.3_p2-r1 -X509 -chroot -hpn -ipv6
18 > > +kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard
19 > > -static +tcpd 0 kB
20 >
21 > > Is there any danger in me adding "net-misc/openssh -ldap"
22 > > to /etc/portage/package.use? Will it speed up the connection process?
23 > > It was never a problem until today...
24 >
25 > You've got the ldap USE flag because you have openldap installed.
26 >
27 > No need to recompile sshd, just comment out the LDAP related lines in
28 > your /etc/ssh/sshd_config and restart sshd.
29 >
30 > Cheers, Dave
31
32 Thanks! That did the trick!
33
34 --
35 gentoo-user@g.o mailing list