You can use the ldapsearch tool to find and display the contents of the RootDSE object from an a Sun Java System Directory Server. The command for Sun Java Directory Server is the same as for Active Directory. See Example: Using ldapsearch to Find the RootDSE in Active Directory, ADAM, or AD LDS.
The output of the command is similar for all directories, with the exception of Sun Java Directory Server, which does not support the dnsHostName attribute. To find the dnsHostName and ensure that all Vantage nodes resolve the host name in a way that matches how the name appears in the directory, you must examine the directory with a standard directory tool.
Sun includes a vendorName and vendorVersion attribute (among others). Microsoft includes a larger set of attributes, and as result, returns a larger output.