Novell Home

My Favorites

Close

Please to see your favorites.

Installation of OES11SP1 Domain Services for Windows fails if November 2012 patch is installed

This document (7011671) is provided subject to the disclaimer at the end of this document.

Environment

Novell Open Enterprise Server (OES) 11 SP1
Novell Domain Services for Windows
November 2012 Scheduled Maintenance for OES11SP1

Situation

Installation of OES11SP1 Domain Services for Windows fails if November 2012 Scheduled Maintenance patch is installed.

Resolution

In case the issue occurs during the installation of the DSfW pattern in YaST2, and the following error message is being displayed:
Failed to configure Domain Services for Windows

Edit the file /opt/novell/xad/sbin/ndsdcinit.pl
Locate the following section "sub DumpConfigToFile"

if (defined $ENV{XADRETAINPOLICIES} and $ENV{XADRETAINPOLICIES} ne "") {
                print CONFIG "XADRETAINPOLICIES = $ENV{XADRETAINPOLICIES}\n";
        }

        if (defined $sam_account_name) {
                if ($type eq "child" && $is_replica eq "false") {
                        print CONFIG "SAMACCOUNTNAME_PARENT = $sam_account_name\n";
                }
                elsif ($is_replica eq "true") {
                        print CONFIG "SAMACCOUNTNAME_DOMAIN = $sam_account_name\n";
                }
        }

        close(CONFIG);


Add the following line before close(CONFIG);
print CONFIG "NcalRpcDir = /var/opt/novell/xad/rpc\n";

Please find an example below:

if (defined $ENV{XADRETAINPOLICIES} and $ENV{XADRETAINPOLICIES} ne "") {
                print CONFIG "XADRETAINPOLICIES = $ENV{XADRETAINPOLICIES}\n";
        }

        if (defined $sam_account_name) {
                if ($type eq "child" && $is_replica eq "false") {
                        print CONFIG "SAMACCOUNTNAME_PARENT = $sam_account_name\n";
                }
                elsif ($is_replica eq "true") {
                        print CONFIG "SAMACCOUNTNAME_DOMAIN = $sam_account_name\n";
                }
        }
        print CONFIG "NcalRpcDir = /var/opt/novell/xad/rpc\n";
        close(CONFIG);


Once the file has been modified, execute the following command:

'rm -rf /tmp/dcinit-"NetBios name of the domain"/etc/init.d/rpcd'

In YaST2, Select Details --> OK --> Retry Configuration.

In order to prevent the issue from occurring when the DSfW packages are installed but the configuration of DSfW in YaST2 has not yet been performed, it is only required to modify the file  /opt/novell/xad/sbin/ndsdcinit.pl as outlined above.

Status

Reported to Engineering

Additional Information

This issue is only seen when the November 2012 Scheduled Maintenance for OES11SP1 patch is installed during the installation of DSfW.

The following is seen in the YaST2 log file /var/log/YaST2/y2log:
2013-01-22 11:32:32 <1> OES11SP1-03(5539) [YCP] Edirectory.ycp:4295 Edirectory:Executing: XADDOMAINADMINNAME='cn=Administrator.cn=Users.dc=dsfw.dc=nts' XADPARENTDOMAINADMIN='' perl /opt/novell/xad/sbin/ndsdcinit.pl full-replica -s -d 'dsfw.nts' -l 'ou=services,o=dsfw' -g 'ou=services,o=dsfw' -e 'ou=OESSystemObjects,o=dsfw' -f 'dsfw.nts' -p 'dsfw.nts'
2013-01-22 11:32:32 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78 Use of uninitialized value $tls_option in numeric eq (==) at /opt/novell/xad/sbin/ndsdcinit.pl line 183, <DATA> line 522.
2013-01-22 11:32:33 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78 LDAP Based utility [ndsConfigServerContext.sh] to retrieve server context for YaST
2013-01-22 11:32:33 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         DomainName        : dsfw.nts
2013-01-22 11:32:33 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         NdsAdminName      : CN=Administrator,CN=Users,DC=dsfw,dc=nts
2013-01-22 11:32:33 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         ExistingServerIP  : OES11SP1-02.dsfw.nts
2013-01-22 11:32:33 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         ExistingServerPort: 0
2013-01-22 11:32:33 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         Add_DC            : true
2013-01-22 11:32:33 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78 Returning server context->ou=OESSystemObjects.o=dsfw
2013-01-22 11:32:34 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78 LDAP Based utility [ndsConfigServerContext.sh] to retrieve server context for YaST
2013-01-22 11:32:34 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         DomainName        : dsfw.nts
2013-01-22 11:32:34 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         NdsAdminName      : CN=Administrator,CN=Users,o=dsfw
2013-01-22 11:32:34 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         ExistingServerIP  : OES11SP1-02.dsfw.nts
2013-01-22 11:32:34 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         ExistingServerPort: 0
2013-01-22 11:32:34 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78         Add_DC            : true
2013-01-22 11:32:34 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78 Returning server context->ou=OESSystemObjects.o=dsfw
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78 Not all values are replaced in /tmp/dcinit-DSFW/etc/init.d/rpcd at /opt/novell/xad/lib64/perl/NDS/stage.pm line 330.
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78  at /opt/novell/xad/lib64/perl/Logger.pm line 120
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78     Logger::_err('Not all values are replaced in /tmp/dcinit-DSFW/etc/init.d/rp...') called at /opt/novell/xad/lib64/perl/Logger.pm line 211
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78     Logger::Log(0, 'Not all values are replaced in /tmp/dcinit-DSFW/etc/init.d/rp...') called at /opt/novell/xad/lib64/perl/NDS/stage.pm line 387
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78     stage::stage_rc('main=HASH(0x1a3bb68)') called at /opt/novell/xad/lib64/perl/Install/frd_install.pm line 117
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78     frd_install::stage_rc('adc_install=HASH(0x1a3bc58)') called at /opt/novell/xad/sbin/ndsdcinit.pl line 1408
2013-01-22 11:32:36 <3> OES11SP1-03(5539) [bash] ShellCommand.cc(shellcommand):78     main::main() called at /opt/novell/xad/sbin/ndsdcinit.pl line 1457
2013-01-22 11:32:36 <1> OES11SP1-03(5539) [YCP] Edirectory.ycp:4304 xad:exit code for ndsdcinit.pl is 1
2013-01-22 11:32:36 <1> OES11SP1-03(5539) [YCP] Edirectory.ycp:4361 ndsdcinit cmd output exit code: 1

The following information is displayed when selecting details in the YaST2  message screen "Error: Failed to configure Domain Services for Windows":

command: perl /opt/novell/xad/sbin/ndsdcinit.pl full-replica -s -d 'dsfw.nts' -l 'ou=services,o=dsfw' -g 'ou=services,o=dsfw' -e 'ou=OESSystemObjects,o=dsfw' -f 'dsfw.nts' -p 'dsfw.nts'
 Use of uninitialized value $tls_option in numeric eq (==) at /opt/novell/xad/sbin/ndsdcinit.pl line 183,  line 522.
LDAP Based utility [ndsConfigServerContext.sh] to retrieve server context for YaST
        DomainName        : dsfw.nts
        NdsAdminName      : CN=Administrator,CN=Users,DC=dsfw,dc=nts
        ExistingServerIP  : OES11SP1-02.dsfw.nts
        ExistingServerPort: 0
        Add_DC            : true
Returning server context->ou=OESSystemObjects.o=dsfw
LDAP Based utility [ndsConfigServerContext.sh] to retrieve server context for YaST
        DomainName        : dsfw.nts
        NdsAdminName      : CN=Administrator,CN=Users,o=dsfw
        ExistingServerIP  : OES11SP1-02.dsfw.nts
        ExistingServerPort: 0
        Add_DC            : true
Returning server context->ou=OESSystemObjects.o=dsfw
Not all values are replaced in /tmp/dcinit-DSFW/etc/init.d/rpcd at /opt/novell/xad/lib64/perl/NDS/stage.pm line 330.

 at /opt/novell/xad/lib64/perl/Logger.pm line 120
    Logger::_err('Not all values are replaced in /tmp/dcinit-DSFW/etc/init.d/rp...') called at /opt/novell/xad/lib64/perl/Logger.pm line 211
    Logger::Log(0, 'Not all values are replaced in /tmp/dcinit-DSFW/etc/init.d/rp...') called at /opt/novell/xad/lib64/perl/NDS/stage.pm line 387
    stage::stage_rc('main=HASH(0x1a3bb68)') called at /opt/novell/xad/lib64/perl/Install/frd_install.pm line 117
    frd_install::stage_rc('adc_install=HASH(0x1a3bc58)') called at /opt/novell/xad/sbin/ndsdcinit.pl line 1408
    main::main() called at /opt/novell/xad/sbin/ndsdcinit.pl line 1457
 
    ENV PATH = /opt/novell/xad/sbin:/opt/novell/xad/bin:/opt/novell/xad/share/dcinit:/opt/novell/eDirectory/bin:
    _LIB = lib64
    LD LIBRARY PATH = /opt/novell/xad/lib64:/opt/novell/xad/lib64/nds-modules:/opt/novell/eDirectory/lib64:/opt/novell/eDirectory/lib64/nds-modules
    SASL PATH = /opt/novell/xad/lib64/sasl2
    DCINIT CONFIG: /etc/opt/novell/xad/xad.ini
    DOMAIN NAME: dsfw.nts
    PARENT NAME: dsfw.nts
    FOREST NAME: dsfw.nts
    NETBIOS NAME:  DSFW


    DOMAIN GUID: 077bd01c-647f-11e2-bdce-000c29fd2d7a
    DOMAIN SID: S-1-5-21-2049834281-201379517-300049535
    MACHINE GUID: 0781706c-647f-11e2-b2a2-000c29fd2d7a

    DNS LOCATOR OBJECT: cn=DNS-DHCP,ou=services,o=dsfw
    DNS DHCP GROUP:  cn=DNSDHCP-GROUP,ou=services,o=dsfw
    DNS SERVER: cn=DNS_OES11SP1-03,ou=OESSystemObjects,o=dsfw
    DNS NCP SERVER: cn=OES11SP1-03,ou=OESSystemObjects,o=dsfw
    DNS SERVER CONTEXT: ou=OESSystemObjects,o=dsfw
>>>Cleaning staging directory tree
  Staging directories are removed
2013-01-22 11:32:32 Start of DSfW installation and provisioning

2013-01-22 11:32:33 Excuting /opt/novell/xad/share/dcinit/ndsConfigServerContext.sh --add-dc 'dsfw.nts' 'CN=Administrator,CN=Users,DC=dsfw,dc=nts' OES11SP1-02.dsfw.nts
>>>Preparing staging directory tree
   Staging directories are successfully created
>>>Updating domain configuration
2013-01-22 11:32:34 Excuting /opt/novell/xad/share/dcinit/ndsConfigServerContext.sh --add-dc 'dsfw.nts' 'CN=Administrator,CN=Users,o=dsfw' OES11SP1-02.dsfw.nts
   Domain configuration successfully updated
>>>Configuring Domain Name Server
2013-01-22 11:32:35     Getting Domain GUID
2013-01-22 11:32:35     Executing... /opt/novell/xad/share/dcinit/provisionTools.sh get-domain-guid -p 172.16.169.102 -c o=dsfw
2013-01-22 11:32:35     DOMAINGUID = c72e59c7-ecf0-4b66-7e95-c7592ec7f0ec
2013-01-22 11:32:35 Replacing line pattern ^Domain GUID.* by Domain GUID = c72e59c7-ecf0-4b66-7e95-c7592ec7f0ec in file /etc/opt/novell/xad/xad.ini
   Domain GUID is update in the configuration file
2013-01-22 11:32:35     Getting Domain SID
2013-01-22 11:32:35     Executing... /opt/novell/xad/share/dcinit/provisionTools.sh get-domain-sid -a "CN=Administrator,CN=Users,o=dsfw" -d "dsfw.nts"
2013-01-22 11:32:36    DOMAINSID = S-1-5-21-4142240041-201389490-300049393
2013-01-22 11:32:36 Replacing line pattern ^Domain SID.* by Domain SID = S-1-5-21-4142240041-201389490-300049393 in file /etc/opt/novell/xad/xad.ini
>>>Configuring Network Time
   NTP configuration is updated
>>>Configuring OpenLDAP
   Configured OpenLDAP
>>>Creating startup scripts
2013-01-22 11:32:36    Creating rpcd init script

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7011671
  • Creation Date:22-JAN-13
  • Modified Date:22-JAN-13
    • NovellOpen Enterprise Server

Did this document solve your problem? Provide Feedback