Erol Robaina Cepero wrote:
That is in the LDAP schema mapping tab.
To find that, in ZMI go to your plone site -> acl_users -> your AD
plugin -> contents tab -> click 'acl_users' here -> LDAP Schema tab
Thanks Nick, but i want to map more AD user properties to plone user properties
and i don't know what plone user properties there is.
I only know email and fullname plone user properties.
Note that not all of those LDAP attributes map to existing Plone Member
attributes but it is pretty easy to add them.
What I did (most definitely not the best way) was to expose them by
extending CMFPlone/MembershipTool.py's getMemberInfo() method:
memberinfo = { 'fullname' : member.getProperty('fullname'),
'description' : member.getProperty('description'),
'location' : member.getProperty('location'),
+ 'staff' : member.getProperty('staff'),
which makes them available in templates such as author.pt:
<span tal:define="staff_dn_list authorinfo/staff | nothing"
tal:condition="staff_dn_list">
<ul tal:repeat="staff_dn staff_dn_list">
etc.
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup