Forum Problems Installing LAMS: Re: Problem with LDAP (Active Directory) in big organization


 
Search: 

2: Re: Problem with LDAP (Active Directory) in big organization
In response to 1 07/06/09 07:40 PM
[ Reply | Forward ]
Hi, apologies for the late reply.

The problem here is that LAMS has requested a search whose number of results exceeds the value Active Directory is configured to return.

In this case, LAMS is doing a search for all users with the username that you typed in when you tried to login. Normally there is only 1 result returned (as usernames are generally unique), but there is a case where you can get more than one: e.g., you try to login as 'guest', and Active Directory contains users 'guest', 'guest01', 'guest02', 'guest03', etc. In this case, there were enough users returned that it hit the SizeLimitExceededException.

Can you confirm whether this could have happened to you? i.e. that the username you tried to login with has multiple matches in your Active Directory?

A workaround for this error is to increase Active Directory's MaxPageSize - this page has some info, http://support.microsoft.com/?scid=kb%3Ben-us%3B315071&x=8&y=19

If we can confirm that the above was really the problem, we can fix this by implementing paging in the initial search request.

Posted by Jun-Dir Liew

Reply to first post on this page
Back to Problems Installing LAMS