DSfW: How to return container name the domain is mapped too

  • 7014390
  • 08-Jan-2014
  • 08-Jan-2014

Environment

Novell Open Enterprise Server 11 SP1 (OES11SP1)
Domain Services for Windows
DSFW

Situation

How to return container name the domain is mapped too
What container is my DSfW domain mapped too?
How to find which container the DSfW domain is mapped too.

Resolution

Use the /opt/novell/xad/share/dcinit/printConfigKey.pl script specifying the key to return.  In this case it is MAPPEDDOMAINNC

From a terminal run:
/opt/novell/xad/share/dcinit/printConfigKey.pl MAPPEDDOMAINNC

The output should return the container the domain is mapped too
eexample:
o=novell

Another option is to look for the Mapped Domain NC line in the /etc/opt/novell/xad/xad.ini file/
Use grep to easily return the  Mapped Domain NC line.
Command: grep 'Mapped Domain NC' /etc/opt/novell/xad/xad.ini
Returns:  Mapped Domain NC = o=novell