Authentication Problem disabling Event Handlers
Posted: Mon Jan 15, 2018 4:10 am
Thanks in advance!
When I try to disable Event Handlers, accessing by "Tactical Overview" -> "Event Handlers" -> Event Handlers check icon -> Commit Button. An error occurs with th text:
Sorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.
Return from whence you came
This is my current config:
ls -ltra / opt / nagios / var / rw
srw-rw ---- 1 nagios nagcmd 0 Jan 11 18:12 nagios.qh
drwxrwsrwx 2 nagios nagcmd 4096 Jan 11 18:12.
prw-rw ---- 1 nagios nagcmd 0 Jan 15 08:45 nagios.cmd
drwxrwxrwx 5 nagios nagios 4096 Jan 15 09:49 ..
/ etc / group
nagios: x: 503: apache
nagcmd: x: 504: nagios, apache
I have Access to Nagios Web Admin by LDAP Authentification. In my /opt/apache/conf/extra/httpd-nagios.conf have:
ScriptAlias / nagios / cgi-bin / opt / nagios / sbin
<Directory "/ opt / nagios / sbin">
Options ExecCGI
AllowOverride None
Order allow, deny
Allow from all
AuthBasicProvider ldap
AuthType Basic
AuthName "Restricted access"
AuthLDAPBindDN "CN = X, OU = X, OU = X, OU = X, DC = X, DC = X"
AuthLDAPBindPassword XXXX
AuthLDAPURL "ldap: // XXXXX"
AuthLDAPGroupAttributeIsDN on
require ldap-group CN = X, OU = X, OU = X, OU = \ <X \>, DC = X, DC = X
AuthzLDAPAuthoritative on
</ Directory>
Alias / nagios / opt / nagios / share
<Directory "/ opt / nagios / share">
Options None
AllowOverride None
Order allow, deny
Allow from all
AuthBasicProvider ldap
AuthType Basic
AuthName "Restricted access"
AuthLDAPBindDN "CN = X, OU = X, OU = X, OU = X, DC = X, DC = X"
AuthLDAPBindPassword XXXX
AuthLDAPURL "ldap: // XXXXX"
AuthLDAPGroupAttributeIsDN on
require ldap-group CN = X, OU = X, OU = X, OU = \ <X \>, DC = X, DC = X
AuthzLDAPAuthoritative on
</ Directory>
Where is my problem? I can't find the root of the problem ..
Could you help me?
thank you so much!
When I try to disable Event Handlers, accessing by "Tactical Overview" -> "Event Handlers" -> Event Handlers check icon -> Commit Button. An error occurs with th text:
Sorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.
Return from whence you came
This is my current config:
ls -ltra / opt / nagios / var / rw
srw-rw ---- 1 nagios nagcmd 0 Jan 11 18:12 nagios.qh
drwxrwsrwx 2 nagios nagcmd 4096 Jan 11 18:12.
prw-rw ---- 1 nagios nagcmd 0 Jan 15 08:45 nagios.cmd
drwxrwxrwx 5 nagios nagios 4096 Jan 15 09:49 ..
/ etc / group
nagios: x: 503: apache
nagcmd: x: 504: nagios, apache
I have Access to Nagios Web Admin by LDAP Authentification. In my /opt/apache/conf/extra/httpd-nagios.conf have:
ScriptAlias / nagios / cgi-bin / opt / nagios / sbin
<Directory "/ opt / nagios / sbin">
Options ExecCGI
AllowOverride None
Order allow, deny
Allow from all
AuthBasicProvider ldap
AuthType Basic
AuthName "Restricted access"
AuthLDAPBindDN "CN = X, OU = X, OU = X, OU = X, DC = X, DC = X"
AuthLDAPBindPassword XXXX
AuthLDAPURL "ldap: // XXXXX"
AuthLDAPGroupAttributeIsDN on
require ldap-group CN = X, OU = X, OU = X, OU = \ <X \>, DC = X, DC = X
AuthzLDAPAuthoritative on
</ Directory>
Alias / nagios / opt / nagios / share
<Directory "/ opt / nagios / share">
Options None
AllowOverride None
Order allow, deny
Allow from all
AuthBasicProvider ldap
AuthType Basic
AuthName "Restricted access"
AuthLDAPBindDN "CN = X, OU = X, OU = X, OU = X, DC = X, DC = X"
AuthLDAPBindPassword XXXX
AuthLDAPURL "ldap: // XXXXX"
AuthLDAPGroupAttributeIsDN on
require ldap-group CN = X, OU = X, OU = X, OU = \ <X \>, DC = X, DC = X
AuthzLDAPAuthoritative on
</ Directory>
Where is my problem? I can't find the root of the problem ..
Could you help me?
thank you so much!