Novell is now a part of Micro Focus

My Favorites


Please to see your favorites.

OES11 SP1 - Transfer ID migration fails when the source server name contains "-W" in the name.

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


Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3
Novell Open Enterprise Server 11 (OES 11)


Environment :
  • OES 2 SP3 - Source server
  • OES11 SP1 - Destination server
  • Transfer-ID migration

When performing a Transfer-ID migration from OES2 SP3 to any version of OES11, it was found that the migration failed in the migldap.rb script when the source server contained a '-W' in the name.

For example : "SERV-Win-1"


The /usr/lib64/ruby/gems/1.8/gems/migration-1.0.4/lib/migration/migldap.rb was modified  to properly handle the '-W' in the server name.

This will be resolved in a future support pack.

Until t he solution is released publicly, the following change is required to make the migration tools handle the '-W'  :
- index = cmd.index("-W")
+ index = cmd.index(" -W ")
rep_cmd = cmd[0...index]+" -w"+" \"#{options[password]}\""
- rem_cmd = cmd[index+2,cmd.length]
+ rem_cmd = cmd[index+3,cmd.length


The /usr/lib64/ruby/gems/1.8/gems/migration-1.0.4/lib/migration/migldap.rb  did not properly escape the '-W' option found in the server name.

Additional Information

Detail taken from the migration log files that revealed the problem :

sh -c ldapsearch -LLL -s sub -H ldaps:// -x -D "cn=admin,o=lab"
"(&(SERV -w "xxxxxxxx"in-1_*)(|(objectClass=Volume)(objectClass=ndsVolume)) )"
linuxNCPMountPoint -W 2>/tmp/mig-err.txt>&1


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:7011870
  • Creation Date:04-MAR-13
  • Modified Date:25-MAR-13
    • NovellOpen Enterprise Server

Did this document solve your problem? Provide Feedback