LDAPUserFolder mapping roles

2006-01-30 Thread Marcel Hartmann
I'm using LDAPUserFolder for Zope 2.7.6 and it works fine.

Is it possible to do the mapping to zope roles by the _value_ of the 
group and not the group name?
We defined in LDAP many groups to define access to different 
applications - one is named zope. I want to map the values of this 
group zope (e.g. admin_intranet, admin_extranet, ...) to zope 
roles. How can I do this?
-- 
http://mail.python.org/mailman/listinfo/python-list


DCOracle2/python/zope

2005-12-01 Thread Marcel Hartmann
Hi,

I have problems to get ZOracleDA run in Zope - I cannot found a solution 
  wheter in Zope Groups nor searching google and I think it's a python 
problem. The connection in python - without zope - functions without 
problems and the missing library (see errors later) is obviously found. 
Is it possible to set an library path for python? I tested changing the 
ld.conf.so and running ldconfig or setting LD_LIBRARY_PATH environment 
var, but without success. I am running SuSE 9.3/Python 2.4/DCOracle2 
1_3b/PDO 1.3.1
I get the following error starting the zope server:

2005-12-01T16:33:08 ERROR(200) Zope Couldn't install ZOracleDA
Traceback (most recent call last):
   File /opt/zope/lib/python/OFS/Application.py, line 723, in 
install_product
 global_dict, global_dict, silly)
   File /opt/zope/lib/python/Products/ZOracleDA/__init__.py, line 91, in ?
 import DA
   File /opt/zope/lib/python/Products/ZOracleDA/DA.py, line 90, in ?
 from db import DB
   File /opt/zope/lib/python/Products/ZOracleDA/db.py, line 89, in ?
 import DCOracle2, DateTime
   File /opt/zope/lib/python/Products/ZOracleDA/DCOracle2/__init__.py, 
line 37, in ?
 from DCOracle2 import   *
   File 
/opt/zope/lib/python/Products/ZOracleDA/DCOracle2/DCOracle2.py, line 
104, in ?
 import dco2
ImportError: libclntsh.so.10.1: cannot open shared object file: No such 
file or directory
-- 
http://mail.python.org/mailman/listinfo/python-list