[gentoo-user] OT - openssh and ldap

2006-04-20 Thread Michael Sullivan
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...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - openssh and ldap

2006-04-20 Thread Etaoin Shrdlu
On Thursday 20 April 2006 23:31, Michael Sullivan wrote:

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

This is not related to the ldap USE flag.
Search b.g.o., there's a bug about it. Look in /etc/ssh/sshd_config and 
comment out the ldap-related entries.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - openssh and ldap

2006-04-20 Thread Dave Jones
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
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - openssh and ldap [SOLVED]

2006-04-20 Thread Michael Sullivan
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