17.20 - Locating the Configuration Naming Context - Analytics Database - Teradata Vantage

Teradata Vantage™ - Analytics Database Security Administration - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-03-07
dita:mapPath
hjo1628096075471.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
zuy1472246340572

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:

ldapsearch -x -b "" -s base -H ldap://dir_name:port  configurationNamingContext
The preceding 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 running the command.
-x
Specifies simple binding for the anonymous authentication of the user that runs the command.
-b ""
Specifies the base of the search, in this case the default base "".
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=COM is the distinguished name that you must use to construct a search base in Locating the Site Objects in a Domain.