ndsindex cores when used with -W option to prompt for password

  • 3266576
  • 26-Mar-2008
  • 26-Apr-2012

Environment


Novell eDirectory 8.8.2 for Linux

Situation

Running ndsindex with the -W option so that the command prompts for the password instead of using the -w to specify the password on the command line will cause ndsindex to core.

Example:
server:~ # ndsindex list -p 389 -D cn=admin,o=novell -W -s
cn=server,o=novell
Enter LDAP Password:

*** glibc detected *** ndsindex: free(): invalid pointer: 0x0804d440 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e11cb1]
/lib/libc.so.6(__libc_free+0x84)[0xb7e13314]
ndsindex[0x804a940]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7dc387c]
ndsindex[0x8049171]

Resolution

The problem has been reported to development.

Workaround:
Use the -w option to specify the password on the command line.

Example:
server:~ # ndsindex list -p 389 -D cn=admin,o=novell -w password -s
cn=server,o=novell


Status

Reported to Engineering