Thanks, anyway.
Turns out I was able to solve the
A referral was returned by the server error. In my code (script, not VFP), I was using this line:
Set objOU = GetObject("LDAP://dc=hhccas,dc=com")
and it should have read
Set objOU = GetObject("LDAP://dc=hhccas,dc=local")
Notice
com was replaced with
local.
It took me awhile, but using resources recommended here on the UT by you guys (and gals) AND digging around on the internet, I was able to find enough info to point out my mistake (since I'm executing the script on the local machine, etc.
I still have a good bit of work left (getting everything from script into VFP and wrapping it all up, but I am on my way now. :-)
Thanks again to everyone for your assistance!
Patric
>Hi Patric,
>
>No I didn't use it. I took a quick look and don't see any external tables have been used anyvere in the relevant code.
>
>>Have you used the ADVFP library before? It looks like exactly what I need, but unfortunately the code references several tables (via USE and Insert commands) that are not part of the zip file that I downloaded.
>>
>>Just curious if you had experimented with it or not.
>>
>>Thanks!
>>
>>>Check
Active directory with FoxPro File #
26392>>>
>>>>I've been tasked with populating a client's AD with records in a SQL table.
>>>>
>>>>I have found a ton of info about using .Net to do this, but I haven't been able to make it work.
>>>>
>>>>That said, I'm much more comfortable working in VFP and wanted to see if anyone else has done anything with adding/updating AD with VFP?
>>>>
>>>>Any info is appreciated....
>>>>
>>>>Thanks,