Maybe Eric or Brett will come in here with one of their really well
informed explanations, but since I do not have nearly the same level of
knowledge as to the inner workings of databases, here is my explanation:

The search is too broad.  If you remove the objectcategory part from the
filter, that may work.  It appears that this was fixed in SP1 for 2003
so that is another avenue you can attempt.

Good Luck.

Robert Williams, MCSE NT4/2K/2K3, Security+
Infrastructure Rapid Response Engineer
Northeast Region
Microsoft Corporation
Global Solutions Support Center

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wright
Sent: Wednesday, May 18, 2005 12:05 PM
To: '[email protected]'
Subject: [ActiveDir] LDAP Operations Error when running LDAP / GC
Searches

Hi,

We are experiencing strange errors from AD when we are doing a couple of
searches. 

We are searching against the GC with the following filter:

(&(ANR=james)(objectclass=user)(objectcategory=person))

When we run this in LDP we get the following error:

-----------
***Searching...
ldap_search_ext_s(ld, "(null)", 2,
"(&(ANR=james)(objectclass=user)(objectcategory=person))", attrList,  0,
svrCtrls, ClntCtrls, 100, 0 ,&msg)
Error: Search: Operations Error. <1>
Server error: 000020EF: SvcErr: DSID-020A09B3, problem 5012 (DIR_ERROR),
data -1603

Result <1>: 000020EF: SvcErr: DSID-020A09B3, problem 5012 (DIR_ERROR),
data
-1603

Matched DNs: 
Getting 0 entries:
-----------

This search should return around 80 entries. If we run the same search
with
the following filter

(&(ANR=david)(objectclass=user)(objectcategory=person))

No error is returned and we get the results, returning around 30
entries.
There would appear to be a cut off value of about 70 entries before this
fails.

If we remove the objectcategory=person search criteria both searches run
successfully.

We are running AD with 2003 Domain functional level. 

Any ideas?

Cheers
Dave

--
David Wright
Microsoft Solutions Engineer, 3
+44 (0) 1628 767922
+44 (0) 7782 324557
www.three.co.uk 
 


________________________________________________________________________

This e-mail message (including any attachment) is intended only for the
personal 
use of the recipient(s) named above. This message is confidential and
may be 
legally privileged.  If you are not an intended recipient, you may not
review, copy or 
distribute this message. If you have received this communication in
error, please notify 
us immediately by e-mail and delete the original message.

Any views or opinions expressed in this message are those of the author
only. 
Furthermore, this message (including any attachment) does not create any
legally 
binding rights or obligations whatsoever, which may only be created by
the exchange 
of hard copy documents signed by a duly authorised representative of
Hutchison 
3G UK Limited.
________________________________________________________________________

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to