How do I report on the 'User comment' field for a NT 4 domain or a 2000 domain? (NETIQKB20674)

  • 7720674
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I report on the 'User comment' field for a NT 4 domain or a 2000 domain?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.0

fix

The User Comment property is available for reporting in the 7.0 release of Directory & Resource Administrator (DRA), Upgrade to the latest version of DRA to resolve this problem.

Alternatively, A work around can be generated for DRA version 6.x:

The Directory and Resource Administrator 6.x Reporting tool can be set to import the User Comment field if running the import for a NT 4 domain. 

To import User comment field perform the following:
1. Go to c:\program files\netiq\dra\reporting and open oarept-Data.mdb with Microsoft Access.
2. Open the Userfields table.
3. Edit the row $McsPrimaryGroupPath to be $McsUserComment.
4. Close the userfields table.
5. Open the Users table.
6. Select View | Design View.
7. Replace the $McsPrimaryGroupPath value with $McsUserComment.
8. close the Users table.
9. Delete the oarept-draserve_name.mdb file.
10.  Reopen the reporting tool and perform a fresh import making sure to import user account details. 
11.  The users table will now contain information about user comment field.

In addition, the User Comment field can be obtained by using the CLI:

EA USER * DISPLAY USERCOMMENT>result.txt

Note:  The Description field in the reporting tool is mapped to the Comment field for an NT 4 domain.  For a 2000 domain, the User Comment field is not available for importing.  The $McsUserComment property maps to the Comment field for a 2000 domain.  So if you use the procedure above for a 2000 domain, you will import the Comment field and not the User Comment field. 



Additional Information

Formerly known as NETIQKB20674