[Building Sakai] LDAP and Sakai (map user)

Steve Swinsburg s.swinsburg at lancaster.ac.uk
Thu Apr 30 06:09:19 PDT 2009


Hi,

Do you meant the account type that a new user will get ? Ie registered  
etc? That can be set in the jldap-beans.xml
I had the same issue a while back, check out: http://jira.sakaiproject.org/jira/browse/SAK-14648

For 2.5 you will need to apply the patch attached to that Jira so that  
you can use the StringUserTypeMapper to assign all LDAP users the type  
of registered.

For the other part of your question, you won't be able to see the user  
accounts in Sakai using any of the Admin tools, but if you try to add  
a user to a site in Site Info > Add participants, and enter the  
username of an LDAP user, it will pick them up.



cheers,
Steve

---
Steve Swinsburg
Portal Systems Developer
Centre for e-Science
Lancaster University
Lancaster
LA1 4YT

email: s.swinsburg at lancaster.ac.uk
phone: +44 (0) 1524 594870







On 30 Apr 2009, at 13:52, queo1987 wrote:

>
> Hi,
> Thank for reply me.
> If I dont see user how to set new permission or new role for user.
> So, I want see user in sakai.
> How see user in sakai?
> Please help me
> thank a lot
>
>
> Steve Swinsburg-2 wrote:
>>
>> Hi,
>>
>> When each LDAP user logs in they will get an entry in the
>> SAKAI_USER_ID_MAP table (adn their my Workspace site will be  
>> created).
>> You don't need to populate this yourself.
>>
>> cheers,
>> Steve
>>
>> ---
>> Steve Swinsburg
>> Portal Systems Developer
>> Centre for e-Science
>> Lancaster University
>> Lancaster
>> LA1 4YT
>>
>> email: s.swinsburg at lancaster.ac.uk
>> phone: +44 (0) 1524 594870
>>
>>
>>
>>
>>
>>
>>
>> On 30 Apr 2009, at 13:39, queo1987 wrote:
>>
>>>
>>> Hi all,
>>> Thank for reply.
>>> Now, I want map all user in lap to sakai.
>>> How to all user become internal user in sakai.
>>> Please help me
>>> Thank a lot
>>>
>>> Steve Swinsburg-2 wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am assuming you mean in the User's tool in the Admin Workspace?
>>>> This
>>>> tool only shows those users with internal Sakai accounts, it won't
>>>> show users from a provider, ie LDAP. You can check the mapping
>>>> though,
>>>> take a look in the database table SAKAI_USER_ID_MAP after a user  
>>>> with
>>>> an LDAP account logs in. They should get a record that maps their  
>>>> eid
>>>> (jsmith26) to internal id (uuid).
>>>>
>>>>
>>>> cheers,
>>>> Steve
>>>>
>>>> ---
>>>> Steve Swinsburg
>>>> Portal Systems Developer
>>>> Centre for e-Science
>>>> Lancaster University
>>>> Lancaster
>>>> LA1 4YT
>>>>
>>>> email: s.swinsburg at lancaster.ac.uk
>>>> phone: +44 (0) 1524 594870
>>>>
>>>> On 29/04/2009, at 4:41 AM, queo1987 wrote:
>>>>
>>>>>
>>>>> Dear all,
>>>>> I use Sakai 2.5.4 with LDAP
>>>>> I build and deploy sucessfult.
>>>>> I login with entry in ldap successful.
>>>>> But when i cant see any user in sakai except admin.
>>>>> (how to see user that map fro ldap to sakai)
>>>>> This is file jldap-bean.xml (
>>>>> please help me
>>>>> Thank a lot http://www.nabble.com/file/p23290003/jldap-beans.xml
>>>>> jldap-beans.xml
>>>>> -- 
>>>>> View this message in context:
>>>>> http://www.nabble.com/LDAP-and-Sakai-%28map-user%29-tp23290003p23290003.html
>>>>> Sent from the Sakai - Development mailing list archive at
>>>>> Nabble.com.
>>>>>
>>>>> _______________________________________________
>>>>> 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"
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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"
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/LDAP-and-Sakai-%28map-user%29-tp23290003p23315484.html
>>> Sent from the Sakai - Development mailing list archive at  
>>> Nabble.com.
>>>
>>> _______________________________________________
>>> 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"
>>
>>
>>
>> _______________________________________________
>> 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"
>>
>
> -- 
> View this message in context: http://www.nabble.com/LDAP-and-Sakai-%28map-user%29-tp23290003p23315693.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> 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/20090430/18626142/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090430/18626142/attachment.bin 


More information about the sakai-dev mailing list