Announcement

Collapse
No announcement yet.

Direct login without typing username and password

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Direct login without typing username and password

    I have need to go directly on the Oreon home page (http://xxx.xxx.xxx.xxx/oreon/oreon.php?p=1) without typing username and password or inserting them in the URL.

    There is a way to do this?

  • #2
    yes you can

    http://Oreon_IP_Serveur/oreon/oreon.php?p=1&autologin=1&useralias=MD5(Userlogin) &password=MD5(password)

    best regards
    Julien Mathis
    Centreon Project Leader
    www.merethis.com |

    Comment


    • #3
      Is this autologin method working with Oreon 1.3.1-1? I keep getting redirected back out to http://cylnms01/oreon/index.php?disconnect=1 when I attempt to use the autologin method suggested above.

      Thanks,

      Jon

      Comment


      • #4
        oh yes it's working since 1.3-RC1

        http://Oreon_IP_Serveur/oreon/oreon.php?p=1&autologin=1&useralias=MD5(Userlogin) &password=MD5(password)

        MD5(password) = crypted password and same for userlogin... what is your login ? Do you use Ldap ?
        Julien Mathis
        Centreon Project Leader
        www.merethis.com |

        Comment


        • #5
          I used a javascript utility at http://pajhome.org.uk/crypt/md5/ to get the MD5 hash for the username (guest) and password (guest). This is the resulting URL:

          http://<servername>/oreon/oreon.php?p=1&autologin=1&useralias=084e0343a0486f f05530df6c705c8bb4&password=084e0343a0486ff05530df 6c705c8bb4

          Did I misinterpret your URL notation?

          Thanks again,

          Jon

          Comment


          • #6
            Hi there!

            Do not working here either ... Same behaviour as JonK. Maybe we're missing something, Julio ...
            [Linux 2.4.20-28.7 - RedHat 7.2]
            [Linux 2.6.16.21-0.25 - OpenSuSE 10.1]
            [Apache 1.3.x, PHP 5.x, MySQL 5.x]
            [Apache 2.2.x, PHP 5.x, MySQL 5.x]
            [Nagios 1.4.1+Nagmin -Production-, Nagios 2.5+Oreon 1.3.1-1 -PreProduction-, Nagios 2.5+Oreon 1.3.1-1 -Testing-]

            Comment


            • #7
              strange it's ok in my oreon :?
              Julien Mathis
              Centreon Project Leader
              www.merethis.com |

              Comment


              • #8
                It works but the coorect link is:

                http://Oreon_IP_Serveur/oreon/index.php?p=1&autologin=1&useralias=MD5(Userlogin) &password=MD5(password)

                I use Oreon v1.3-RC2

                Comment


                • #9
                  Great! Thanks smella.
                  [Linux 2.4.20-28.7 - RedHat 7.2]
                  [Linux 2.6.16.21-0.25 - OpenSuSE 10.1]
                  [Apache 1.3.x, PHP 5.x, MySQL 5.x]
                  [Apache 2.2.x, PHP 5.x, MySQL 5.x]
                  [Nagios 1.4.1+Nagmin -Production-, Nagios 2.5+Oreon 1.3.1-1 -PreProduction-, Nagios 2.5+Oreon 1.3.1-1 -Testing-]

                  Comment


                  • #10
                    ho yes sorry ops:
                    Julien Mathis
                    Centreon Project Leader
                    www.merethis.com |

                    Comment


                    • #11
                      the autologin feature isnt working in the new centreon 1.4.1 release. Are there any plans to reactivate it?

                      Comment


                      • #12
                        no it's working !

                        I use it

                        $LOGIN = MD5(login)
                        $PASSWORD = MD5(password)

                        http://yourip/oreon/index.php?autologin=1&username=$LOGIN&password=$PA SSWORD&p=2
                        Julien Mathis
                        Centreon Project Leader
                        www.merethis.com |

                        Comment


                        • #13
                          And the page 'p=number' you need to go.
                          Romain Le Merlus
                          Centreon Forge
                          MERETHIS

                          Comment


                          • #14
                            Bonjour
                            je déterre un vieux sujet mais j'aimerai faire exactement la même chose sous centreon 2.0
                            j'ai essayé l'url :
                            http://mon_serveur/centreon/main.php...d=MD5(password)
                            mais ça ne marche pas, avec ou sans MD5().

                            si quelqu'un peut m'éclairer...
                            merci

                            Comment


                            • #15
                              Ca marche parfaitement:

                              Code:
                              http://IP_SERVEUR/centreon/main.php?p=1&autologin=1&useralias=2995cb0650c5f107230ed569a8c4d6e5&password=2995cb0650c5f107230ed569a8c4d6e5
                              ou 2995cb0650c5f107230ed569a8c4d6e5 n'est rien d'autre que le HASH MD5 de "centreon"
                              Centreon Syslog Module Manager/Developper
                              Centreon E2S Module Manager/Developper
                              Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
                              Nagios 3.x et NDOutil 1.x

                              Comment

                              Working...
                              X