[icinga-users] Fwd: Getting error prompt to check log when get login with user = root

shyam sundar Keshari shyamrkg at gmail.com
Mon Mar 4 16:18:32 CET 2013


---------- Forwarded message ----------
From: shyam sundar Keshari <shyamrkg at gmail.com>
Date: Mon, Mar 4, 2013 at 8:10 PM
Subject: Re: [icinga-users] Getting error prompt to check log when get
login with user = root
To: michael.friedrich at gmail.com



Hi ,

Below the complete auth.xml file :


<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0">

<!--
        +++ Site configuration file +++

        This file won't be overwritten

-->

        <setting name="defaults">
        <!--
                <ae:parameter name="auth_create">false</ae:parameter>
                <ae:parameter name="auth_update">false</ae:parameter>
                <ae:parameter name="auth_resume">true</ae:parameter>
                <ae:parameter name="auth_groups">icinga_user</ae:parameter>
                <ae:parameter name="auth_enable">false</ae:parameter>
                <ae:parameter name="auth_authoritative">false</ae:parameter>
        -->
        </setting>



        <setting name="provider">

        <ae:parameter name="msad-ldap1">
            <ae:parameter name="auth_module">AppKit</ae:parameter>
            <ae:parameter
name="auth_provider">Auth.Provider.LDAP</ae:parameter>
            <ae:parameter name="auth_enable">true</ae:parameter>
            <ae:parameter name="auth_authoritative">true</ae:parameter>
            <ae:parameter name="auth_create">true</ae:parameter>
            <ae:parameter name="auth_update">true</ae:parameter>
            <ae:parameter
name="auth_groups">adrole</ae:parameter>

            <ae:parameter name="auth_map">
                <ae:parameter name="user_firstname">givenName</ae:parameter>
                <ae:parameter name="user_lastname">sn</ae:parameter>
                <ae:parameter name="user_email">mail</ae:parameter>
            </ae:parameter>

            <ae:parameter name="ldap_allow_anonymous">false</ae:parameter>
            <ae:parameter name="ldap_dsn">ldap://ldap.example.com
</ae:parameter>
            <ae:parameter name="ldap_start_tls">false</ae:parameter>

 <ae:parameter name="ldap_basedn">DC=test,DC=COM</ae:parameter>
            <ae:parameter name="ldap_binddn">ldapuser</ae:parameter>
            <ae:parameter
name="ldap_bindpw"><![CDATA[QYUHSTTUI34]]></ae:parameter>
            <ae:parameter name="ldap_userattr">sAMAccountName</ae:parameter>
            <ae:parameter
name="ldap_filter_user"><![CDATA[(&(sAMAccountName=__USERNAME__))]]></ae:parameter>
        </ae:parameter>





<!--    <setting name="provider"> -->
        <!--
                <ae:parameter name="openldap-ldap1">
                        <ae:parameter
name="auth_module">AppKit</ae:parameter>
                        <ae:parameter
name="auth_provider">Auth.Provider.LDAP</ae:parameter>
                        <ae:parameter name="auth_enable">true</ae:parameter>
                        <ae:parameter
name="auth_authoritative">false</ae:parameter>
                        <ae:parameter name="auth_create">true</ae:parameter>
                        <ae:parameter name="auth_update">true</ae:parameter>
                        <ae:parameter name="auth_map">
                                <ae:parameter
name="user_firstname">givenName</ae:parameter>
                                <ae:parameter
name="user_lastname">sn</ae:parameter>
                                <ae:parameter
name="user_email">mail</ae:parameter>
                        </ae:parameter>
                        <ae:parameter
name="ldap_dsn">ldap://ldap.myopenldap.foo/</ae:parameter>
            <ae:parameter name="ldap_start_tls">false</ae:parameter>
                        <ae:parameter
name="ldap_basedn">dc=myopenldap,dc=foo</ae:parameter>
                        <ae:parameter
name="ldap_binddn">cn=user,ou=authusers,dc=myopenldap,dc=foo</ae:parameter>
                        <ae:parameter
name="ldap_bindpw"><![CDATA[XXXXXXXXX]]></ae:parameter>
                        <ae:parameter
name="ldap_userattr">uid</ae:parameter>
                        <ae:parameter
name="ldap_filter_user"><![CDATA[(&(uid=__USERNAME__))]]></ae:parameter>
                </ae:parameter>
        -->
        </setting>

        <setting name="message">
        <!--
                <ae:parameter name="show">true</ae:parameter>
                <ae:parameter name="title">¡Hola</ae:parameter>
                <ae:parameter name="text">Soy no persona muy
importante</ae:parameter>
                <ae:parameter name="include_file"></ae:parameter>
 -->
        </setting>

</settings>



On Mon, Mar 4, 2013 at 7:41 PM, Michael Friedrich <
michael.friedrich at gmail.com> wrote:

> On 04.03.2013 15:06, shyam sundar Keshari wrote:
> > Hi Michael,
> >
> > Thanks for quick reply first
> >
> > User "root"  Authentication set to internal .
>
> and your auth.xml looks like (especially the order of ldap and internal
> is interesting)?
>
> >
> >
> > On Mon, Mar 4, 2013 at 7:03 PM, Michael Friedrich
> > <michael.friedrich at gmail.com <mailto:michael.friedrich at gmail.com>>
> wrote:
> >
> >     On 04.03.2013 14:21, shyam sundar Keshari wrote:
> >      > Hi TEam,
> >      >
> >      > I am getting below mention error prompt when i get login with non
> >     domain
> >      > user user = root in Icinga Web .
> >
> >     and which auth type is set for that user?
> >
> >      >
> >      > [debug] Auth.Provider.LDAP Prepare LDAPsearch (base=root,
> >      > filter=(objectClass=*))
> >      > [Mon Mar  4 17:14:24 2013] [fatal] Uncaught AppKitPHPError: PHP
> Error
> >      > ldap_search(): Search: Invalid DN syntax
> >      >
> >
> (/usr/share/icinga-web/app/modules/AppKit/models/Auth/Provider/LDAPModel.class.php:136)
> >      >
> >
> (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:59)
> >      > [Mon Mar  4 17:14:24 2013] [debug] Auth.Provider.LDAP Error:
> >     Invalid DN
> >      > syntax (errno=34,resource=269)
> >      > [Mon Mar  4 17:14:24 2013] [debug] Auth.Dispatch: Delegate
> >      > authentication, no providers found for root
> >     (not_authoritative=internal)
> >      >
> >      > Als if I get login with domain credential then no any error
> prompt on
> >      > Icinga-Web .
> >      >
> >      > Kindly guide me
> >      >
> >      > Thanks in Advance
> >      >
> >      > Shyam Keshri
> >      >
> >      >
> >      >
> >      >
> >      >
> >
> ------------------------------------------------------------------------------
> >      > Everyone hates slow websites. So do we.
> >      > Make your web apps faster with AppDynamics
> >      > Download AppDynamics Lite for free today:
> >      > http://p.sf.net/sfu/appdyn_d2d_feb
> >      >
> >      >
> >      >
> >      > _______________________________________________
> >      > icinga-users mailing list
> >      > icinga-users at lists.sourceforge.net
> >     <mailto:icinga-users at lists.sourceforge.net>
> >      > https://lists.sourceforge.net/lists/listinfo/icinga-users
> >
> >
> >     --
> >     DI (FH) Michael Friedrich
> >
> >     mail: michael.friedrich at gmail.com <mailto:
> michael.friedrich at gmail.com>
> >     twitter: https://twitter.com/dnsmichi
> >     jabber: dnsmichi at jabber.ccc.de <mailto:dnsmichi at jabber.ccc.de>
> >     irc: irc.freenode.net/icinga <http://irc.freenode.net/icinga>
> dnsmichi
> >
> >     icinga open source monitoring
> >     position: lead core developer
> >     url: https://www.icinga.org
> >
> >
> ------------------------------------------------------------------------------
> >     Everyone hates slow websites. So do we.
> >     Make your web apps faster with AppDynamics
> >     Download AppDynamics Lite for free today:
> >     http://p.sf.net/sfu/appdyn_d2d_feb
> >     _______________________________________________
> >     icinga-users mailing list
> >     icinga-users at lists.sourceforge.net
> >     <mailto:icinga-users at lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/icinga-users
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_feb
> >
> >
> >
> > _______________________________________________
> > icinga-users mailing list
> > icinga-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
> --
> DI (FH) Michael Friedrich
>
> mail:     michael.friedrich at gmail.com
> twitter:  https://twitter.com/dnsmichi
> jabber:   dnsmichi at jabber.ccc.de
> irc:      irc.freenode.net/icinga dnsmichi
>
> icinga open source monitoring
> position: lead core developer
> url:      https://www.icinga.org
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20130304/d7d35906/attachment-0001.html>


More information about the icinga-users mailing list