Error: Member 'user_name,user_name' not found' when attempting to add\remove multiple users from a g (NETIQKB6680)

  • 7706680
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

symptom
Error: Member 'user_name,user_name' not found' when attempting to add\remove multiple users from a group using the Directory and Resource Administrator Command Line Interface.

symptom

When attempting to add\remove multiple user accounts from a group using the Command Line Interface syntax EA GROUP group_name MEMBERADD(MEMBERREMOVE) user_name1, user_name2.  The users are not added\removed from the group and the following error messages are returned:


C:\Program Files\NetIQ\DRA> EA GROUP group_name MEMBERADD user_name1, user_name2
EA 6.40.00  (C) Copyright 1995-2001 NetIQ Corporation; all rights reserved.
Member 'user_name1, user_name2' not found.

C:\Program Files\NetIQ\DRA> EA GROUP group_name MEMBERREMOVE user_name1, user_name2
EA 6.50.00  (C) Copyright 1995-2001 NetIQ Corporation; all rights reserved.
Member 'user_name1, user_name2' not found.



cause
The error message is caused because of a Command Line Interface issue in version 6.50 and earlier.  The syntax can be used to successfully add\remove a single from a group but adding\removing multiple users from a group results in the error message as described above.

fix

The above described problem has been corrected in Directory and Resource Administrator version 6.60 and later.  To resolve this issue download and upgrade to the latest version of Directory and Resource Administrator.

Download: Directory and Resource Administrator (requires username and password)

 

Perform the following steps to add\remove multiple users from a group as a workaround for version 6.50 and earlier:

  1. Create a text file which includes the usernames one below the other that need to be added\removed from the group.
  2. Save the text file.
  3. From the Command Prompt type in FOR /F "TOKENS=1 DELIMS=" %1 IN (C:\\fully_qualified_path_to_the_text_file) DO EA GROUP group_name MEMBERADD %.


Additional Information

Formerly known as NETIQKB6680