DSfW: Installing DSfW returns ERR_FOREST_EXISTS

  • 7012813
  • 09-Jul-2013
  • 09-Jul-2013

Environment

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

Situation

Installing DSfW new Forest and Domain.
Installing DSfW returns ERR_FOREST_EXISTS

Resolution

DSfW was installed at one point, the DSfW server was removed, but the tree was not cleaned up.

Follow KB 7005431 to completely remove DSfW.

Cause

This is the command that checks for existing Forest
In this example the domain is dsfw.lan, the user is admin.novell and the ip address is 192.168.0.51
/opt/novell/xad/share/dcinit/provisionTools.sh forest-query -d dsfw.lan -a 'cn=admin.o=novell' -p 192.168.0.51

The script is running ldapsearch with the filter and attribute to return of:
        filter: "(&(objectclass=crossref)(ncName=o=fvl))"
        attribute: "dnsRoot"

The only object with an objectlass of crossref  will have the name of the netbios name in the cn=Partitions,cn=Configuration,o=novell

Example with a netbios name of DSFWDOMAIN:
cn=DSFWDOMAIN,cn=Partitions,cn=Configuration,o=novell

This object should not exist if creating a new forest and domain. The configuration container should not exist.  Follow KB 7005431 to completely remove DSfW.