Page MenuHomePhorge

Use domain_root_dn() for all kind of objects consistently

Authored by machniak on Dec 27 2021, 12:35 PM.
Referenced Files
Unknown Object (File)
Sat, May 18, 9:11 PM
Unknown Object (File)
Fri, May 17, 1:00 AM
Unknown Object (File)
Tue, May 14, 11:09 AM
Unknown Object (File)
Sun, May 5, 3:14 AM
Unknown Object (File)
Mon, Apr 29, 11:17 AM
Unknown Object (File)
Fri, Apr 26, 11:14 AM
Unknown Object (File)
Thu, Apr 25, 11:30 AM
Unknown Object (File)
Wed, Apr 24, 4:13 PM
Restricted Project



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


Diff Detail

rK kolab
Lint Not Applicable
Tests Not Applicable

Event Timeline

machniak created this revision.
This revision is now accepted and ready to land.Jan 3 2022, 11:30 AM
This revision was automatically updated to reflect the committed changes.