Novell Home

My Favorites

Close

Please to see your favorites.

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

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

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",

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:7010075
  • Creation Date:27-JAN-12
  • Modified Date:27-APR-12
    • NovellOpen Enterprise Server
    • NetIQeDirectory

Did this document solve your problem? Provide Feedback