[Building Sakai] Sakai LDAP mapping

Sam Ottenhoff ottenhoff at longsight.com
Wed Nov 14 05:55:49 PST 2012


Okay, I would then check for a unique value somewhere to key the login on,
or you will need to start modifying the JLDAPDirectoryProvider.java to
ignore the bad CN values your client is sending over.

--Sam


On Wed, Nov 14, 2012 at 8:54 AM, Jaco Gillman <jaco at opencollab.co.za> wrote:

> Hi Sam
>
> I couldn't agree with you more! However, this is an client of our's LDAP
> for whom we did the installation.
>
> 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
>
>
>
>
> On 14 November 2012 15:47, Sam Ottenhoff <ottenhoff at longsight.com> wrote:
>
>> I find the multiple CN values for each user to be strange.  I expect the
>> login value to be a single value for each user.
>>
>> --Sam
>>
>>
>> On Wed, Nov 14, 2012 at 8:41 AM, Jaco Gillman <jaco at opencollab.co.za>wrote:
>>
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121114/d3572eba/attachment.html 
-------------- 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/d3572eba/attachment.png 
-------------- 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/d3572eba/attachment-0001.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/d3572eba/attachment-0002.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/d3572eba/attachment-0003.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/d3572eba/attachment-0004.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/d3572eba/attachment-0005.png 


More information about the sakai-dev mailing list