From d242d47e5cf1274225091e843e065366a3620c14 Mon Sep 17 00:00:00 2001
From: BlueWall
Date: Fri, 2 Mar 2012 15:05:06 -0500
Subject: OpenID auth needs hashing before authenticating
---
OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'OpenSim/Server')
diff --git a/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs b/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs
index 440b898..dfed761 100644
--- a/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs
+++ b/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs
@@ -248,7 +248,7 @@ For more information, see http://openid.net/.
if (passwordValues != null && passwordValues.Length == 1)
{
if (account != null &&
- (m_authenticationService.Authenticate(account.PrincipalID, passwordValues[0], 30) != string.Empty))
+ (m_authenticationService.Authenticate(account.PrincipalID,Util.Md5Hash(passwordValues[0]), 30) != string.Empty))
authRequest.IsAuthenticated = true;
else
authRequest.IsAuthenticated = false;
--
cgit v1.1
From 749c3fef8ad2d3af97fcd9ab9c72740675e46715 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 8 Mar 2012 01:51:37 +0000
Subject: Change "help" to display categories/module list then "help
" to display commands in a category.
This is to deal with the hundred lines of command splurge when one previously typed "help"
Modelled somewhat on the mysql console
One can still type help to get per command help at any point.
Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet).
Does not affect command parsing or any other aspects of the console apart from the help system.
Backwards compatible with existing modules.
---
OpenSim/Server/Base/ServicesServerBase.cs | 8 ++++----
OpenSim/Server/Handlers/Asset/AssetServerConnector.cs | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
(limited to 'OpenSim/Server')
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs
index a6f4e47..36c48e6 100644
--- a/OpenSim/Server/Base/ServicesServerBase.cs
+++ b/OpenSim/Server/Base/ServicesServerBase.cs
@@ -236,16 +236,16 @@ namespace OpenSim.Server.Base
// Register the quit command
//
- MainConsole.Instance.Commands.AddCommand("base", false, "quit",
+ MainConsole.Instance.Commands.AddCommand("General", false, "quit",
"quit",
"Quit the application", HandleQuit);
- MainConsole.Instance.Commands.AddCommand("base", false, "shutdown",
+ MainConsole.Instance.Commands.AddCommand("General", false, "shutdown",
"shutdown",
"Quit the application", HandleQuit);
-
+
// Register a command to read other commands from a file
- MainConsole.Instance.Commands.AddCommand("base", false, "command-script",
+ MainConsole.Instance.Commands.AddCommand("General", false, "command-script",
"command-script