DSfW install error "Could not create connection at /opt/novell/xad/lib64/perl/NDS/import.pm line 55"

  • 7010075
  • 27-Jan-2012
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 11 (OES11)
Domain Services for Windows
DSfW

Situation

DSfW install fails creating the Administrator object.

ndsdcinit.log
>>> Creating Administrator
2012-01-19 09:24:08 connect and bind.. localhost, 636, cn=admin,o=SFU,
2012-01-19 09:24:08 Could not create connection at /opt/novell/xad/lib64/perl/NDS/import.pm line 55.

Line 55 from /opt/novell/xad/lib64/perl/NDS/import.pm
 $ld = Net::LDAP->new($host, scheme=>$scheme, port=>$port, timeout=>120) or die("Could not create connection");

y2.log
>>>Refreshing nldap server
   The NLDAP server successfully refreshed
   The NLDAP settings are done successfully
>>> Creating Administrator
2012-01-19 09:24:08 connect and bind.. localhost, 636, cn=admin,o=SFU,
2012-01-19 09:24:08 <1> wds1-dcl(7301) [YCP] Edirectory.ycp:4124 ndsdcinit cmd output exit stderr:
2012-01-19 09:24:08 <3> wds1-dcl(7301) [YCP] Edirectory.ycp:4133 Failed to configure XAD!

ldap trace
Bind name:cn=admin,o=SFU, version:3, authentication:simple
1072289536 AUTH: [2012/01/24 14:51:28.413] UpdateLoginAttributesThread page 1 processed 1 login in 0 milliseconds
1072289536 AUTH: [2012/01/24 14:51:28.413] [00008070]<.admin.SFU.SFU-TREE.> LocalLoginRequest. Error cannot go remote (-779), conn: -1.

Resolution

The /etc/hosts file contains two addresses for the loopback address
127.0.0.1 and 127.0.0.2 along with IPv6 loopback (::1)
Rem out the lines containing 127.0.0.2 and ::1 or in the /opt/novell/xad/lib64/perl/XAD/secure.pm change

$rc = import::import_file(host=>"localhost", port=>636, admin=>$ldapadminname, ssl=>"yes",
to
$rc = import::import_file(host=>"127.0.0.1", port=>636,admin=>$ldapadminname, ssl=>"yes",

Feedback service temporarily unavailable. For content questions or problems, please contact Support.