|
| |||||||||
| Tags: ldap, query |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| LDAP Search Query Error I want to use LDAP to get global address list from active directory. I can pass the authentication.while I query GAL, it gives me an error. LDAP: error code 10 - 0000202B: RefErr: DSID-03100698, data 0, 1 access points ref 1: 'mydomain.com' my server is windows 2003 server? any suggestion would be great appreciated. |
|
#2
| |||
| |||
| Re: LDAP Search Query Error
How are you querying the GC? That is, what method are you using? -- Paul Williams Microsoft MVP - Windows Server - Directory Services http://www.msresource.net | http://forums.msresource.net |
|
#3
| |||
| |||
| Re: LDAP Search Query Error
Hi,Thanks for yor answer. I do not know LDAP And AD very well. Here is my source:it is created by Java I think : my base query: "CN=Users,DC=mydomain,DC=com"; filter:(objectClass=person) search and I use method: constraints.setSearchScope(SearchControls.SUBTREE_ SCOPE); NamingEnumeration results = context.search(dn,filter,constraints); My context setting are: PROVIDER_URL:LDAP://host:389 REFERAL:follow I am not sure if it is clearly. Thanks "Paul Williams [MVP]" wrote: > How are you querying the GC? That is, what method are you using? > > -- > Paul Williams > Microsoft MVP - Windows Server - Directory Services > http://www.msresource.net | http://forums.msresource.net > > > |
|
#4
| |||
| |||
| Re: LDAP Search Query Error
I'm not a programmer, and have never attempted LDAP/ ADSI, etc in Java. Two things I will say: Use (objectCategory=person) as objectCategory is indexed and objectClass isn't by default. Use GC://host:3268 to connect to the GC (the GAL is just a query of the GC). If you have problems, try the ADSI group and/ or any Java groups. -- Paul Williams Microsoft MVP - Windows Server - Directory Services http://www.msresource.net | http://forums.msresource.net |
|
#5
| |||
| |||
| Re: LDAP Search Query Error
This is a multipost and it was responded to in another newsgroup. A referral is being generated, whatever you are asking for does not exist on the server being queried or you generated a subtree query and your client doesn't know how to handle the referrals that are always generated by subtree queries unless you tell the LDAP server to not return any subordinate referrals. -- Joe Richards Microsoft MVP Windows Server Directory Services Author of O'Reilly Active Directory Third Edition www.joeware.net ---O'Reilly Active Directory Third Edition now available--- http://www.joeware.net/win/ad3e.htm jeff wrote: > Hi,All > > I want to use LDAP to get global address list from active directory. > > I can pass the authentication.while I query GAL, it gives me an error. > > LDAP: error code 10 - 0000202B: RefErr: DSID-03100698, data 0, 1 access points > ref 1: 'mydomain.com' > > my server is windows 2003 server? > > any suggestion would be great appreciated. > > > > > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "LDAP Search Query Error" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LDAP query to speficied LDAP server on TCP port 389 failed | Shash | Server DNS | 1 | 29-05-2009 09:46 PM |
| LDAP Search Query Syntax | Giles | Active Directory | 1 | 06-08-2008 07:47 PM |
| DsBindWithSpnEx() failed with error 1722 & [FSMO_HOLDER] LDAP search failed with error 58 | Nino_1 | Server DNS | 1 | 15-02-2007 05:27 PM |
| LDAP search failed with error 58 | John | Server Networking | 5 | 30-08-2005 08:21 AM |
| 80072020 Error in ASP LDAP Query | Donato | Active Directory | 0 | 08-08-2005 08:01 PM |