View previous topic :: View next topic |
Author |
Message |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 402
|
Posted: Wed May 03, 2006 6:58 am Post subject: [so.]When logging in using ssh, slapd tries to do something? |
|
|
I have installed ldap a while ago and I noticed that logging in takes some times at the moment; I have to wait 8-10 sec. before I get logged in... I didn't understand why and didn't check it that much...
But now I've checked and what I see in the log is this (when I try to log in using ssh)..:
Code: |
May 3 08:56:41 pennywise slapd[9704]: conn=10 fd=11 ACCEPT from IP=127.0.0.3:60161 (IP=0.0.0.0:389)
May 3 08:56:41 pennywise slapd[9704]: conn=10 op=0 BIND dn="" method=128
May 3 08:56:41 pennywise slapd[9704]: conn=10 op=0 RESULT tag=97 err=0 text=
May 3 08:56:43 pennywise sshd[25584]: Accepted keyboard-interactive/pam for root from 10.1.1.1 port 56021 ssh2
|
How can I stop ldap interfering with ssh?
Regards,
BTJ _________________ Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Last edited by bjorntj on Thu May 04, 2006 9:35 am; edited 1 time in total |
|
Back to top |
|
 |
hegga Apprentice

Joined: 04 Jun 2003 Posts: 210 Location: Norway
|
Posted: Wed May 03, 2006 12:57 pm Post subject: |
|
|
did you emerge openssh with the ldap use flag? _________________ hegga |
|
Back to top |
|
 |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 402
|
Posted: Wed May 03, 2006 1:01 pm Post subject: |
|
|
Not on purpose, but I will check....
BTJ
Edit: Yes, I did... Or I must have added ladp to make.conf when I installed the ldap server and later openssh must have been updated with emerge -Du world...
How can I disable ldap just for openssh?
BTJ _________________ Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows" |
|
Back to top |
|
 |
hegga Apprentice

Joined: 04 Jun 2003 Posts: 210 Location: Norway
|
Posted: Wed May 03, 2006 1:11 pm Post subject: |
|
|
Code: |
#untested, but should work:
echo net-misc/openssh -ldap >> /etc/portage/package.use
|
_________________ hegga |
|
Back to top |
|
 |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 402
|
Posted: Thu May 04, 2006 9:34 am Post subject: |
|
|
That did the trick, thx...  _________________ Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows" |
|
Back to top |
|
 |
|