IDM installation fails if admin password contains special characters

  • 7004612
  • 07-Oct-2009
  • 26-Apr-2012

Environment

Novell eDirectory 8.5 for Linux
Novell Identity Manager 3.6.1

Situation

If Admin password contains special characters like '#', '$' the installation fails. The error in /tmp/idmInstall.log reports an issue extending the schema.

This seams to be an Linux and Unix only issue.

Resolution

Changing the Admin password to something which does not have special characters during the installation will solve the issue.

Additional Information

There are two things which can be seen in /tmp/idmInstall.log;
-- snip --
bash -c 'LD_LIBRARY_PATH=; source /opt/novell/eDirectory/bin/ndspath; ndssch -h 127.0.0.2:524 -t TEST-TREE -p 'PASSWORD' .cn=admin.o=lab.T=TEST-TREE. /opt/novell/eDirectory/lib/nds-schema/vrschema.sch'
sh: line 1: dF .cn=admin.o=lab.T=TEST-TREE. /opt/novell/eDirectory/lib/nds-schema/vrschema.sch: No such file or directory
Usage: ndssch [-h <hostname>[:<port>]] [-t <treename>] [-F <log_file>]<admin_fdn> <schema_file1> ... [--config-file <config_file_path>]
       ndssch [-h <hostname>[:<port>]] [-t <treename>] [-F <log_file>] [-d]<admin_fdn> <schema_file1> <schema_desc1> ... [--config-file <config_file_path>]
  exitValue=127
-- snip --

or

-- snip --
==== Extend Schema File ====================================
vrschema.sch
String index out of range: 5
ERROR - java.lang.StringIndexOutOfBoundsException: String index out of range: 5
    at java.lang.String.charAt(Unknown Source)
    at java.util.regex.Matcher.appendReplacement(Unknown Source)
    at java.util.regex.Matcher.replaceFirst(Unknown Source)
    at java.lang.String.replaceFirst(Unknown Source)
    at com.novell.idm.install.common.ExtendSchema.extendSchemaOnUnix(ExtendSchema.java:285)
    at com.novell.idm.install.common.ExtendSchema.install(ExtendSchema.java:50)
    at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
    at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
    at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
    at com.zerog.ia.installer.Installer.install(DashoA10*..)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
    at com.zerog.ia.installer.Main.main(DashoA10*..)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.zerog.lax.LAX.launch(DashoA10*..)
    at com.zerog.lax.LAX.main(DashoA10*..)
vrschema.sch
ERROR - Failed to extend schema file: vrschema.sch
Please manually extend the schema in the file: /opt/novell/eDirectory/lib/nds-schema/vrschema.sch
-- snip --

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