[Zope] sync Zope userids with Apache userids?

Patrick Diamond patjd@nortelnetworks.com
Fri, 5 Feb 1999 16:16:18 -0000


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