Computer Performance, Windows 2003, Exchange 2003, Logon Scripts

Guy recommends:
Free config generator

Solarwinds Config Generator

This CG will put you in charge of controlling changes to network routers and other SNMP devices.

Download your free Config Generator


 

VBScript -  Use ADSI to Discover LDAP Properties

ADSI (Active Directory Service Interfaces)

LDAP is a language that enables Active Directory to find, create and manipulate objects.  ADSI Edit will let you examine a user's properties and display all the LDAP properties.  Through knowing the property names, you can bulk import users from a spreadsheet using a rich selection of LDAP attributes.  The trick is getting the correct fields in the first row or header of your import file.

I have added a whole detailed section on ADSI Edit hereADSI Edit LDAP properties

Example of ADSI

My tactic is to find a user in ADSI edit, for example Guy Thomas. Then I was able to match the user's properties in Active Directory Users and Computers (See here) with the LDAP attributes [Right Diagram]

LDAP Properties

For more detail, right click a user and select properties, here [below] are two examples:

The mandatory objects are worth noting

 

You may wish to drill down one more layer.  Here is a view of the LDAP attributes for the important DN = distinguishedName.  If it were necessary you could use ADSI Edit to actually make changes to the LDAP names.

 

To get a copy of ADSI Edit, either extract it from Windows Server 2003  \support folder.  Or here is a zipped copy of ADSI edit


Download your eBook:  How to create users with a VBScript- only $6.25

How to create users with a VBScriptSave hours of frustration and buy Guy's eBook.  The features include: detailed examples on how to import LDAP properties from a spreadsheet, Do...Loop Until  explained, connect to your domain with RootDSE.

You get a printer friendly version with copy enabled, and no expiry date.

 


See Also

 .


Google

Webcomputerperformance.co.uk

Guy Recommends: SolarWinds Engineer's Toolset v10Engineer's Toolset v10

The Engineer's Toolset v10 provides a comprehensive console of utilities for troubleshooting computer problems.

There are so many good gadgets, it's like having free rein of a sweetshop. Thankfully the utilities are displayed logically: monitoring, discovery, diagnostic, and Cisco tools.  Download your copy of the Engineer's Toolset v 10

 

Home Copyright © 1999-2010 Computer Performance LTD All rights reserved

Please report a broken link, or an error.