Edit mysqlAuthSource/mysqlAuthSource.py Change: def cryptPassword(self, username, password): salt =username[:2] secret = crypt(password, salt) return secret to read: # Alternate cryptPassword function, returns plain text of the password. def cryptPassword(self, username, password): return password Thats all you need to do. You will have to delete and re-add and users that were added with crypted passwords.. -) Tom On Tue, 2004-02-10 at 09:15, Ivar van Duuren wrote:
Hi,
I'm currently looking into the possibility of replacing our own home-made content management system with Zope/Plone. We have a mysql database we will want to continue to use. I have installed exUserFolder, to be able to use user information stored in this database for authentication. Now that's almost working, the only thing is that exUserFolder is expecting passwords to be encrypted; which they are not. Is there a way of telling exUserFolder that it should work with non-encrypted passwords?
Thanks, Ivar van Duuren
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )