SHARE
TWEET

Untitled

a guest Jun 18th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DirectoryEntry eLocation = new DirectoryEntry("LDAP://CN=Test User,OU=Users,OU=Development,DC=domain,DC=com");
  2. DirectoryEntry nLocation = new DirectoryEntry("LDAP://OU=Users,OU=QC,DC=domain,DC=com");
  3. eLocation.MoveTo(nLocation);
  4.      
  5. A referral was returned from the server.
  6. Error code: -2147016661
  7. Extended Error Message 0000202B: RefErr: DSID-0310082F, data 0, 1 access points
  8. ref 1: 'domain.com'
  9.      
  10. DirectoryEntry eLocation = new DirectoryEntry("LDAP://CN=Test User,OU=Users,OU=Development,DC=domain,DC=com", "domainadmin", "password");
  11. DirectoryEntry nLocation = new DirectoryEntry("LDAP://OU=Users,OU=QC,DC=domain,DC=com", "domainadmin", "password");
  12. eLocation.MoveTo(nLocation);
  13. nLocation.Close();
  14. eLocation.Close();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top