Disable Resources in Roundcube Calendar?

Jan Kowalsky jankow at datenkollektiv.net
Tue Mar 1 23:37:40 CET 2016


Hi Cornelius,

Am 01.03.2016 um 22:55 schrieb Cornelius Hald:
> Hi,
> 
> does anyone know how to disable resource booking in the roundcube web
> interface?

Just don't add ressources?

> I'm asking because resources don't work properly in a multi-domain
> setup so I wouldn't want to raise wrong expectations.

I could solve my problems the following way:

https://issues.kolab.org/show_bug.cgi?id=4331

/usr/share/pyshared/pykolab/auth/ldap#

--- __init__.py.orig    2015-10-08 15:11:12.652464199 +0200
+++ __init__.py    2015-10-08 15:12:16.582543752 +0200
@@ -578,8 +578,15 @@
         if len(_filter) <= 6:
             return None

+    if len(address.split('@')) > 1:
+            rdomain = address.split('@')[1]
+        else:
+            rdomain = self.domain
+
+
         config_base_dn = self.config_get('resource_base_dn')
-        ldap_base_dn = self._kolab_domain_root_dn(self.domain)
+        # ldap_base_dn = self._kolab_domain_root_dn(self.domain)
+        ldap_base_dn = self._kolab_domain_root_dn(rdomain)

         if not ldap_base_dn == None and not ldap_base_dn == config_base_dn:
             resource_base_dn = ldap_base_dn


Be aware to configure your
hosted_duplet_virtual_alias_maps_sharedfolders.cf correctly:


query_filter =
(&(|(mail=%s)(alias=%s))(objectclass=kolabsharedfolder)(kolabFolderType=mail))

and your domains have to be in

/postfix/transport:

shared at example.org             lmtp:unix:/srv/imap/config/socket/lmtp


For me it works perfectly.

Jan


More information about the users mailing list