Dual Auth help

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

 



I am having trouble with authentication/authorization for my nagios instance.

I want to use a local password file OR kerb/ldap.

Below is my configuration.

My kerb/ldap accounts work fine, however my "nagiosadmin" account does not.

Any advise is greatly appreciated.


<VirtualHost hostname:443>
ServerName hostname
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule auth_kerb_module modules/mod_auth_kerb.so

## Vhost docroot
DocumentRoot "/usr/local/nagios/etc"

## Directories, there should at least be a declaration for /usr/local/nagios/etc

<Directory "/usr/local/nagios/share">
AllowOverride none
Order allow,deny
Allow from all

AuthName "LDAP"
AuthType Basic
AuthBasicProvider file ldap

AuthUserFile "/usr/local/nagios/etc/htpasswd.users"

Require user nagiosadmin
Require ldap-group cn=unixadm,blahblah

KrbMethodNegotiate on
KrbMethodK5Passwd on
KrbAuthRealms legitrealm
KrbServiceName http
Krb5KeyTab /etc/httpd/conf/mykeytabfile
KrbSaveCredentials On

AuthLDAPURL "ldaps://ldap.blahclah"
AuthLDAPGroupAttribute memberUid

SSLOptions +StrictRequire +StdEnvVars
SSLRequireSSL
</Directory>




If I type the wrong password this shows up in my error log:
user nagiosadmin: authentication failure for "/nagios/": Password Mismatch

if I type the right password...nothing shows up anywhere...not in access, error, nagios....my browser just keeps prompting for my credentials.

[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