On Sat, 2009-03-28 at 14:07 -0700, willisterman wrote: > I've been using mono with a project for a bit, and have had no problems > authenticating using the sqlmembershipprovider. I've now switched to using > a custom xml membership provider, and I'm having trouble with > authentication. > > Using the following code: > > byte[] bytes = Encoding.Unicode.GetBytes(password); > byte[] src = Convert.FromBase64String(salt); > byte[] dst = new byte[src.Length + bytes.Length]; > byte[] inArray = null; > Buffer.BlockCopy(src, 0, dst, 0, src.Length); > Buffer.BlockCopy(bytes, 0, dst, src.Length, bytes.Length); > inArray = this.EncryptPassword(dst); > ret = Convert.ToBase64String(inArray); > [...] > Everything is the same until "this.EncryptPassword" is called, where a > different response is returned. > > This is currently breaking authentication. Does anyone know a way to fix > this?
Can you add a description of this problem and a small self-contained test case to http://bugzilla.novell.com? -Gonzalo _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
