Page MenuHomePhorge

Use domain_root_dn() for all kind of objects consistently
ClosedPublic

Authored by machniak on Dec 27 2021, 12:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 25, 1:17 AM
Unknown Object (File)
Mon, Mar 25, 1:17 AM
Unknown Object (File)
Mon, Mar 25, 1:17 AM
Unknown Object (File)
Sun, Mar 24, 11:03 PM
Unknown Object (File)
Sun, Mar 24, 10:54 AM
Unknown Object (File)
Sat, Mar 23, 9:30 AM
Unknown Object (File)
Feb 22 2024, 11:19 AM
Unknown Object (File)
Feb 22 2024, 5:54 AM
Subscribers
Restricted Project

Details

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

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
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.