Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[so.]When logging in using ssh, slapd tries to do something?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bjorntj
Guru
Guru


Joined: 01 Jun 2005
Posts: 402

PostPosted: Wed May 03, 2006 6:58 am    Post subject: [so.]When logging in using ssh, slapd tries to do something? Reply with quote

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
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Wed May 03, 2006 12:57 pm    Post subject: Reply with quote

did you emerge openssh with the ldap use flag?
_________________
hegga
Back to top
View user's profile Send private message
bjorntj
Guru
Guru


Joined: 01 Jun 2005
Posts: 402

PostPosted: Wed May 03, 2006 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
hegga
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 210
Location: Norway

PostPosted: Wed May 03, 2006 1:11 pm    Post subject: Reply with quote

Code:

#untested, but should work:
echo net-misc/openssh -ldap >> /etc/portage/package.use

_________________
hegga
Back to top
View user's profile Send private message
bjorntj
Guru
Guru


Joined: 01 Jun 2005
Posts: 402

PostPosted: Thu May 04, 2006 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum