I’ve successfully determined all the groups a named user is in by using the ‘Find Group Member Option’ on the People & Groups Tab in Domino Administrator.
I now need to determine all the databases that have these groups listed in their ACLs.
This will allow me to determine all the databases this user has access to, and what access they have.
Is this possible?
Andy J Brown
Subject: ACL reverse lookup
“I’ve successfully determined all the groups a named user is in by using the ‘Find Group Member Option’ on the People & Groups Tab in Domino Administrator.”
– Note that this only works if the user is not a member of any nested groups.
“I now need to determine all the databases that have these groups listed in their ACLs.”
– This information is in the catalog db, but designing a view to display it may be tricky. There are a number of ways you could programmatically retrieve this info, including searching catalog.nsf for a specific group name, as well as looping through all dbs on the server and retrieving the ACL entry for that specific group name.
Subject: RE: ACL reverse lookup
Thanks for the reply - using the catalog would solve my problem if only it worked as it should! Unfortunately the database is showing inconsistent data.
Even though I have confirmed that a user has access to a database, this is not listed under ACL/By Name. I’ve made sure that the catalog has been updated.
Any ideas?
Also, it seems that not all Domino Servers in the Domain are listed in the database - how do I configure this?
Thanks,
Andy
Subject: RE: ACL reverse lookup
“Even though I have confirmed that a user has access to a database, this is not listed under ACL/By Name.”
– The catalog will only list the explicit entries in the ACL, so if a user has access via membership in a group, the group will be listed in the catalog document, but not the username. Still, your original post addressed resolving group memberships first, and then looking for group access, so I would assume you realized that; maybe I’m missing your point here?
Also, since the catalog isn’t updated with ACL changes until the next time the catalog task runs (1:00 am by default), you won’t see recent changes in it anyway.
“Also, it seems that not all Domino Servers in the Domain are listed in the database.”
– By default, the ACL of catalog.nsf is set so that it doesn’t replicate bertween servers, even though it is a valid replica (eg: the Replica IDs are identical). Therefore, the norm is that each server’s catalog only contains entries for dbs on that server. To change this, you have two options:
-
Change the ACL (on the admin server replica) so that LocalDomainServers has enough access to replicate.
-
Enable the Domain Catalog feature in one of your servers’ Server documents. (Server Tasks tab, Domain Catalog tab.) This causes the catalog task on that server to build the catalog db from all servers in the domain (except those you list in the provided exclusion field). Other servers’ replicas still won’t replicate with it, but this one replica will contain documents for all dbs (except, of course, those whose properties are set to not be listed in the catalog) on all servers.
Subject: RE: ACL reverse lookup
Bruce - Thank you for taking the time to post a complete answer. Your response has been most helpful and saved me much time.
Thanks Again