Re: authn_core_module: apache 2.4 : Invalid command 'AuthLDAPBindDN'

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

 



i hadn't added this module while configuring apache. I tried downloading mod_authnz_ldap.c and compiling it with apxs. But its giving too many errors. Is there a fix for this? A sample is below.

/usr/include/bits/uio.h:47: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/sys/socket.h:35,

On Fri, Aug 7, 2015 at 4:31 PM, Tobias Adolph <Tobias.Adolph@xxxxxx> wrote:
Hi Rahul,

Am 07.08.2015 um 12:45 schrieb Rahul R:
Hello All,

I have apache 2.2 working fine with multiple ldap aliases. Recently i
installed apache 2.4 and copied the ldap configs and followed the below
link.

http://httpd.apache.org/docs/2.4/mod/mod_authn_core.html.

But when I start apache, this is what I am getting as an error.

*AH00526: Syntax error on line 484 of /home/apache2/conf/httpd.conf:*
*Invalid command 'AuthLDAPBindDN', perhaps misspelled or defined by a
module not included in the server configuration*

I am of course loading the module.

LoadModule authn_core_module modules/mod_authn_core.so

Any help to fix this would be much appreciated. Below is the config.

did you load the authnz_ldap_module?
Try:
LoadModule            authnz_ldap_module modules/mod_authnz_ldap.

>From 2.2 to 2.4 authorization and authentication have quite changed a bit, so you should consider studying this link:
http://httpd.apache.org/docs/2.4/howto/auth.html

Kind regards,
Tobias Adolph

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




--
Thanks,
Regards,
Rahul R
  .~.
/V\
// \\
/( )\
^`~'^
Mob: 09008030921

[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