Environment
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Novell Domain Services for Windows
DSFW
Novell Domain Services for Windows
DSFW
Situation
How do I know what the DSFW domain name is besides looking in the /etc/hosts file?
Resolution
Here are two ways to tell the DSFW domain name
- Look in the /etc/opt/novell/xad/xad.ini for the Root Domain name. An easy way to do this is cat /etc/opt/novell/xad/xad.ini | grep -i Root\ Domain
- Do a ldapsearch for objectClass=DomainDNS and the defaultNamingContext attirbute.
You can export the LDAPCONF before doing the ldapsearch as in KB 7003070 suggests or run the following command:
LDAPCONF=/etc/opt/novell/xad/openldap/ldap.conf ldapsearch -Y EXTERNAL -b "" -s base objectClass=DomainDNS defaultNamingContext
Example of what is returned for domain named novell.com that is mapped to o=novell
# extended LDIF
#
# LDAPv3
# base <> with scope baseObject
# filter: objectClass=DomainDNS
# requesting: defaultNamingContext
#
#
dn:
defaultNamingContext: DC=novell,DC=com
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1