[Zope] Can't install LoginManager

Pete Nesbitt pnesbitt@openschool.bc.ca
Wed, 20 Jun 2001 08:55:48 -0700


Hi,
I am using Zope 2.3.2. I am trying to find a way to use LDAP (or htaccess 
etc) for user authentication into the zope environment. This is to use the 
same auth as Apache so users only log in once. (trying to re-use a hacked 
copy of w-agora for a forms based list (like squish-dot) but we have modified 
it so when posting, your login id is used for the posters id, no spoofed 
posts).

Anyway, it looked like LoginManager may do the trick, but after untaring it 
and trying to start zope, LoginManager fails. (I am untaring the source in 
the top level of the zope, just like other products)
Here is the error message:

bash-2.04$ ./start
------
2001-06-20T15:49:01 ERROR(200) Zope Couldn't import Products.LoginManager
Traceback (innermost last):
  File /usr/local/tll/zope-2.3.2/lib/python/OFS/Application.py, line 528, in 
import_products
    (Object: string)
  File 
/usr/local/tll/zope-2.3.2/lib/python/Products/LoginManager/__init__.py, line 
1, in ?
  File 
/usr/local/tll/zope-2.3.2/lib/python/Products/LoginManager/LoginManager.py, 
line 8, in ?
  File /usr/local/tll/zope-2.3.2/lib/python/Products/ZPatterns/__init__.py, 
line 1, in ?
  File /usr/local/tll/zope-2.3.2/lib/python/Products/ZPatterns/Rack.py, line 
9, in ?
  File /usr/local/tll/zope-2.3.2/lib/python/Products/ZPatterns/DataSkins.py, 
line 1, in ?
ImportError: No module named DynPersist
 
 
------
2001-06-20T15:49:02 PROBLEM(100) Zope No such file or directory: 
/usr/local/tll/zope-2.3.2/lib/python/Products/PlugIns/help
------
2001-06-20T15:49:02 INFO(0) ZServer HTTP server started at Wed Jun 20 
08:49:02 2001
        Hostname: lindev1.ola.bc.ca
        Port: 8080
------
2001-06-20T15:49:02 INFO(0) ZServer FTP server started at Wed Jun 20 08:49:02 
2001
        Hostname: lindev1.ola.bc.ca
        Port: 8021
------
2001-06-20T15:49:02 INFO(0) ZServer PCGI Server started at Wed Jun 20 
08:49:02 2001
        Unix socket: /usr/local/tll/zope-2.3.2/var/pcgi.soc

------ END of Output-----------

I don't know python so the errors are a little vague. Does LoginManager work 
with 2.3.2?

I am using  LoginManager-0-8-8b1.tgz, zope 2.3.2, RedHat 7.1 (intel)

Is there a better way to use external authentication?

-- 
Peter M. Nesbitt
Systems Analyst
Open Learning Agency
Victoria, B.C.
 
250.953.7426
petern@ola.bc.ca