Determining the Type of Directory Server on a Remote System

Determining the Type of Directory Server on a Remote System

This cool tip explains how to find out the type of directory server running on remote system.



Problem



When you have multiple directory servers such as eDirectory, Active Directory, Sun One Directory, etc. in your lab, it becomes difficult to determine the type of directory server by just checking its open ports. Many times you have to log in to the machine or locally visit the machine, which is time-consuming.



Solution



Each directory server has its own characteristics that clearly separate it from others. To find out its type, use any available LDAP search tool with the following parameters:



Filter: (objectClass=*)
Base:
Scope: base level
Attributes: vendorversion, objectClass, isGlobalCatalogReady



Now search for the above attributes and based on the results we can categorize the directory servers into following types:



eDirectory:

Attribute vendorVersion will contain the term "Novell eDirectory".



Sun One Directory:

Attribute vendorVersion will contain the term "Sun Directory".



OpenLDAP:

The objectClass attribute contains one of the values as "OpenLDAProotDSE".



Active Directory:

Search result will contain the value "isGlobalCatalogReady".



So using just one LDAP search over the directory, you can find out its type accurately.



I have automated this task, using a tool called DirServerScanner, which can scan entire machines in your lab and display the results for all servers at once.



Environment



  • eDirectory / LDAP

  • Novell Secure Login
Labels (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Comments
New GUI version of Directory Scanner is available now



Click the below link to download latest version from author's website
http://securityxploded.com/directory-scanner.php



Thanks !
Top Contributors
Version history
Revision #:
2 of 2
Last update:
‎2020-03-10 17:27
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.