[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Using LDAP to authenticate users

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2006-08-02 23:11:55 CEST

Reagan Penner wrote:
> Hello, thanks for the response.
>
> I assume that when you talk about "there are two separate modules out
> there - one is a third party module and the other is integrated into
> Apache. Make sure you use the integrated one." you are referring to
> the mod_auth_ldap module?
>
> My currently configuration looks as follows:
> apache 2.2.2 and subversion 1.3.2.
>
> When I try to install mod_auth_ldap (either 2.12 or 2.16 I get the
> following error:
>
> mod_auth_ldap.c:74:24: apr_compat.h: No such file or directory
>
> If I make this change (include apr_compat.h -> include ap_compat.h) in
> the mod_auth_ldap.c file then this error goes away and these errors
> pops up:
>
> mod_auth_ldap.c:558: error: parse error before "ldap_auth_config_rec"
> mod_auth_ldap.c:558: error: initializer element is not constant
> mod_auth_ldap.c:558: error: (near initialization for
> `ldap_auth_cmds[0].cmd_data')
> ...
>
> It is almost like mod_auth_ldap has not kept up with apache even
> thought both 2.12 and 2.16 say that they are 2.x compliant.
>
> Any help with this would be greatly appreciated. Is there a different
> module that I should be trying to use? It is mentioned that I want the
> one that is integrated with apache? Do I have to rebuild apache, does
> apache ship with ldap?
>
> thanks in advance - reagan
>
> ------------------------------------------------------------------------

Reagan,

1 - Top posting - bad idea. Makes it harder to find out what you might
be referring to if you don't include the original message.
    - Example of top-posting:
          A - To get to the other side.
          Q - Why did the chicken cross the road?

2 - yes, I believe that was the module name. I believe you got it off
of muquit.com or something like that?? It states 2.x, but Apache 2.2.x
changed the entire authentication/authorization scheme from previous
versions. The integrated LDAP module is mod_authnz_ldap. You include
it by using the --with-ldap --enable-ldap --with-authnz-ldap options in
the ./configure script.

Regards,
Frank
Received on Wed Aug 2 23:13:53 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.