[Check_mk (english)] LDAP Authentication

Ervin Binungcal ervin.binungcal.tup at gmail.com
Fri Feb 27 07:01:02 CET 2015


Hi,

Im trying to use LDAP as authentication, but I'm getting this error.

Internal error: [Errno 13] Permission denied:
'/usr/local/nagios/etc/auth.secret'ceback (most recent call   d    )

File "/usr/share/check_mk/web/htdocs/login.py", line 215, in page_login
   result = do_login()
File "/usr/share/check_mk/web/htdocs/login.py", line 200, in do_login
    set_auth_cookie(username, load_serial(username))
File "/usr/share/check_mk/web/htdocs/login.py", line 90, in set_auth_cookie
    html.set_cookie(site_cookie_name(), auth_cookie_value(username, serial))
File "/usr/share/check_mk/web/htdocs/login.py", line 87, in auth_cookie_value
    return username + ':' + now + ':' + generate_hash(username, now, serial)
File "/usr/share/check_mk/web/htdocs/login.py", line 77, in generate_hash
    secret = load_secret()
File "/usr/share/check_mk/web/htdocs/login.py", line 63, in load_secret
    file(secret_path, 'w').write(secret + "\n")

IOError: [Errno 13] Permission denied: '/usr/local/nagios/etc/auth.secret'

Can someone help me? Im currently using nagios core.



Thanks,

*Mc Ervin Binungcal*
TaskUs | Outsource IT Associate | Team ExaByte
Ridiculously Good Outsourcing
O +63.46.856.4416  | C +63.927.884.4076
How am I doing? Please contact my IT Director

Frank Malabanan: fmalabanan at taskus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20150227/7a1f7696/attachment.html>


More information about the checkmk-en mailing list