Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDAP Strangeness
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
coutts99
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 171
Location: Sunderland, UK

PostPosted: Wed Jan 07, 2004 9:08 am    Post subject: LDAP Strangeness Reply with quote

I have an LDAP server on my network. I have one machine that authenticates pam via LDAP and it works perfectly.

I have added a new machine but I can't get pam LDAP authentication working.

When I log in from the machine that does work This is the end of the debug output from slapd ->

====> cache_return_entry_r( 88 ): returned (0) send_ldap_search_result 0::
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 17
connection_get(17)
connection_get(17): got connid=6
connection_read(17): checking for input on id=6
ber_get_next
ber_get_next on fd 17 failed errno=0 (Success)
connection_read(17): input error=-2 id=6, closing.
connection_closing: readying conn=6 sd=17 for close
connection_close: conn=6 sd=17

However, on the one that does not work it stops like this -:

====> cache_return_entry_r( 88 ): returned (0) send_ldap_search_result 0::
send_ldap_response: msgid=4 tag=101 err=0
ber_flush: 14 bytes to sd 9

And unlike the other it never does the connection_get(17)
bit.

Any ideas?

I also have courier-imap running on this server and it is using ldap authentication fine.
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Wed Jan 07, 2004 7:54 pm    Post subject: Reply with quote

ssh login does not work, right? Is there "UsePAM yes" line in /etc/ssh/sshd_config? Many people have had a perfectly fine LDAP configuration but missing that line from sshd_config makes things break...
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
coutts99
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 171
Location: Sunderland, UK

PostPosted: Thu Jan 08, 2004 1:23 pm    Post subject: Reply with quote

Janne Pikkarainen wrote:
ssh login does not work, right? Is there "UsePAM yes" line in /etc/ssh/sshd_config? Many people have had a perfectly fine LDAP configuration but missing that line from sshd_config makes things break...


Replied to my post yesterday but cant see it.

I re-emerged pam pam_login and pam_ldap and it is working.

However, pure-ftpd via pam (ldap) still fails!
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