ndsmanage displays menu options incorrectly, or fails to select instance

  • 3980181
  • 25-Mar-2008
  • 26-Apr-2012

Environment

Novell eDirectory 8.8 for Linux
Novell eDirectory 8.8 for Solaris
Novell eDirectory 8.8 for HP-UX
Novell eDirectory 8.8 for AIX
non-root install of eDirectory 882 for *nix

Situation

When a regular user is used to access an eDirectory server remotely over an SSH session, the 'su' command can be used to authenticate as root.

If ndsmanage is started in this way, no instances are offered - therefore no operations can be performed.


Another symptom seen when ndsmanage is started after using 'su' to get root privileges is that the instance(s) are listed, but as soon a one is selected, the screen starts scrolling the message "Invalid selection!"

  

Resolution

This issue has been fixed in eDirectory 8.8.3 or later.

Workaround:
As a workaround the following procedure can be used:
Replace the "current_user=`logname`" with "current_user=`whoami`" in line 11 of the /opt/novell/eDirectory/bin/ndsmanage script.

Alternately, you can log in to the session initially as 'root', instead of using the 'su' command to get root privileges.

You can also see this when using a non-root install of eDirectory of 882 and you are logged in as the same user that is running the instance and attempt to access ndsmanage. Same process can be used as earlier mantioned to resolve the issue. The ndsmanage script will be located in the extracted non root install directory of ./eDirectory/opt/novell/eDirectory/bin