I have a problem binding with ldapauth to port 636. TLS support is unchecked
I can bind fine with ldapauth on port 389 without TLS

any ideas why?
and yes i have port 636 enabled on my ldap and it is working. i can do pam authentications on it fine and samba authentications.
i also tested it by disabled port 389 and binding only 636 with pam.

All i get is:
Sorry. Unrecognized username or password. Have you forgotten your password?

In logs i get:
LDAP Bind failure for user . Error 81: Can't contact LDAP server

Nothing in apache or syslogs

I also have a self signed certificate for ssl would that be a problem for verification reasons?
Though all my ldap utils work like ldapsearch ldapadd blah blah blah

Any help would be great thanks.

Comments

kreaper’s picture

Assigned: Unassigned » kreaper

php uses its own ldap libraries for making connections. assuming you have verified that your php is compiled with ldap support, have you tried making ldap calls with php to port 636 ? I have AD and LDAP with SSL turned on and they both seem to work OK, so I need more info to go on..

kreaper’s picture

Status: Active » Closed (fixed)

no activity

jsgammato’s picture

I had that same issue. I used 389 for a year, but recent changes to the LDAP left me with neither of them working.
I don't know what to look for to find more information. Tomorrow I will meet with our network admin to see what needs to be done, but any help I can get from Drupaleers will help!

xaogeo’s picture

HI, the same here, I`m trying to connect to 636 port but. nothing
ERROR:
LDAP Bind failure for user cn=xxxx,ou=appl,o=xxx. Error -1: Can't contact LDAP server
Any Ideeas?

xaogeo’s picture

I think I found the problem... this module cannot see the CA for secure(SSL) conections on 636 port, i tryed with JXplorer and it worked and i have the CA installed on my conputer!

what could be done?