logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2.27 LDAPS, is it working?
Author
lakshmi



Joined: 22 Jul 2014
Posts: 9
Location: India

PostPosted: Wed 30 Jul '14 8:58    Post subject: Apache 2.2.27 LDAPS, is it working? Reply with quote

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

PostPosted: Wed 30 Jul '14 10:42    Post subject: Reply with quote

See http://httpd.apache.org/docs/2.2/mod/mod_ldap.html
Back to top
lakshmi



Joined: 22 Jul 2014
Posts: 9
Location: India

PostPosted: Thu 31 Jul '14 7:51    Post subject: [LDAP: ldap_simple_bind_s() failed][Server Down] Reply with quote

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

PostPosted: Fri 01 Aug '14 14:24    Post subject: Reply with quote

ServerDown

can you resolve the hostname? tried the IP?
Back to top
lakshmi



Joined: 22 Jul 2014
Posts: 9
Location: India

PostPosted: Fri 01 Aug '14 17:33    Post subject: Reply with quote

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

PostPosted: Fri 01 Aug '14 18:04    Post subject: Reply with quote

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

PostPosted: Mon 04 Aug '14 19:44    Post subject: Reply with quote

Hi,


Yes I am able to connect through LDAP explorer tool as well as through JAVA program...

Regards,
Lakshmi
Back to top


Reply to topic   Topic: Apache 2.2.27 LDAPS, is it working? View previous topic :: View next topic
Post new topic   Forum Index -> Apache