How do I display the CommonName and the SamAccountName of a group via the Command Line Interface? (NETIQKB18818)

  • 7718818
  • 02-Feb-2007
  • 27-Jun-2007

Resolution

goal
How do I display the CommonName and the SamAccountName of a group via the Command Line Interface?

fact
Directory and Resource Administrator 6.x

fix

The Command Line Interface (CLI) does not allow the ability to display the CommonName (CN) and SamAccountName when using the DISPLAY parameter.

You can get a list of the CN and SamAccountName (downlevel name) using the following methods.

  • Use the UpdateWin2k.xls to gather this information
  • Generate a list of the downlevel names of the groups using a custom query in the reporting tool by
      1. File | Enter Design Mode

      2. Select Queries tab under Objects

      3. Select Create Query in Design view

      4. Select Accounts tab and then click Add

      5. Select Close on the Show Table dialog box

      6. Doubleclick on samAccountName, fullname, McsClass

      7. Uncheck the Show checkbox for the McsClass field. 

      8. Under the McsClass column, enter group for the criteria

      9. Select Query from the menu and then run.

      10. Select File | Save and save the query with a unique name.

      11. Select File | Export

      12. In the save dialog box select Text files (*.txt, *.csv, *.tab, *.asc) for the Save as Type and click Save All

      13. Select Delimited from the choices made available and click Next

      14. Select Comma from the choices made available as delimiter and click Next

      15. style="FONT-SIZE: 14pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Specify a file location when asked Export to File or leave at default location and click Finish

    Note

    The EA GROUP command with the display switch only allows you to display group members.  In addition, the 'target' or group name that the CLI uses is the 2000 name.


  • Additional Information

    Formerly known as NETIQKB18818