Determining the Type of Directory Server on a Remote System



By: tnagareshwar

March 7, 2007 4:29 am

Reads: 169

Comments:1

Rating:0

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
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: , ,
Categories: eDirectory, Technical Solutions

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

1 Comment

  1. By:tnagareshwar

    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 !

Comment