Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6741971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:47:17+00:00 2026-05-26T11:47:17+00:00

I had a VBScript to manipulate the Active Directory users by using the ADSI

  • 0

I had a VBScript to manipulate the Active Directory users by using the ADSI interface. The script works well. This is our current scenario

a Machine —————————-> Active Directory server
(with VB script)

However, we faced 1 problem when running the same script through the SOCKs (Proxy server). The scenario is that:

a Machine ————–> SOCKs (Proxy server) ———-> Active Directory server
(with VB script)

We found out that with second case, a vb script doesn’t try to connect to SOCKs server first but connecting to the Active Directory server directly. That’s why it FAILED.

Please help me with the second scenario, how to get the ADSI interface or methods to go through the SOCKs server first.

Thanks a lot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:47:17+00:00Added an answer on May 26, 2026 at 11:47 am

    Do you try to change your LDAP string :

    set obj = GetObject ("LDAP://SocksIPAddr:389/dc=dom,dc=fr, "societe\administrateur", "test.2011")
    

    Edited (2011-11-01)

    On the client machine, you can also modify C:\Windows\System32\drivers\etc\hosts file in order to add :

    SocksIPAddr dom.fr
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating script for automated testing of financial application. Using VbScript as language. Need
I'm using this script on a LAN to get each of the machines to
Has anyone had any experience targetting WSH in the way that VBScript , JScript
Had a coworker ask me this, and in my brain befuddled state I didn't
Had this: rtable.insert ( pair<string,string>(destination,nhop) ); // route insertion return 0; Changed it to
For many years I have had an objective of moving out of ASP/VBScript to
I know how to create a text file using VBScript which is shown below:
Had this interesting question being asked today and the arguments varied from Proxy to
Had a basic question as to the server side behavior while using cookies /
Had for an photo art project using two images. The first image would be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.