Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about Syntax
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01242375
Message ID:
01242402
Vues:
12
Thanks, Sergey. This project was sort of dropped in my lap "last minute", so I'm just having to scramble to get up to speed. All of the resources that you and Naomi have recommended are fantastic and very much appreciated!

Thanks again,

Patric

>To make your life easier, get some utility that will allow you to explore AD. For example, AdsiEdit http://www.computerperformance.co.uk/w2k3/utilities/adsi_edit.htm.
>
>>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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform