HomePhorge
Diffusion kolab 768383ccce5a

Use domain_root_dn() for all kind of objects consistently

Description

Use domain_root_dn() for all kind of objects consistently

Summary:
It might be not needed for groups/shared folders/resources as we
create them in custom domains only, but I think it's better to treat them all
the same as users.

It will have small performance impact, but the result of this
method is internally cached by Net/LDAP3. If this becomes a problem we can
extend it with Redis support and use this cache (it already supports Memcache).

Test Plan: ./phpunit

Reviewers: #hkccp_developers, vanmeeuwen

Reviewed By: #hkccp_developers, vanmeeuwen

Subscribers: #hkccp_developers

Differential Revision: https://git.kolab.org/D3155

Details

Provenance
machniakAuthored on Jan 3 2022, 11:41 AM
machniakPushed on Jan 3 2022, 11:42 AM
Reviewer
Restricted Project
Differential Revision
D3155: Use domain_root_dn() for all kind of objects consistently
Parents
rK713a15b5dabc: Fix phpstan error
Branches
Unknown
Tags
Unknown
Build Status
Buildable 37652