Finally resolved: RHEL5, Apache 2.2.15, mod_authnz_ldap.c

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

 



On Mar 15, 2010, S.A. Birl (nospam-sbirl+Apache-List@xxxxxxxxxxxxxxxxxxxxx)...:

>  DOH!  Looks like I jumped the gun on thinking this was resolved:
>
>  Although it complied and the webserver is running, my error log shows
>  [Mon Mar 15 10:42:16 2010] [alert] [client 155.247.27.102] /usr/local/httpd/secure-docs/admin/.htaccess: Unknown Authn provider: ldap
>
>
>  # /usr/local/apache/bin/httpd -l | sort
>  Compiled in modules:
>    core.c
>    http_core.c
>    mod_actions.c
>    mod_alias.c
>    mod_asis.c
>    mod_auth_basic.c
>    mod_auth_digest.c
>    mod_authn_alias.c
>    mod_authn_anon.c
>    mod_authn_dbd.c
>    mod_authn_dbm.c
>    mod_authn_default.c
>    mod_authn_file.c
>    mod_authnz_ldap.c        <------
>    mod_authz_dbm.c
>    mod_authz_default.c
>    mod_authz_groupfile.c
>    mod_authz_host.c
>    mod_authz_owner.c
>    mod_authz_user.c
>    mod_autoindex.c
>    mod_cache.c
>    mod_cgi.c
>    mod_charset_lite.c
>    mod_dbd.c
>    mod_dir.c
>    mod_disk_cache.c
>    mod_env.c
>    mod_expires.c
>    mod_file_cache.c
>    mod_filter.c
>    mod_headers.c
>    mod_include.c
>    mod_info.c
>    mod_log_config.c
>    mod_log_forensic.c
>    mod_logio.c
>    mod_mem_cache.c
>    mod_mime.c
>    mod_mime_magic.c
>    mod_negotiation.c
>    mod_rewrite.c
>    mod_setenvif.c
>    mod_so.c
>    mod_ssl.c
>    mod_status.c
>    mod_version.c
>    mod_vhost_alias.c
>    prefork.c
>    util_ldap.c              <-----



An old 2005 post to this list (titled "compiling apache 2.2 with openldap on
solairs 9") helped solve this for RHEL5.  This is what I needed in ./configure
for proper LDAP support:


./configure --enable-authnz-ldap --with-ldap --enable-ldap --with-included-apr \
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include \


without  --with-ldap-lib  and  --with-ldap-include, LDAP was still broken even
though it was compiled in.



S.A. Birl
http://concept.temple.edu/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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