Locating the Configuration Naming Context - Advanced SQL Engine - Teradata Database

Security Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ied1556235912841.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1100
lifecycle
previous
Product Category
Teradata Vantageā„¢

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 Vantage 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.