Multi domain setup - problem with hosted_duplet_mydestination.cf
Tom Reijnders <[email protected]> Mon, 1 Aug 2022 15:23:29 +0200
| Newsgroups | gmane.comp.kde.devel.kroupware |
|---|---|
| Message-ID | <67c5a931-74a5-a7eb-007a-4acf74df14f9__4454.83644013933$1659360267$gmane$org@tor.nl> |
L.S., The proposed setup does not work if you have primary domain (in two parts) with a tree part domain alias. This happens by default for the primary domain! Suppose you have domain example.com, and you set up kolab on a machine kolab.example.com. Then you use this document to setup multidomain support: https://docs.kolab.org/howtos/multi-domain.html The primary domain will have automatically set up the following domains as domain aliases of example.com: example.com localhost localhost.localdomain kolab.example.com The following search query than fails: query_filter = (&(objectclass=domainrelatedobject)(associatedDomain=%s)(associateddomain=*.*)(!(associateddomain=*.*.*))) Because it will match *.*.* for kolab.example.com! In this case I could easily solve it by removing kolab.example.com from the list. B.T.W. I think the configuration will never match localhost either. Cheers, Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196