Resolution
goal
Why do I have to import Resources such as Services or Devices to get a Computer Password Aging Report?
goal
How do I enable the Computer Password Aging Report?
goal
What script do I use to enumerate all the computer objects in the domain and returns the pwdlastset value?
fact
Directory and Resource Administrator 7.x
fix
Why do I have to import Resources such as Services or Devices to get a Computer Password Aging Report?
goal
How do I enable the Computer Password Aging Report?
goal
What script do I use to enumerate all the computer objects in the domain and returns the pwdlastset value?
fact
Directory and Resource Administrator 7.x
fix
The Computer Password Aging report is based on the pwdlastset value of computer objects and is stored as a value in Active Directory, therefore there is no technical reason to import a resource from a computer in order to get this value.
The following procedure allows the ability to enable the Computer Password Aging Report, if you are only importing computers by selecting them in the Resources tab.- Backup
OaRept.mdb
. By default, the file is located inProgram Files\NetIQ\DRA\Reporting
. - Open
OaRept.mdb
with a full version of Access 2000 or later. - Click on the Modules tab.
- Double-click on Import module. This will open the code in Microsoft Visual Basic.
- On the Edit menu, click Find to search for the function name ImportEaComputers.
- Under the function, ImportEaComputers, find and replace the following line:
If bJustComputers Or Not bIsAvailable Then
with this line:If Not bIsAvailable Then
- On the File menu, click Save OaRept.
- On the Debug menu, click Compile db1.
- On the File menu, click Close to return to Microsoft Office Access.
- On the File menu, click Exit to close Microsoft Office Access.
- Run Reporting again in DRA.
Note: As a second workaround option, there is a script on the knowledge depot called computer_enum_pwdlastset.zip. This script enumerates all the computer objects in the domain and returns the pwdlastset value.
For more information, contact Technical Support at www.netiq.com/support.
Additional Information
Formerly known as NETIQKB47508