RE: [Zope] sync Zope userids with Apache userids?
Hi again Thank you for the URL to UserDb, it sounds exactly what I was looking for, but I cannot seem to get it to initialize. I have installed it into the proper directory lib/python/Products/UserDb and restarted Zope. UserDb appears as a product under Zope i.e. "Product at /cgi-bin/Zope / Control_Panel / Products / UserDb " but does not appear in the "To add a new item, select an item type and click "Add". " option in folders. Under the products menu entry for UserDb there are only two tabs "Traceback" & "Help", the Traceback tab contains the following -----------Start Here------------------------------------------------------------------------ --- Product at /cgi-bin/Zope / Control_Panel / Products / UserDb UserDb Import Traceback Traceback (innermost last): File "/shared/gsm/pkg/zope/Zope-1.9.0-src/lib/python/OFS/Application.py", line 378, in import_products product=__import__(pname, global_dict, global_dict, silly) ImportError: Bad magic number in /shared/gsm/pkg/zope/Zope-1.9.0-src/lib/python/Products/UserDb/__init__.pyc -----------End Here------------------------------------------------------------------------ --- Any Ideas? (Perhaps other than its a friday afternoon and your not making any sense!) Thank You Patrick Diamond [snip]
I think what you want is to not have to copy the redundant information from the database into User Folders. What you can do there is use the UserDb Product to make UserDb folders, which act like User Folders except they authenticate off of an SQL database. Note that this is in Prereleases because
we haven't documented it yet. Other than that it is stable.
http://www.zope.org/Download/Prereleases/UserDB/UserDb-1.1.0-all.tar.gz
-Michel
Thanks Patrick Diamond
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
Patrick Diamond wrote:
Product at /cgi-bin/Zope / Control_Panel / Products / UserDb
UserDb Import Traceback
Traceback (innermost last): File "/shared/gsm/pkg/zope/Zope-1.9.0-src/lib/python/OFS/Application.py", line 378, in import_products product=__import__(pname, global_dict, global_dict, silly) ImportError: Bad magic number in /shared/gsm/pkg/zope/Zope-1.9.0-src/lib/python/Products/UserDb/__init__.pyc
Any Ideas? (Perhaps other than its a friday afternoon and your not making any sense!)
I don't make any sense anyway. Sorry for releasing the brain damaged UserDb. Paul gave the heads up to OSS it, Brian Zoped it, an no one has tested it. I get to throw it to the wolves. http://www.zope.org/Download/Prereleases/UserDB/UserDb-1.2.0-nonbin.tar.gz Test it, patch it, maybe even document it? -Michel
Thank You Patrick Diamond
participants (2)
-
Michel Pelletier -
Patrick Diamond