Finding the Root Domain Name - Analytics Database - Teradata Vantage

Security Administration

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
2024-04-05
dita:mapPath
hjo1628096075471.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
zuy1472246340572
lifecycle
latest
Product Category
Teradata Vantage™

All Active Directory servers in a forest publish the rootDomainNamingContext attribute in their RootDSE object. This attribute contains the DN of the GC naming context. It also corresponds to the DNS domain name where the GC registers itself.

  1. Use the ldapsearch utility to obtain the DNS domain name:
    ldapsearch -x -b "" -s base -H ldap://dir_name rootDomainNamingContext

    The meanings of -x, -b, “”, -s base, and -H:// are similar to those shown in Locating the Configuration Naming Context.

    dir_name is the DNS name of a directory in the root domain.

    The ldapsearch command produces output similar to:

    # extended LDIF
    #
    # LDAPv3
    # base <> with scope base
    # filter: (objectclass=*)
    # requesting: rootDomainNamingContext
    #
    #
    dn:
    rootDomainNamingContext: DC=ROOTDOMAIN,DC=COM
    
    # search result
    search: 2
    result: 0 Success
    
    # numResponses: 2
    # numEntries: 1

    where the rootDomainNamingContext is DC=ROOTDOMAIN,DC=COM.

  2. You can derive the DNS domain name from the value of the rootDomainNamingContext by removing the DC=, resulting in the DNS domain name ROOTDOMAIN.COM.
    Domain names are not case sensitive The name rootdomain.com may be used in other sections of this guide.