Failed to configure XAD

  • 7002267
  • 30-Dec-2008
  • 27-Apr-2012

Environment

Domain Services for Windows
Novell eDirectory 8.8.4

Situation

XAD fails to configure on the install of Domain Services for Windows

Resolution

Open the /var/log/YaST/y2log. You can search on the XAD configuration command or on the failed output which are the following:
/opt/novell/xad/sbin/ndsdcinit domain -s -d
Failed to configure XAD!

“/opt/novell/xad/sbin/ndsdcinit domain -s -d” is the beging of the command to configure XAD
You should see something like the following:

2008-09-22 15:54:18 <1> OSE2(19820) [YCP] Edirectory.ycp:3500 Edirectory:Executing: ROOT_SERVER=192.168.240.141 /opt/novell/xad/sbin/ndsdcinit domain -s -d 'domain.dsfw' -l 'ou=domain,o=dsfw' -g 'ou=domain,o=dsfw' -e 'ou=novell,ou=domain,o=dsfw' -n 'DOMAIN' -f 'domain.dsfw' -p 'domain.dsfw' -m 'ou=domain.o=dsfw'

Start looking after the “/opt/novell/xad/sbin/ndsdcinit domain -s -d” command for an error. Generally you will see “ndsdcinit cmd output: $["exit":1,"stderr"” That line should give you more information on why the XAD configuration failed.

If you search on “Failed to configure XAD!” look at the lines above.

Here is an example of a failed XAD configuration:

2008-12-12 11:30:21 <1> DSFWSERVER1(3500) [YCP] Edirectory.ycp:3597 ndsdcinit cmd output: $["exit":1, "stderr":"The IP address 192.168.240.141 resolves to dsfwserver1.novell.com.\nPlease correct /etc/hosts so that it resolves to dsfwserver1.domain.dsfw.com.\n","stdout":"\n"]

2008-12-12 11:30:21 <3> DSFWSERVER1(3500) [YCP] Edirectory.ycp:3606 Failed to configure XAD!

The /etc/hosts file is incorrect and should have the dns name corrected.