Author |
|
lakshmi
Joined: 22 Jul 2014 Posts: 9 Location: India
|
Posted: Wed 30 Jul '14 8:58 Post subject: Apache 2.2.27 LDAPS, is it working? |
|
|
Hi,
I am new to LDAP/LDAPS.
Please let me know how to configure my apache to work with LDAPS?
Thanks,
Lakshmi |
|
Back to top |
|
Xing Moderator
Joined: 26 Oct 2005 Posts: 49
|
|
Back to top |
|
lakshmi
Joined: 22 Jul 2014 Posts: 9 Location: India
|
Posted: Thu 31 Jul '14 7:51 Post subject: [LDAP: ldap_simple_bind_s() failed][Server Down] |
|
|
Hi Xing,
After the ldaps configuration in my apache configuration file as specified in the link,
LDAPTrustedGlobalCert CA_BASE64 mycert.cer
LDAPVerifyServerCert Off
<Location /svn>
DAV svn
SVNParentPath repopath
AuthType Basic
AuthName "Subversion repositories"
AuthBasicProvider file ldap
AuthLDAPURL "ldaps://myldap.com:3269/?userPrincipalName?sub?(&((objectCategory=person)(objectCategory=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))))"
AuthzLDAPAuthoritative off
AuthLDAPBindDN mydomain\user1
AuthLDAPBindPassword *******
AuthUserFile password file path
AuthzSVNAccessFile account file path
Require valid-user
</Location>
i am getting the below exception.
[LDAP: ldap_simple_bind_s() failed][Server Down]
Please let me know, why am i getting this error while accessing the LDAP (only for authentication) through apache?
Thanks,
Lakshmi.S |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 01 Aug '14 14:24 Post subject: |
|
|
ServerDown
can you resolve the hostname? tried the IP? |
|
Back to top |
|
lakshmi
Joined: 22 Jul 2014 Posts: 9 Location: India
|
Posted: Fri 01 Aug '14 17:33 Post subject: |
|
|
Hi James Blond,
I am able to resolve the host name.. even i tried with the IPAddress instead of hostname in the apache configurationf file. In this case too, it is not working for me. I am getting the same exception.
Cheers,
Lakshmi |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 01 Aug '14 18:04 Post subject: |
|
|
Can you open that port with a LDAP Explorer or a port scann? |
|
Back to top |
|
lakshmi
Joined: 22 Jul 2014 Posts: 9 Location: India
|
Posted: Mon 04 Aug '14 19:44 Post subject: |
|
|
Hi,
Yes I am able to connect through LDAP explorer tool as well as through JAVA program...
Regards,
Lakshmi |
|
Back to top |
|