[Linux-sunucu] Re: Icinga LDAP kullanici adi ve sifre hatasi

ÍzgŘr Křlřšaslan ozgurkilicaslan at gmail.com
23 Haz 2014 Pzt 11:38:35 EEST


2014-05-27 11:47 GMT+03:00 Muharrem Aydin <muharrem at muharremaydin.com>:

> Merhaba Arkadaslar,
>
> Icinga server LDAP aktif ettim, Apache2 server icersinde bir takim
> ayarlari yaptim. Lakin kullanici adi ve sifresini yazdigimda asagidaki hata
> mesaji geliyor
>
>
> Hata mesaji 1
>  Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
> Please contact the server administrator, webmaster at localhost and inform
> them of the time the error occurred, and anything you might have done that
> may have caused the error.
> More information about this error may be available in the server error log.
> Apache/2.2.16 (Debian) Server at 192.168.200.244 Port 80</address>
>
> Apache loglarinda g├Âz├╝ken hata
>
>  [Tue May 27 08:48:46 2014] [error] [client 192.168.200.33] user
> ldapicinga not found: /icinga/cgi-bin/tac.cgi, referer:
> http://192.168.200.244/icinga/
> [Tue May 27 08:48:46 2014] [error] [client 192.168.200.33] user ldapicinga
> not found: /icinga/cgi-bin/tac.cgi, referer:
> http://192.168.200.244/icinga/
> [Tue May 27 08:49:17 2014] [error] [client 192.168.200.33] user
> icingaadmin not found: /icinga/cgi-bin/tac.cgi, referer:
> http://192.168.200.244/icinga/
> [Tue May 27 08:49:17 2014] [error] [client 192.168.200.33] user
> icingaadmin not found: /icinga/cgi-bin/tac.cgi, referer:
> http://192.168.200.244/icinga/
>

icingaadmin kullan─▒c─▒s─▒ istiyor gibi duruyor.


> /icinga/cgi-bin/tac.cgi bunu bulamiyor sanirim bunu nerde ve nasil
> d├╝zeltebiliriz Fikri olan Arkadaslar yardimci olabilirse sevinirim.
>
> Bu arada Apache2 altinda bulunan httpd.conf dosyayi bos buraya kendimiz
> birseymi yazmamiz gerekiyor yazar isek ne yazacagiz  ?
>
>
>  /usr/local/icinga# find / -type f -name tac.cgi
> /usr/local/icinga/sbin/tac.cgi
> /usr/src/icinga-1.6.1/cgi/tac.cgi
>
> Yardim olur diye /etc/apache2/conf.d#icinga.conf   icersindeki yaptigim
> ayar asagidadir yardimlarinizi bekliyorum tesekk├╝rler
>
>
>
>  # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> #
> # This file contains examples of entries that need
> # to be incorporated into your Apache web server
> # configuration file.  Customize the paths, etc. as
> # needed to fit your system.
>
> ScriptAlias /icinga/cgi-bin "/usr/local/icinga/sbin"
>
> <Directory "/usr/local/icinga/sbin">
> #  SSLRequireSSL
>    Options ExecCGI
>    AllowOverride None
>    Order allow,deny
>    Allow from all
> #  Order deny,allow
> #  Deny from all
> #  Allow from 127.0.0.1
>    AuthName "Icinga Access"
>    AuthType Basic
>    AuthUserFile /usr/local/icinga/etc/htpasswd.users
>    Require valid-user
> #### F├╝r LDAP #######
>    AuthName "LDAP Windows"
>    AuthType Basic
>    AuthLDAPURL
> ldap://dc01:389/cn=ldapicinga,dc=incas,dc=com?samAccountName?sub?(objectCategory=person)
>    AuthLDAPBindDN CN=ldapicinga,OU=Sonstiges,DC=incas,DC=com
>    AuthLDAPBindPassword ADsifresigirili
>    require valid-user
>    AuthBasicProvider ldap
>    AuthzLDAPAuthoritative off
>    require ldap-group CN=Users,OU=Sonstiges,DC=incas,DC=com
> </Directory>
>
> Alias /icinga "/usr/local/icinga/share/"
>
> <Directory "/usr/local/icinga/share/">
> #  SSLRequireSSL
>    Options None
>    AllowOverride All
>    Order allow,deny
>    Allow from all
> #  Order deny,allow
> #  Deny from all
> #  Allow from 127.0.0.1
>    AuthName "Icinga Access"
>    AuthType Basic
>    AuthUserFile /usr/local/icinga/etc/htpasswd.users
>    Require valid-user
> #### F├╝r LDAP #######
>    AuthName "LDAP Windows"
>    AuthType Basic
>    AuthLDAPURL
> ldap://[dc01]:389/cn=ldapicinga,dc=[incas],dc=[com]?samAccountName?sub?(objectCategory=person)
>    AuthLDAPBindDN CN=ldapicinga,OU=Sonstiges,DC=incas,DC=com
>    AuthLDAPBindPassword ADsifresigirili
>    require valid-user
>    AuthBasicProvider ldap
>    AuthzLDAPAuthoritative off
>    require ldap-group CN=Users,OU=Sonstiges,DC=incas,DC=com
>
> </Directory>
>
>
> _______________________________________________
> Linux-sunucu E-Posta Listesi
> Linux-sunucu at liste.linux.org.tr
>
> Liste kurallar─▒n─▒ http://liste.linux.org.tr/kurallar.php  ba─člant─▒s─▒ndan
> okuyabilirsiniz;
>
> Bu Listede neden bulundu─čunuzu bilmiyorsan─▒z veya art─▒k bu listeden gelen
> e-postalar─▒ almak istemiyorsan─▒z a┼ča─č─▒daki ba─člant─▒ adresini kullanarak 1
> dakika i├žinde ├╝yeli─činizi sonland─▒rabilirsiniz.
> https://liste.linux.org.tr/mailman/listinfo/linux-sunucu
>
>


-- 
*G├Âr├╝nenler*, *ger├žek olsayd─▒ bilime* gerek kalmazd─▒.
-------------- sonraki b÷lŘm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.linux.org.tr/pipermail/linux-sunucu/attachments/20140623/e9aa9a86/attachment.html 


Linux-sunucu mesaj listesiyle ilgili daha fazla bilgi