When change the password encryption, the password are not changed

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/13/2010 1:42:06 PM
Gravatar
Total Posts 251

When change the password encryption, the password are not changed

Hi, when i change the password encryption on mojo-mysql, there is this exception:

2010-01-13 20:35:54,171 ERROR mojoPortal.Web.mojoMembershipProvider - ChangeFromClearTextPasswordsToEncrypted
MySql.Data.MySqlClient.MySqlException: Unknown column 'Password' in 'field list'
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)
at MySql.Data.MySqlClient.MySqlDataReader.GetResultSet()
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(MySqlConnection connection, String commandText, MySqlParameter[] commandParameters)
at MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(String connectionString, String commandText, MySqlParameter[] parms)
at mojoPortal.Data.DBPortal.DatabaseHelperUpdateTableField(String tableName, String keyFieldName, String keyFieldValue, String dataFieldName, String dataFieldValue, String additionalWhere)
at mojoPortal.Business.DatabaseHelper.UpdateTableField(String tableName, String keyFieldName, String keyFieldValue, String dataFieldName, String dataFieldValue, String additionalWhere)
at mojoPortal.Web.mojoMembershipProvider.ChangeFromClearTextPasswordsToHashed(Object objSiteSettings)
 

And, by default the password encryption type is "plain text"... it is normal?

1/13/2010 1:53:55 PM
Gravatar
Total Posts 18439

Re: When change the password encryption, the password are not changed

It is a bug. I migrated password to a larger field named Pwd so we can use stronger encryption but forgot about these methods for changing format also need to be updated to use the new field.

I will look into it and fix it.

Best,

Joe

1/13/2010 1:58:51 PM
Gravatar
Total Posts 251

Re: When change the password encryption, the password are not changed

i saw the field change, when i went to an older db to copy/paste a known md5 hash to login again

great

1/15/2010 2:36:26 PM
Gravatar
Total Posts 18439

Re: When change the password encryption, the password are not changed

I've just uploaded mojoPortal 2.3.3.4.B to our Novell Forge download page, it has fixes for all bugs reported since 2.3.3.4 was released. Working on updating Codeplex now.

Best,

Joe

1/15/2010 4:46:35 PM
Gravatar
Total Posts 251

Re: When change the password encryption, the password are not changed

great!

thank you!

You must sign in to post in the forums. This thread is closed to new posts.