Re: Backport of AuthLDAPInitialBindAsUser functionality to 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Covener in #httpd told me to look at config.m4, but I don't really
understand what:

APACHE_MODULE(authnz_ldap, LDAP based authentication, , , no, [
  MOD_AUTHNZ_LDAP_LDADD="`$apu_config --ldap-libs`" || MOD_AUTHNZ_LDAP_LDADD=""
  AC_SUBST(MOD_AUTHNZ_LDAP_LDADD)
])

means. I know I have to put the --ldap-libs option somewhere, but I
can't understand/work out where.
Javier Domingo


2012/12/29 Javier Domingo <javierdo1@xxxxxxxxx>:
> Hi,
>
> I have just patched the 2.2 code to work making the inital bind as the
> user that requested, but I don't get into the way of linking it.
>
> I have suceeded in getting the source of the module compiled (go to
> /modules/aaa/ and there I apxs2 -a -i -c mod_authnz_ldap.c). The
> problem is that when I try to run it tells me:
>
> apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax
> error on line 1 of /etc/apache2/mods-enabled/authnz_ldap.load: Cannot
> load /usr/lib/apache2/modules/mod_authnz_ldap.so into server:
> /usr/lib/apache2/modules/mod_authnz_ldap.so: undefined symbol:
> ldap_err2string
>
> But I get it compiled correctly. Is there any reason for that this
> shouldn't work? I am using the same code that is used in the ubuntu
> package, and I have no compile warnings after patching.
>
> If any one can help me, don't hesitate contacting me for more info (or
> the patch) etc.,
>
> Cheers,
>
> Javier Domingo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux