| Search Criteria | Description |
|---|---|
| ldapsearch Input | |
| -b "" | Specifies a search base (-b) for the RootDSE object. |
| -s base | Specifies a scope (-s) for the RootDSE object. |
| -H ldap://host:port/ | Identifies the URI for the LDAP server. For details, see Running Ldapsearch and LdapServerName. |
| defaultNamingContext | Specifies an attribute name to limit the search. If you do not specify an attribute name, the search returns values for all available attributes. |
| ldapsearch Output | |
| dn: | Shows the FQDN of the object. Since the search base is “” and the scope is base, dn returns the RootDSE object, the name for which is a zero length string. |
| defaultNamingContext: DC=esrootdom, DC=esdev, DC=tdat | Shows the value of the schemaNamingContext attribute. |