[Deploying Sakai] LDAP base PAth Problem
Steve Swinsburg
steve.swinsburg at gmail.com
Fri Oct 9 02:29:43 PDT 2009
> I have tested with different base path on jxplorer , on softtera and
> also on Active Directory 2003 with advance search.
> All base paths are working fine there.
> And search the whole Directory with this base path .
> DC=city,DC=univerity,DC=com
>
> then why not from jldap-beans.xml in Sakai.?
> please tell me what to do now for searching the whole Directory from
> sakai?
>
>
> Regards,
> Salman Zahid
>
> From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com]
> Sent: Friday, October 09, 2009 12:00 PM
> To: Salman Zahid
> Cc: production at collab.sakaiproject.org; sakai-dev at collab.sakaiproject.org
> Subject: Re: LDAP base PAth Problem
>
> 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/4dd2603a/attachment-0001.html
More information about the production
mailing list