RAAD Umar a écrit :
>> You're right (again) there was an error in this line... The right value >> should have been: >> >> "<property name="ldap_bind_dn">[EMAIL PROTECTED]</property>" >> NOT "<property name="ldap_bind_dn">[EMAIL PROTECTED]</property>" >Hum, this is still not a dn. >> The members_ldap.xml model provided in this post: >> http://svn.nuxeo.org/trac/pub/ticket/1661 >> is a bit confusing about that (And I get confused) >Ok the sample syntax in that package is misleading. >A dn should be something like: >cn=cps,ou=applications,dc=mysite,dc=net It also works with: CN=cps,CN=Users,DC=gogol,DC=ch But not CN=cps,OU=Users,DC=gogol,DC=ch I have left this setting (CN=cps,CN=Users,dc=gogol,DC=ch) instead of [EMAIL PROTECTED] I havn't seen any difference in CPS with one or the other setting >And this LDAP object should be configured have full access right to the ldap >branch of your users. the "cps" object is an user, member of the "domain admin" group. It should have all the rights it needs >This is hardcoded to show 'id' in the template which is bad: here is a better >version of the template : >http://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSDirectory/trunk/skins/cps_directory/getDirectoryResultFields.py That worked perfectly... Thanks :-) >The id_field of your members directory is still set to "uid" instead of >sAMAccountName. You should check that in ZMI: portal_directories/members ( >portal_directories/members_stack as well). I checked: ZMI: CPS --> portal_directories --> Members (Label members) "Field for entry id" is sAMAccountName ZMI: CPS --> portal_directories --> Members_stack: "Field for entry id" is sAMAccountName Except these 2 settings there's only Members_ldap, Groups (label_groups) and Roles (label_roles) left... These seems to be correct. Must be somewhere else :-( Thanks again for all your help. Umar _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
