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: Apache2 win2k3 server ldap
Author
dariel



Joined: 15 Feb 2007
Posts: 2

PostPosted: Thu 15 Feb '07 18:36    Post subject: Apache2 win2k3 server ldap Reply with quote

Sorry for the major n00bness... I've been trying like mad to get this working. I need a simple solution to getting this ldap module to work. I've read muquit's tutorial for ldap authentication, but how do I get this working on win2k3? Is there a compiled dll for this already?

Thanks in advance!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 15 Feb '07 18:51    Post subject: Reply with quote

Code:

LoadModule authnz_ldap_module modules/mod_alias.so mod_authnz_ldap.so

Please read the docs! If you still have a question, please ask again.

http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
Back to top
dariel



Joined: 15 Feb 2007
Posts: 2

PostPosted: Thu 15 Feb '07 19:03    Post subject: Reply with quote

This is what I have in my httpd.conf:

...
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
...

When I put in what you have, it won't restart. When I leave out the top one of those two, it won't restart.

This is what I get in my log file:
[Thu Feb 15 09:56:26 2007] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8d
[Thu Feb 15 09:56:26 2007] [debug] util_ldap.c(1929): LDAP merging Shared Cache conf: shm=0x641b28 rmm=0x641b50 for VHOST: xxxxxx
[Thu Feb 15 09:56:26 2007] [info] APR LDAP: Built with Microsoft Corporation. LDAP SDK
[Thu Feb 15 09:56:26 2007] [info] LDAP: SSL support unavailable: LDAP: CA certificates cannot be set using this method, as they are stored in the registry instead.

which would indicate I have it working. I try accessing a page that I have secured with an .htaccess file with ldap configurations and I get invalid commands for those options.
Back to top


Reply to topic   Topic: Apache2 win2k3 server ldap View previous topic :: View next topic
Post new topic   Forum Index -> Apache