The 'ndsstat' utility returns improper or unhelpful results when run as a non-root user on Linux

  • 7007720
  • 28-Jan-2011
  • 26-Apr-2012

Environment

Novell eDirectory 8.8 (Linux)

Situation

The 'ndsstat' utility returns improper or unhelpful results when run as a non-root user on Linux

Resolution

Reported To Engineering

Additional Information

  1. Log in as a non-root user in linux system with eDirectory installed and configured. Run "ndsstat" command as non-root user without any options. This results in output: "No instances of eDirectory Server are configured".
  2. Now run the "ndsstat command with the option "--config-file". The output is "Segmentation fault".
  3. If ndsstat command is ran as "ndsstat --config-file <some filename>" (even if the file does not exist)  This result in a normal display of the ndsstat command (when run as root user), for example:
    Tree Name: TEST-TREE
    Name:.CN=OES2Server.OU=Servers.O=novell.T=TEST-TREE.
    Binary Version: 20504.06  Root Most Entry Depth: 0 
    Product Version: eDirectory for Linux v8.8 SP5 [DS]