Hi
i have one NC version 21 and the local ip adress 192.168.1.10 (example)
in turst domain i rite 2 site :
1- external.test.com 2-internal.test.com
my request is i connect 2 groups with active directory plugin (php-ldap ) in my server but i need i group A import from AD01 access to external.test.com
group B import from AD01 access to internal.test.com
I do not know if it is a good idea trying to devide internal and external access through one nextcloud but with two server-names and two ADs. The user can also exchange data between intern and extern. That could be a security risk, too.
maybe you can better describe your business need? for me it sounds a little like you try lock some data (e.g. DEV) or maybe install multi-tenant system…
In first case you might use Flow for second case I would recommend 2 separated systems - at least logical separation like different VM or docker containers…