Viewing Objects in Multiple Domains
Active Directory's LDAP protocol only allows viewing of directory information from one domain at a time. For some customers with multiple domains in a single forest, you can use the global catalog built into AD to create a consolidated view of information from multiple domains. To do this, first create a new domain object under File > Manage Object View. For the domain ADSI path, enter 'GC://your_DNS_domain_name'. Initially, leave the ADSI Server field blank, unless you have a reason to specify a specific GC server. Remember that only attributes that are populated in the global catalog can be viewed, so your directory queries may need to be specific to running against the GC server.
Viewing Inactive Users
Active Directory does not have a very good mechanism to view 'inactive' users. The only fast method is to query AD for the 'LastLogonTimeStamp' attribute and use that to determine which users may be inactive. To learn more about how this attribute works, read this article.
While you can incorporate this attribute into any directory query, you will then need to sort and filter out the users based on the current date. To automate this process, any query can be assigned a custom LDAP filter that specifies a day offset from the current date, or even prompted for the offset to use, for example, 30 days. While AD's LDAP syntax does not have a 'now' qualifier for the current date, Hyena has a mechanism to do this using the [TODAY] symbol. Hyena v13.2 includes a ready-to-use query in the Query Library that can be used or customized for this purpose. To use it, first select File > Manage AD Queries, then click the 'Query Library' button in the upper right corner. Scroll the 'Available Queries' list to the bottom to find the new 'Inactive Users' query, select it, then select 'Import'. This new query will be assigned the LDAP filter of:
(&(objectCategory=person)(objectclass=user)(|(!LastLogonTimeStamp=*)(LastLogonTimeStamp<=%[TODAY-30]%)))
This filter can be customized as needed to include additional attributes, or, to have the query execute without being prompted for any changes, remove the % symbols around [TODAY-30].
Auto-adjusting Column Width
Windows has many built-in features that are often forgotten about. One such feature is to auto-adjust any column width in Hyena's right window to fit the contents. While the mouse can be used to change the width of any column by simply dragging the divider between columns, this is tedious to do for the right most column. To get around this, simple double-click in any area between two columns, or in the case of the right most column, the right edge of the last column.
Changing Tree Window Item Height
Often, newer display technologies, large fonts, and other considerations can cause the text in Hyena's left tree window to be overlapped or crowded.
One method to address this is to set the default row/image height for the tree window in Hyena. To do this, go to the registry key of HKCU\Software\Adkins Resource\Hyena\Customize and create a new registry DWORD value named 'TreeWindowImageHeight'. Set it to '16' and run/restart Hyena to see if the text spacing appears better. You can gradually increase the values to 18, 20, etc. until you get a row height where the text spacing is optimal. You will need to restart Hyena each time you change the value.
|