On Oct 16, 2006, at 4:57 PM, Miguel Sánchez Beato wrote:

Hello everybody. I'm a new CPS developer and I'm dealing with
CPSDirectory. I'm trying to configure a meta directory that maps two
backing directories: a SQL directory from a MS SQL Server database and a ZODB directory. The SQL directory contains the users authentication and personal information (login, password, name, surname, email...) and the
ZODB directory contains the groups and roles information for those
users. Everything seems to work fine, but i've found an issue: If I have
lots of users in my SQL Server database who were created BEFORE I
created the meta directory, do I have to create a meta directory entry
for each user from the SQL directory in a script?


Is there any way for
the meta directory to take ownership of those sql directory entries
using the ZMI?

Hi, I'm not familiar with the internals of SQL directories, but I can tell you that these (as well as LDAP directories) are precisely supposed to provide an indirection to the backing database. Therefore, there's no notion of "taking ownership".

One issue with metadirectories that you can encounter, though, is the following:
        
You have an entry 'foo' in the SQL directory, and no corresponding 'foo' in the ZODB directory that provides groups and roles. The meta will behave as if there was no entry in it, unless you set a "missing_entry" up. Check CPSDirectory/doc/metadirectory.txt for more details.

Good luck

GR




Enviroment:
           - OS: Ubuntu 6.06 LTS Drapper Drake
           - Zope: 2.9.4-final
           - Python: 2.4.3
           - CPS: 3.4.2

Any help will be welcome. Thanks!

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

---------
Georges Racinet                        Nuxeo SAS
[EMAIL PROTECTED]                http://nuxeo.com
Tel: +33 (0) 1 40 33 71 73


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to