This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Nov 4, 2016, 7:19 PM
6 Posts
topic has been resolvedResolved

Restrict doc access for multiple organizations in Domino Directory

  • Category: Administration
  • Platform: All Platforms
  • Release: 9.0.1
  • Role: Administrator
  • Tags: nab,directory
  • Replies: 10

Hello,

We have an unusual situation where we need to host users from multiple domains on a single Domino server.  That's actually easy but the big requirement is that users from one domain should not be able to see the Person or Group docs for any domain other than their own in the Domino Directory.

I've tried moving the Person and Group docs for a domain into a secondary directory and using Directory Assistance, but only one DA document can have the Group Authorization field set to Yes (a "privileged" domain).  As a result, if a user is not in the privileged domain they can sometimes authenticate but they cannot access databases because the group membership lookup fails.

Without modifying the directory design, I do not see a Readers field on a Person or Group doc so I can't control access that way.  I played with the Extended Directory Catalog but that still aggregates the Person docs from all domains into a directory so I'm back where I started.

Is it even possible to do what I've described?

Nov 4, 2016, 8:38 PM
59 Posts
security tab

look at the security tab of the group document's properties (the one with the key on it). you can use it to control the readers of the document just like a readers field. same for person docs. not sure of how to get '*/domain1' into the list, but if you had a group that included all the users in domain1 you could restrict a document to only being readable by the users in domain1_group.

hope that helps!

Nov 4, 2016, 9:03 PM
6 Posts
Manipulate security with code?

That's an interesting angle with good possibilities but maintenance would be labor-intensive.  I looked at the NotesDocument class but didn't see anything that can change those values. Do you happen to know if it's possible to manipulate that tab with code?

Nov 6, 2016, 1:03 PM
59 Posts
$Readers

It looks like the content from that tab is stored in a readers field called $Readers in both person and group documents.  You should be able to create & manipulate that with lotus script. 

p.s. - make sure to include relevant server and administrator names in the readers field!

Nov 7, 2016, 11:16 PM
323 Posts
And groups & roles can be included in $Readers. But be careful.

One slip-up and it is extremely tough to recover the document. I always customize the form to force a role onto the end, so I can recover if something unexpected is thrown into the field.

Nov 8, 2016, 3:38 PM
196 Posts
Re: Restrict doc access for multiple organizations in Domino Directory

If the total number of people you would be supporting is small and relatively static, it would be possible to do as Stuart Bogom suggests. You are only hiding Person Records at the time you create them.  However, from a security point of view, I would deploy partitioned servers as D Porter suggested. 

Nov 8, 2016, 4:16 PM
59 Posts
slip-up

Mike....remember that the 'full access administration' feature can be used to bypass the control of a $Reader field if you slip-up and get excluded from a document.

Nov 14, 2016, 2:42 PM
6 Posts
Going with $Readers field

Thanks everyone for your suggestions.  Currently it is cost-prohibitive to convert to a partitioned configuration but that will likely be our direction as our customer (and therefore revenue) base grows.

I have tested the $Readers field in conjunction with a secondary directory and DA and it all works nicely.  Non-domain users cannot view the restricted group in the primary NAB nor person docs in the secondary NAB, and domain users can authenticate and open their dbs properly.

I had already automated the user registration process through Lotusscript from our internal support db, so it will be easy for me to manipulate the $Readers field safely by automatically including administrative groups to prevent lockout.

Thanks!

Nov 17, 2016, 3:08 PM
323 Posts
Thanks Stuart.

I haven't had occasion to try it recently. I noticed Administrator would let me "promote" myself to an admin, is that the path to get to see these documents? Or is there a way to actually see the docs within the Notes client itself if there's a lot of cleaning up to do?

Nov 18, 2016, 2:50 AM
59 Posts
full access

Mike,

You can turn on 'full access administrator' from the administrator client (administration menu). You also need to have your name in the server config doc in 'full access admini' field on the security tab.

Once you activate it in domino administrator, you bypass reader field controls - all documents are visible to you even if you are not listed in the readers field. 

I'm pretty sure that, if you both the client and the administrator open, the full access applies in both once you turn it on.

hope that helps!


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal