This forum is no longer active. Please post your questions to our new community site

Forums Subversion

Possible to use mod_auth_ldap in Apache shipped in Subversion Stack?

Subscribe to Possible to use mod_auth_ldap in Apache shipped in Subversion Stack? 3 post(s), 2 voice(s)

 
Avatar mik3l04 3 post(s)

Hey All—

I am trying to configure the Subversion stack to use LDAP authentication however am not having much success. I tried using mod_auth_ldap which exists in the apache2/modules folder of the stack but the server wont start if I add the directive:

LoadModule auth_ldap_module modules/mod_auth_ldap.so

to the httpd.conf.

Any suggestions? Without LDAP I am not sure how useful this stack will be in our org.

Thanks,

Mike

 
Avatar mik3l04 3 post(s)

Okay, realized I was missing the required ldap module so by including both like so, Apache now starts:

LoadModule ldap_module modules/util_ldap.so
LoadModule auth_ldap_module modules/mod_auth_ldap.so

New problem. Apache cannot shut down gracefully with these modules loaded and crashes at any authentication attempt. The situation I am experiencing is pretty much described here:

http://www.usenet-forums.com/apache-web-server/40631-ldap-crashes.html

So it sounds like it has to do with the version of wldap32.dll that the mod_auth_ldap DSO was compiled against.

Has anyone else here attempted to get LDAP authentication to work with the Subvesrion Bitnami Stack or will the stack be compliled on a system running Windows 2003 SP2 having the latest LDAP SDK (not sure if this would even do it).

Here is my apache error log with the modules running, the last line is the crash on an authentication attempt:


Fri May 16 16:18:40 2008 Apache/2.0.59 (Win32) DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.8a SVN/1.4.6 configured - resuming normal operations
Fri May 16 16:18:40 2008 Server built: Jul 21 2006 08:48:52
Fri May 16 16:18:40 2008 Parent: Created child process 2280
Fri May 16 16:18:40 2008 Init: Session Cache is not configured [hint: SSLSessionCache]
Fri May 16 16:18:40 2008 LDAP: Built with Microsoft LDAP SDK
Fri May 16 16:18:40 2008 LDAP: SSL support available
Fri May 16 16:18:40 2008 Child 2280: Child process is running
Fri May 16 16:18:40 2008 Child 2280: Acquired the start mutex.
Fri May 16 16:18:40 2008 Child 2280: Starting 250 worker threads.
Fri May 16 16:19:31 2008 Parent: child process exited with status 3221225477 -
Restarting.

 
Avatar antonio 621 post(s)

Hi,

We haven’t tried to use LDAP with the stacks, so I’m afraid we can’t help right now. Maybe another BitNami user can provide assistance…

Cheers

Forums Subversion