Title: AD Error Message

Hi everybody,

  I am new to AD but have some experience in Perl LDAP programming.
Recently I wrote a Perl script using Net::LDAP module to access an AD
server.

  When running it passed the connection and anonymous bind successfully.
But when executing:

  $msg=$ldap->search(base => "OU=xxxxxx users,DC=win,DC=mycfo,DC=com",
                scope => 'sub',
                filter => "CN=guoben");
  $msg->code && die $msg->error;

  it printed out: 0000202B: RefErr: DSID-031006A4, data 0, 1 access points
                     ref 1: 'win.mycfo.com'
  and died.

  I searched quite a few web sites including support.microsoft.com but was unable
to find what the above message means.  In one web site I saw another developer
got the same message from running a Java/LDAP code with AD.  So I don't think
it is Perl LDAP specific.

  Thank you for any advice or suggestion.

Guoben Li
P.S.  1. Our AD admin gave me my
        dn: CN=guoben,OU=xxxxxx users,DC=win,DC=mycfo,DC=com
         2. My Perl script was running on a Unix rather than Windows box.

 

Reply via email to