Page MenuHomekolab.org

Use domain_root_dn() for all kind of objects consistently
ClosedPublic

Authored by machniak on Mon, Dec 27, 12:35 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

machniak requested review of this revision.Mon, Dec 27, 12:35 PM
machniak created this revision.
vanmeeuwen accepted this revision.Mon, Jan 3, 11:30 AM
This revision is now accepted and ready to land.Mon, Jan 3, 11:30 AM
This revision was automatically updated to reflect the committed changes.