16.10 - Locating the Configuration Naming Context - Teradata Database

Teradata Database Security Administration

prodname
Teradata Database
vrm_release
16.10
created_date
June 2017
category
Administration
Security
featnum
B035-1100-161K

You can access site information for a domain using the configuration naming context for the domain. The RootDSE object for each directory in the domain contains a configurationNamingContext attribute, with a CN value that is the naming context.

To find the configurationNamingContext, run the ldapsearch utility from the Teradata command prompt, using the DNS name of any directory server in the domain.

The following ldapsearch command uses the -H ldap scheme, which usually requires only an anonymous bind, that is, it does not use credentials to authenticate the user executing the command.
ldapsearch -x -b "" -s base -H ldap://dir_name:port  configurationNamingContext

where:

Option Description
-x Specifies simple binding for the anonymous authentication of the user that executes the command.
-b "" Specifies the base of the search, in this case the default base "".
-s base Specifies the search scope.
-H ldap:// Specifies the directory scheme, for example, ldap or ldaps.
dir_name : port The DNS name of a directory server in the domain and the server port designation. If no port is specified, ldapsearch uses the default port for the scheme. See LdapServerName.
configurationNamingContext Identifies the object that the command locates.

The command produces output similar to:

# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: configurationNamingContext
#
dn: configurationNamingContext: CN=Configuration,DC=DOMAIN1,DC=COM
# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

where CN=Configuration,DC=DOMAIN1,DC=COMis the distinguished name that you must use to construct a search base in Locating the Site Objects in a Domain.