Encrypted password format does not work for MysqlMembershipProvider

Daniel Liang <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
Hi, I am trying to use MysqlMembershipProvider in mono 2.6.4 under Ubuntu,
but Encrypted password keeps failing on me. I tried the same code on Windows
and it works fine.

I have set membership and machineKey in web.config as follows:

<membership defaultProvider="MySQLMembershipProvider">
    <providers>
        <remove name="MySQLMembershipProvider"/>
        <add name="MySQLMembershipProvider" .... passwordFormat="Encrypted"
..../>
    </providers>
</membership>
<machineKey
validationKey="3F5AEE12D9EE359871867FCB45D819AF27AA7263A20EB484F3FAA6A4FFB3B345903C23394F1030DE39078A5D39809C79F06F9C2974E0F3A6810504DF7EEA219B"
decryptionKey="4184C83286BA70E4706F996D95B7DF848A3143227200BA74CB2E624E2B730E0F"
validation="SHA1" decryption="AES"/>

There was a similar topic on this issue in a previous thread:
http://go-mono.com/forums/#nabble-td1539979

But that doesn't describe whether MysqlMembershipProvider works with
Encrypted password in mono or not.

When I create users under Mono, the values under "password" column in the
database are different even I have the same password for all the users. But
if I create the users under windows, the values are all the same.

Does anyone know how to make that work?

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.