Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about Syntax
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01242375
Message ID:
01242385
Views:
11
Thanks, Naomi... Good info for sure.

Actually I took two semesters of Russian at Texas A&M, but that was back in the late 80's... I don't remember very much of it! :-)

Patric

>Check http://forum.foxclub.ru/read.php?29,280448,280470#msg-280470 (unfortunately, in Russian, but the code is in English).
>
>>In that code, I am attempting to add a new user to the Users in AD.
>>
>>Thanks,
>>
>>Patric
>>
>>>Does anyone know what the specifics are of the syntax below?
>>>
>>>Set objOU = GetObject("LDAP://OU=management,dc=hhccas,dc=com")
>>>Set objUser = objOU.Create("User", "cn=SmithJohn")
>>>objUser.Put "sAMAccountName", "SmithJohn"
>>>objUser.SetInfo
>>>
>>>
>>>In other words, in this line:
>>>
>>>Set objOU = GetObject("LDAP://OU=management,dc=hhccas,dc=com")
>>>
>>>what should I have in there if I am attempting to work with AD located on the 'hhccas' domain?
>>>
>>>I continue to get the error "A referral was returned from the server" and all I can find about that error indicates a syntax error (or improperly referencing the domain). Hence I wanted to get more info regarding what each segment of that line of code is for.
>>>
>>>Thanks,
Previous
Reply
Map
View

Click here to load this message in the networking platform