[Zope] Migrate exUserFolder back to User Folder
Hello, I have a site that is using the exUserFolder product as acl_users in the root folder. I would like to migrate it back to a normal User Folder. My problem, however, is that the passwords are encrypted by default in exUserFolder, and I do not now how to migrate those encrypted passwords back to the normal User Folder. Any ideas? Thanks, Chris ___ 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 )
Re: [Zope] Migrate exUserFolder back to User Folder
I have a site that is using the exUserFolder product as acl_users in the root folder. I would like to migrate it back to a normal User Folder. My problem, however, is that the passwords are encrypted by default in exUserFolder, and I do not now how to migrate those encrypted passwords back to the normal User Folder. Any ideas? You may check the source of exUserFolder to see what encryption is used there, but I think you'll not be able to recover passwords from this. You might want to take a look at PAS, especially check the ZODB plugin. Maybe it already uses same password encryption as exUserFolder. If not then, I think, it is not a big deal to write own plugin that will encrypt the passwords same way as exUserFolder. -- Maciej Wisniowski ___ 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 )
Re: [Zope] Migrate exUserFolder back to User Folder
+---[ Chris Crownhart ]-- | Hello, | | I have a site that is using the exUserFolder product as acl_users in the | root folder. I would like to migrate it back to a normal User Folder. | My problem, however, is that the passwords are encrypted by default in | exUserFolder, and I do not now how to migrate those encrypted passwords | back to the normal User Folder. | | Any ideas? Nothing that will work automatically in a batch fashion, passwords are encrypted for a reason. The simplest will be to create an acl_users somewhere, and alter your authsource to add a new user to it, whenever that user logs in (if they don't already exist in the new acl_users). -- Andrew Milton [EMAIL PROTECTED] ___ 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 )
Re: [Zope] Migrate exUserFolder back to User Folder
+---[ Maciej Wisniowski ]-- | I have a site that is using the exUserFolder product as acl_users in the | root folder. I would like to migrate it back to a normal User Folder. | My problem, however, is that the passwords are encrypted by default in | exUserFolder, and I do not now how to migrate those encrypted passwords | back to the normal User Folder. | Any ideas? | You may check the source of exUserFolder to see what encryption is used | there, but I think you'll not be able to recover passwords from this. The encryption you can use with XUF, is selectable on a per instance basis. But, I figure it's probably using the old crypt which is the default, since they didn't mention it. Probably still quite time-intensive to recover. -- Andrew Milton [EMAIL PROTECTED] ___ 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 )
Re: [Zope] Migrate exUserFolder back to User Folder
Thanks for the info. It looks like my version of exUserFolder uses crypt for the password encryption. It also looks like User Folder allows you to use crypt (I haven't figured out how) to encrypt your password, through it's AuthEncoding module. My question would be: If I can get the encryption planets to line up, how do I copy the crypted password from an exUserFolder record to a standard User Folder object? Thanks, Chris Maciej Wisniowski wrote: I have a site that is using the exUserFolder product as acl_users in the root folder. I would like to migrate it back to a normal User Folder. My problem, however, is that the passwords are encrypted by default in exUserFolder, and I do not now how to migrate those encrypted passwords back to the normal User Folder. Any ideas? You may check the source of exUserFolder to see what encryption is used there, but I think you'll not be able to recover passwords from this. You might want to take a look at PAS, especially check the ZODB plugin. Maybe it already uses same password encryption as exUserFolder. If not then, I think, it is not a big deal to write own plugin that will encrypt the passwords same way as exUserFolder. -- Chris Crownhart 303/809-1001 ___ 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 )