-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Braun Brelin wrote:
> I'm trying to do something complex with CPS Directories and I need some
> assistance...
> 
> Basically, I'm trying to combine two LDAPBackend directories using a
> stacking directory to give me a list of LDAP groups from my LDAP server.
> 
> I have two sets of groups, a defined group and a computed group.
> 
> The defined group is in a subtree under the ou=groups, dc=<customer>,dc=<com>
> tree.
> 
> The defined group is actually a custom LDAP attribute that is part of each
> user's entry. We'll call this custom entry foo.
> 
> So, for each user there's an entry
> foo = "finance"
> or,
> foo = "administration".
> 
> I have an LDAP backend directory that collects these as well.
> 
> My problem is integrating the two...
> 
> I can't figure out how to get the stacking directory to combine the two
> LDAP backend directories output.
> 
> dir 1 (the listed groups) uses 'cn' to describe the group name.
> dir 2 (the computed groups) uses 'foo' to describe the custom LDAP entry.
> One problem is that dir 2 also uses 'cn' to describe the user's canonical
> 
> How the heck do I get the stacking directory to combine both  of these?
> If I use 'cn' I get a list of the defined groups, but I also get a list of
> the user names....Not what I want.
> 
> Any help appreciated....
>

You will need a meta directory to rename the fieds since the stacking
don't allow you to do it.

Check this Directory type and post of you still don't see how to fix
your problem.

Cheers,

        J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Plateform : http://www.cps-project.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD4DBQFCiThlGhoG8MxZ/pIRAgFUAJiGK2ASP1O/0oRmyTeBULeHYrQYAJ9Pf5ip
1CWe/yUsR1503vheDGoqCQ==
=sk6/
-----END PGP SIGNATURE-----
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to