[Check_mk (english)] LDAP Authentication

Andreas Döhler andreas.doehler at gmail.com
Fri Feb 27 08:17:23 CET 2015


It is a little bit strange. This file is created from apache und must be
writeable from apache.
Inside a classic installation of check_mk it is also readable from all.

Best regards
Andreas

Ervin Binungcal <ervin.binungcal.tup at gmail.com> schrieb am Fr., 27. Feb.
2015 um 07:04 Uhr:

> 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
>  _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20150227/bb894509/attachment.html>


More information about the checkmk-en mailing list