I get the error 8007202B "A referral was returned from the server" when
trying to run MS sample code to create a contact in the active directory
Any ideas? I used to have this working fine on E2k RC2, but with the RTM
version I have no luck at all. I understand that the "referral" is Exchange
referring me to another LDAP server, but I can't see why, or even which
server it is trying to refer me to.
PS Here's the sample code I'm running:
Dim oPerson As New CDO.Person
Dim strURL As String
oPerson.FirstName = "John"
oPerson.LastName = "Smith"
oPerson.HomeCity = "Redmond"
oPerson.HomeState = "Washington"
oPerson.Fields("objectClass").Value = "contact"
'Save the contact