ADS is seemingly not following referrals

  • Thread starter Thread starter Brandon McCombs
  • Start date Start date
B

Brandon McCombs

Hello,

I'm writing an LDAP browser using Java and things are working relatively
okay. Part of the GUI dynamically builds the directory tree and displays
it in a tabbed window. The problem is that during the time when the
results are returned from ADS I get an error message of "Unprocessed
Continuation Reference(s)". From my google searches this basically
means that LDAP is telling my program that there is more data and that I
have to follow a referral to get it. It also seems that ADS is set to
automatically follow referrals and I have my LDAP security context in
java set to follow referrals as well but the problem is that they are
not being followed and so the results that are returned are put into the
JTree but I'm supposedly not getting all the results. I have 2 domain
controllers and I'm not sure why there would be referrals anyway since I
didn't explicitly create any and I only have a simple test domain setup
within 1 forest. Anyone have any ideas?

thanks
 
Brandon said:
Hello,

I'm writing an LDAP browser using Java and things are working relatively
okay. Part of the GUI dynamically builds the directory tree and displays
it in a tabbed window. The problem is that during the time when the
results are returned from ADS I get an error message of "Unprocessed
Continuation Reference(s)". From my google searches this basically
means that LDAP is telling my program that there is more data and that I
have to follow a referral to get it. It also seems that ADS is set to
automatically follow referrals and I have my LDAP security context in
java set to follow referrals as well but the problem is that they are
not being followed and so the results that are returned are put into the
JTree but I'm supposedly not getting all the results. I have 2 domain
controllers and I'm not sure why there would be referrals anyway since I
didn't explicitly create any and I only have a simple test domain setup
within 1 forest. Anyone have any ideas?

thanks

It seems that the URL that was being referenced in the referral was a
sub-domain called forestdnszones which happen to resolve to an actual IP
when appended to the name I use for my test domain. I set my PC's primary
dns server to point to my test Domain's DNS instead of my ISP's DNS and was
able to get the correct IP and after that the referrals started working.
 
In
Brandon McCombs said:
It seems that the URL that was being referenced in the referral was a
sub-domain called forestdnszones which happen to resolve to an actual
IP when appended to the name I use for my test domain. I set my PC's
primary dns server to point to my test Domain's DNS instead of my
ISP's DNS and was able to get the correct IP and after that the
referrals started working.

Good to hear.

Keep in mind, using ONLY the internal DNS on all AD machines (DCs, clients,
etc) is the defacto. This is because all of AD's servie locations are stored
in teh form of SRV records under the zone. That is how everything 'finds'
the domain. Configure a forwarder for efficient Internet resolution.

--
Regards,
Ace

If this post is viewed at a non-Microsoft community website, and you were to
respond to it through that community's website, I may not see your reply.
Therefore, please direct all replies ONLY to the Microsoft public newsgroup
this thread originated in so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services
Infinite Diversities in Infinite Combinations.
=================================
 
Back
Top