Page 1 of 1

loading mod_auth_ldap in Windows 1.7 build

PostPosted: 08. April 2009 14:41
by jmack
Guten Tag / Howdy-

Ich hab mich ein kleine problem...I can't get my mod_auth_ldap to load.

If I STOP Apache in the Control Panel App, add the following code (below) and turn it back on, it won't restart:

LoadModule auth_ldap_module modules/mod_auth_ldap.so

I know the module exists in the modules/ directory, but:
a) I don't see it mentioned at all in my httpd.conf file (as #LoadModule....)
b) I can't seem to load it correctly on my own as described above.

Any ideas?

Server/Build stats: Server 2003, XAMPP 1.7 (upgraded to this from 1.66a)

danke sehr,

jMack

Re: loading mod_auth_ldap in Windows 1.7 build

PostPosted: 08. April 2009 15:11
by Wiedmann
loading mod_auth_ldap in Windows 1.7 build

"mod_auth_ldap" is not an Apache 2.2.x module.

(Maybe the Apache manual can give you a hint how to use ldap authentication.)

Re: loading mod_auth_ldap in Windows 1.7 build

PostPosted: 08. April 2009 15:47
by jmack
why do I see it then in my xampp\appache\modules folder as: mod_auth_ldap.so ?

(looking in apache manual....)

Re: loading mod_auth_ldap in Windows 1.7 build

PostPosted: 08. April 2009 16:00
by Wiedmann
why do I see it then in my xampp\appache\modules folder as: mod_auth_ldap.so ?

Because someone have included this wrong file into the XAMPP package.

Re: loading mod_auth_ldap in Windows 1.7 build

PostPosted: 08. April 2009 18:43
by jmack
interesting.

I'm not up with 'configuring' apache too much. looking in the documentation it mentions:

use "configure" and add --with-ldap ( found HERE )

How could I run a command as such on a non-linux box such as mine? Curious.

Re: loading mod_auth_ldap in Windows 1.7 build

PostPosted: 08. April 2009 19:21
by Wiedmann
How could I run a command as such on a non-linux box such as mine?

This happens, because there are only the *nix build instructions on this page, not not the windows one.

BTW: The necessary modules are already build for you. So just load the correct modules and follow the instructions (examples) from that page.