Re: Resolved: RHEL5, Apache 2.2.15, mod_authnz_ldap.c

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

 



On Mar 11, 2010, S.A. Birl (nospam-sbirl+Apache-List@xxxxxxxxxxxxxxxxxxxxx)...:
>   On Mar 10, 2010, Eric Covener (nospam-covener@xxxxxxxxxxxx) typed:
>
>   Eric:>  On Wed, Mar 10, 2010 at 5:42 PM, S.A. Birl wrote:
>   Eric:>
>   Eric:>  > Hello again everyone!
>   Eric:>  >
>   Eric:>  > Ive come across a problem compiling 2.2.15 from source on RHEL5.  It compiled
>   Eric:>  > great until I realized I forgot to include LDAP.  Now it wont compile:
>   Eric:>  > mod_authnz_ldap.c throws out errors.
>   Eric:>  >
>   Eric:>
>   Eric:>  > mod_authnz_ldap.c:41:2: error: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
>   Eric:>
>   Eric:>  Maybe you need --with-included-apr to make your APR configure flags
>   Eric:>  have an impact
>
>
>
>   Yeah I thought of that too, and when I tried it yesterday it failed.
>
>   However when I went to re-do the process just now (so I could cut&paste the
>   error for the list to see) -- it actually worked!  Go figure.
>
>   Guess yesterday I botched something somewhere along the line ....
>



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


I know the .htaccess file is correct because that same file is being used in the
production environment (running 2.2.6 on RHEL 4).  The difference is I compiled
from source while the production is loaded modules.

Ideas?


# /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              <-----







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

Please do not CC me responses to my own posts. I'll read the responses
from the list.

Apache archives  http://mail-archives.apache.org/mod_mbox/httpd-users/


---------------------------------------------------------------------
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