[CPS-devel] Meta / Stacking / Backing Directory Resources

Georges Racinet gracinet at nuxeo.com
Thu Apr 20 12:07:42 CEST 2006


On Apr 20, 2006, at 10:37 AM, <damien.metzler at ext.leroymerlin.fr>  
<damien.metzler at ext.leroymerlin.fr> wrote:

>
>
>> 	Where can i get some detailed on Stacking / Backing Directories?
>> 	I am looking at seeing if i can impliment LDAP groups into CPS but
> not sure where to start?
> 	
> Start with the CPSLDAPSetup product. It will set up a full LDAP
> configuration with CPS. Use the LDIF file in the ldap-utils folder  
> to set up
> a working ldap tree.
> 	
>> 	How does the current CPSLDAP work? As there is no code i am a little
> confused. Where along the line do the >     schema's get invoked  
> instead of
> the standard login process? (sorry very new to Zope / CPS)
> 	
> 	All the code is in the CPSDirectory product. You will find a schema
> that explain the different roles of the meta/backing and stackin  
> directories
> on the CPSLDAPSetup project page at cps-project.org.
> 	CPSLDAPSetup is just a product that create the LDAP objects in a CPS
> Site so that it work well. But there is no LDAP code in the  
> CPSLDAPSetup
> product.

Yes. Further information about the CPSDirectory objects can be found  
here:
   http://www.cps-project.org/sections/documentation/cps-dev-center/ 
platform-products/cpsdirectory
I must warn that some of it is outdated. The doc on Stacking and Meta  
directories is ok.

About the login stuff: all the info is taken by CPSUserFolder from  
directories. It isn't extracted from LDAP and then put in directories.
So all you have to do is implement a groups directory that indirects  
to your LDAP server. You'll need a stacking to change the id field  
from 'dn' (mandatory in LDAP directories) to 'group', and a meta on  
top of that to do field renaming if necessary.

Cheers,
---------
Georges Racinet                        Nuxeo SAS
gracinet at nuxeo.com                http://nuxeo.com
Tel: +33 (0) 1 40 33 71 73




More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.