[Building Sakai] Sakai LDAP mapping
Jaco Gillman
jaco at opencollab.co.za
Wed Nov 14 05:41:21 PST 2012
Hi All
We have an Sakai 2.8.2 instance with LDAP integration.
Here is an extract from 3 user's view from this LDAP instance using Apache
Directory Studio:
User *ckies*:
[image: Inline images 1]
User *joconnor*:
[image: Inline images 2]
User *jscoble*:
[image: Inline images 3]
When I am logged in as the Admin user, and go to User Membership, I did a
search for each f these users.
User *ckies *search:
[image: Inline images 4]
User *jscoble *search:
[image: Inline images 6]
User *joconnor *search:
[image: Inline images 7]
>From the above image *joconnor's User ID* is "*t-its-users"*.
In our jldap-beans.xml file we have the following LDAP attribute mappings
config:
<property name="attributeMappings">
<map>
<entry key="login"><value>cn</value></entry>
<entry key="distinguishedName"><value>dn</value></entry>
<entry key="firstName"><value>givenName</value></entry>
<entry key="lastName"><value>sn</value></entry>
<entry key="email"><value>mail</value></entry>
<entry
key="groupMembership"><value>groupMembership</value></entry>
</map>
</property>
Why does some user's User ID differ from others (ie joconnor)? All of these
users use either ckies, jscoble or joconnor as username to log in.
Regards,
*Jaco Gillman***
Java Developer
opencollab
*Tel*: +27 21 970 4017 | *Fax*:* *+27 21 914 3098**
*Email*: jaco at opencollab.co.za | *Skype*: gillmanjc
*Web*: www.opencollab.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/a2acbbe9/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 16160 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/a2acbbe9/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2048 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/a2acbbe9/attachment-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2207 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/a2acbbe9/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 13333 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/a2acbbe9/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2044 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/a2acbbe9/attachment-0004.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 12895 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/a2acbbe9/attachment-0005.png
More information about the sakai-dev
mailing list