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

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

 



Please ignore my prev email. Got it figured out. I had Require All Granted under Document Root. Removed that and its working.

Thank you all

On Mon, Aug 10, 2015 at 12:16 PM, Rahul R <rahul.raviz@xxxxxxxxx> wrote:
Thanks for the suggestions. And now i am able to start apache 2.4 with ldap settings. But the browser is not giving a prompt to enter the ldap credentials, instead its opening up the page which I am trying to restrict. No errors seen on the error.log. Any help would be much appreciated. Am I missing some thing here? Below is the snippet from httpd.conf.

=============================

<AuthnProviderAlias ldap ldap-alias1>
AuthLDAPBindPassword "asdfgh123"
</AuthnProviderAlias>

<AuthnProviderAlias ldap ldap-other-alias>
AuthLDAPBindPassword "asdfgh123"
</AuthnProviderAlias>

<AuthnProviderAlias ldap ldap-another-alias>
AuthLDAPBindPassword "asdfgh123"
</AuthnProviderAlias>

Alias "/secure" "/home/apache2/htdocs"
<Directory /home/apache2>
#Order deny,allow
#Allow from all

AuthBasicProvider ldap-other-alias ldap-another-alias ldap-alias1

AuthType Basic
AuthName Please_login_with_your_xxxxxx_as_username__and_windows_password_as_the_password
Require valid-user
</Directory>
====================================

On Fri, Aug 7, 2015 at 10:37 PM, Eric Covener <covener@xxxxxxxxx> wrote:
On Fri, Aug 7, 2015 at 1:06 PM, Rahul R <rahul.raviz@xxxxxxxxx> wrote:
> 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.


Rebuild apache with the modules you now know you need.

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




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



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