namuseradd fails with error -32 for existing user

  • 7008233
  • 29-Mar-2011
  • 27-Apr-2012

Environment

Novell eDirectory 8.8 for Linux
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2

Situation

Attempt to run namuseradd for an existing user returns error -32.  Sample output:

Test4:~ # namuseradd -a cn=admin,o=novell -x o=novell -g cn=lumgroup,o=novell lumboy
Enter admin password:
Error in ndsuseradd(): [Type or value exists]
Error in ndsuseradd: [-32]
Type or value exists

Resolution

While not otherwise LUM enabled, , the user 'lumboy' is already a member of lumgroup.  When namuseradd does the modify request to add the LUM attributes, it is attempting to add a duplicate value for the group, which causes the error.

You can work around this by manually deleting the group from the user's Group Membership list in iManager.

Status

Reported to Engineering

Additional Information

This has been fixed in OES Sp3 in the novell-lum-2.2.0.18 package or later.