Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. swlymer

    Specifying a server in place of ROOTDSE

    Hello, How do I sepcify a physical server in place of rootdes?? If I replace Set rootdse = GetObject("LDAP://rootdse") with Set rootdse = GetObject("LDAP://CN=SERVERNAME,OU=Domain Controllers,DC=XXX,DC=XXX,DC=XXX,DC=com") I get an error on domainContainer =...
  2. swlymer

    Run 2 programs in succession in a script

    I want this command (Command A) to run oShell.Run "C:\Oracle10Client\10g_client\setup.exe -responsefile c:\Oracle10client\10g_client\response\10CLIENT.RSP -noconsole -silent", 0,True and once completed I want this command (Command B)to run oShell.Run...
  3. swlymer

    Run 2 programs in succession in a script

    Hi, I am trying to write a script that runs 1 programs and upon completion runs another program. Here is what I have so far. I would prefer to not use wscript.sleep if at all possible. ********************************************************** Dim oShell, oEnv set oShell=...
  4. swlymer

    Terminal Server Profile Path

    Hello, I am trying to write to the Terminalservicesprofilepath attribute in AD but I continue to get the "property not found in the the directory cache" eror. Can someone help? Hee is my code snippet: adsuserprofile =templuser.GetEx("TerminalServicesProfilepath")...
  5. swlymer

    AD Group membership help

    and, yes, I did save the code w/ a VBS extension. I actually added your code as a function into my existing code but am receiving a syntax error at the beginning of the function. Thanks!!
  6. swlymer

    AD Group membership help

    Actually, I am a security engineer tasked w/ some VBScript work. So no, I am not a developer. Thanks!!
  7. swlymer

    AD Group membership help

    Thanks for the function. However, excuse my ignorance but this line is giving me a syntax error and I don't see what the error is. Public Function SearchDistinguishedName(ByVal vSAN) Thanks again for the help!!
  8. swlymer

    AD Group membership help

    Thanks for the help. The code works fine when the template user and the new user are hard-coded so I am now attempting to variablize the template and new user. 1 question I have, however, is there anyway to overcome the "Name translation: Could not find the name or insufficient rights to see the...
  9. swlymer

    AD Group membership help

    OK, I made some modifications to my code but I still can't seem to add a newly created user to groups of an existing user. The code is listed below. Any help is appreciated. Thansk!! """"""""""""""""""""""""""""""""""""""""""""""""""" Dim strNetBIOSDomain, strNTName, strUserDN Dim...
  10. swlymer

    AD Group membership help

    Hello, I am trying to create a script that enumerates group membership of one user (stemplateUsr) and adds another user (strUserDN) to those groups. Here is the pertinent code from my script: ************************************************************ Set adsNameTranslate =...

Part and Inventory Search

Back
Top