DN Root of data store has a space e.g.: 'o=my company c=us'
2 years ago
Originally Published: 2004-01-06
Article Number
000047188
Applies To
RSA Federated Identity Manager (FIM) 2.0
Sun Solaris
Issue
DN Root of data store has a space, e.g.:  "o=my company, c=us"
Error: "Too may arguments" while running configtool.sh
Cause
The arguments being passed from configuredatastore.sh to configtool.sh are not quoted, so configtool.sh interprets the space as a separate argument
Resolution
To correct this issue, perform the following steps:

1. Edit configtool.sh's ADDLDAP line to the following which has quotes around each argument:

./configtool.sh ADDLDAP "$LDAP_CONFIG_NAME" "$TYPE" "$LDAP_SERVER" "$PORT" "$SECUREPORT" "$DN_ROOT" "$USER_BRANCH" "$RSA_BRANCH" "$LDAP_ACCOUNT_DN" "$PASSWORD" "$CONFIRM"

. Edit configtool.sh and change the following line:

$JAVA_HOME/bin/java $VM_OPTIONS $RSA_OPTIONS com.rsa.csf.techservice.datastore.configuration.ConfigTool $*

to the following:

$JAVA_HOME/bin/java $VM_OPTIONS $RSA_OPTIONS com.rsa.csf.techservice.datastore.configuration.ConfigTool $@ 

NOTE: Changing "$*" to "$@" tells configtool to pass the arguments as quoted strings.

3.  Rerun the configuredatastore.sh script