On 18 Jul 2005, at 21:05, Gusti Gonzalez wrote:

Probably not related to the problems, but as I've said time and again, if you install LDAPUserGroupsFolder, you MUST install CMFLDAP too, and
replace the portal_memberdata object with its version.


I swear I read ALL threads related to "LDAP" on this newsgroup, and googled the web for "LDAP and CPS", and I did not find any information as the one you are now telling me. Maybe I was not looking in the right places. I apologize for this.

It may hav been on the cps-devel list, or on the cps-users-fr list, I'm not sure.


Anyway, I have installed the CMFLDAP product.

The CMFLDAP installation procedure outline in its INSTALL.txt could not fully be accomplished, as the CMFLDAP.Install complains that this is not a "CMF Site" nor
a "Plone Site". Which is correct. It is a "CPS Site".

So, I deleted the /cpssite/portal_memberdata object, and added a "CMFLDAP Tools" object. This object asked wheather to install a "LDAP Membership Tool" and/or "LDAP Member data Tool". I only selected the latter, as per your comments above.
 Should I have added the first one too?

No that's ok. CPS has its own membership tool that does the right thing.

Now, I can login with any user in my LDAP directory. Great!.

From this setup (that is: CPSUserFolder, CMFLDAP, LDAPUserGroupsFolder), I have

Groups, Users, and Roles (although have not created any yet), in my LDAP directory. The roles I have are the CPS native(builtin) ones. I can assign an LDAP Role to a Zope Role. And, I can assign Users to Groups. I did not find any
way of assigning Roles to the LDAP Groups. Is this possible?

No. In this framework, groups are just groups of users. If you want to assign roles, it's done locally using local roles (but you can do it at the root of the CPS site), not globally in the directory.

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]


_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to