PDA

View Full Version : Direct login without typing username and password


smella
09-27-2006, 02:47 PM
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?

julio
09-27-2006, 04:49 PM
yes you can :)

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

best regards

JonK
10-04-2006, 10:46 PM
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

julio
10-05-2006, 12:17 AM
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 ?

JonK
10-05-2006, 12:42 AM
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=084e0343a0486ff05530df6c705c8bb4&password=084e0343a0486ff05530df6c705c8bb4

Did I misinterpret your URL notation?

Thanks again,

Jon

cih
10-05-2006, 10:46 AM
Hi there!

Do not working here either ... Same behaviour as JonK. Maybe we're missing something, Julio ...

julio
10-05-2006, 05:57 PM
strange it's ok in my oreon :?

smella
10-06-2006, 12:17 PM
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

cih
10-06-2006, 12:21 PM
Great! Thanks smella. ;)

julio
10-06-2006, 08:04 PM
ho yes sorry :oops:

asg
09-11-2007, 11:43 AM
the autologin feature isnt working in the new centreon 1.4.1 release. Are there any plans to reactivate it?

julio
09-11-2007, 12:24 PM
no it's working !

I use it :)

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

http://yourip/oreon/index.php?autologin=1&username=$LOGIN&password=$PASSWORD&p=2

rom
09-13-2007, 10:42 AM
And the page 'p=number' you need to go.