Ryzz
06-01-2004, 05:27 PM
Hi,
Hoping someone could help me. I need to write a simple script that will Query AD and find out what login script that user is meant to run, and then call that particular login script. Now I have done a lot of searching around, but this is still very foreign to me. Any help would be grateful.
The information I have found out so far is that I will be best off using something like ADSI in a VB Script. I also know that the LDAP path I need to query is:
LDAP://<DomainController>.bensocnet.local/CN=<Username>,OU=Users,OU=BENSOCNET,DC=bensocnet,D C=local and the Object name is “scriptPath”.
Can anyone help me formulate this into some form of script, or point me in the direction of someone that has already done this??
Hoping someone could help me. I need to write a simple script that will Query AD and find out what login script that user is meant to run, and then call that particular login script. Now I have done a lot of searching around, but this is still very foreign to me. Any help would be grateful.
The information I have found out so far is that I will be best off using something like ADSI in a VB Script. I also know that the LDAP path I need to query is:
LDAP://<DomainController>.bensocnet.local/CN=<Username>,OU=Users,OU=BENSOCNET,DC=bensocnet,D C=local and the Object name is “scriptPath”.
Can anyone help me formulate this into some form of script, or point me in the direction of someone that has already done this??