Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: "Required" auth isn't working |
|
Author |
|
mleo40
Joined: 05 Nov 2015 Posts: 2
|
Posted: Thu 05 Nov '15 20:36 Post subject: "Required" auth isn't working |
|
|
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.
Code: |
<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. |
|
Back to top |
|
mleo40
Joined: 05 Nov 2015 Posts: 2
|
Posted: Tue 10 Nov '15 22:16 Post subject: |
|
|
Is there a better place to post this type of question? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
|
|
|
|
|