[Deploying Sakai] LDAP base PAth Problem

Steve Swinsburg steve.swinsburg at gmail.com
Thu Oct 8 23:59:59 PDT 2009


Hi,

Best bet is to get one of the many LDAP applications that allow you to  
browse directories, like ldapper (for OS X) or jxplorer etc, and play  
with the settings there to see if you can search as you desire, then  
transfer the settings over to the jldap-beans.xml in Sakai.

cheers,
Steve






On 09/10/2009, at 6:50 PM, Salman Zahid wrote:

>
> I have successfully authenticate the user from ‘sakai +ldap’ using  
> jbeans configuration file.
> And also the user is successfully searching from the basepath as
> CN=Users, DC=city,DC=univerity,DC=com
>
> Problem:
> Unable to search users account from the Whole directory when I use  
> this base path
> DC=city,DC=univerity,DC=com
> Unable to search from the Organizational Units
> OU=Program,DC=city,DC=univerity,DC=com
>
> I have used the objectclass=*
>
> How can I search the user from the whole Directory as this base path  
> (DC=city,DC=univerity,DC=com) is not working fine.Please guide me  
> how can I Search all the user Account from the Active Directory with  
> sakai?
>
> It gives me following error, when I try to login by using this base  
> path( DC=city,DC=univerity,DC=com),but actually this user exist at  
> this path(OU=Program,DC=city,DC=univerity,DC=com)
>
> Log File Error
> Oct 8, 2009 6:10:08 PM edu.amc.sakai.user.JLDAPDirectoryProvider  
> getUser
> SEVERE: getUser() failed [eid: tanzeel]
> LDAPReferralException: Search result reference received, and  
> referral following is off (10) Referral
> LDAPReferralException: Referral: ldap:// 
> ForestDnsZones.city.university.com/DC=ForestDnsZones,  
> DC=city,DC=univerity,DC=com    at  
> com.novell.ldap.LDAPSearchResults.next(Unknown Source)
>             at  
> edu 
> .amc 
> .sakai 
> .user 
> .JLDAPDirectoryProvider.searchDirectory(JLDAPDirectoryProvider.java: 
> 836)
>             at  
> edu 
> .amc 
> .sakai 
> .user 
> .JLDAPDirectoryProvider 
> .searchDirectoryForSingleEntry(JLDAPDirectoryProvider.java:741)
>             at  
> edu 
> .amc 
> .sakai 
> .user 
> .JLDAPDirectoryProvider.getUserByEid(JLDAPDirectoryProvider.java:679)
>             at  
> edu 
> .amc 
> .sakai 
> .user 
> .JLDAPDirectoryProvider.getUserByEid(JLDAPDirectoryProvider.java:640)
>             at  
> edu 
> .amc 
> .sakai 
> .user.JLDAPDirectoryProvider.getUser(JLDAPDirectoryProvider.java:499)
>             at  
> org 
> .sakaiproject 
> .user 
> .impl 
> .BaseUserDirectoryService 
> .getProvidedUserByEid(BaseUserDirectoryService.java:604)
>             at  
> org 
> .sakaiproject 
> .user 
> .impl 
> .BaseUserDirectoryService.getUserByEid(BaseUserDirectoryService.java: 
> 709)
>             at  
> org 
> .sakaiproject 
> .user 
> .impl 
> .BaseUserDirectoryService 
> .getProviderAuthenticatedUser(BaseUserDirectoryService.java:1436)
>             at  
> org 
> .sakaiproject 
> .user 
> .impl 
> .BaseUserDirectoryService.authenticate(BaseUserDirectoryService.java: 
> 1384)
>             at  
> org 
> .sakaiproject 
> .user.impl.UserAuthnComponent.authenticate(UserAuthnComponent.java: 
> 107)
>             at  
> org 
> .sakaiproject 
> .user 
> .cover.AuthenticationManager.authenticate(AuthenticationManager.java: 
> 63)
> .
> .
> .
> .
>
> Regards,
> Salman Zahid
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20091009/7526b8f7/attachment-0001.html 


More information about the production mailing list