View previous topic :: View next topic |
Author |
Message |
coutts99 Apprentice
Joined: 19 Sep 2002 Posts: 171 Location: Sunderland, UK
|
Posted: Wed Jan 07, 2004 9:08 am Post subject: LDAP Strangeness |
|
|
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 |
|
|
Janne Pikkarainen Veteran
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Wed Jan 07, 2004 7:54 pm Post subject: |
|
|
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 |
|
|
coutts99 Apprentice
Joined: 19 Sep 2002 Posts: 171 Location: Sunderland, UK
|
Posted: Thu Jan 08, 2004 1:23 pm Post subject: |
|
|
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 |
|
|
|