<div dir="ltr">kolab.conf adjusted:<div><br></div><div><br></div><div><div>[kolab]</div><div>primary_domain = <a href="http://primarydomain.com">primarydomain.com</a></div><div>auth_mechanism = ldap</div><div>imap_backend = cyrus-imap</div><div>default_locale = en_US</div><div>sync_interval = 300</div><div>domain_sync_interval = 600</div><div>policy_uid = %(surname)s.lower()</div><div>primary_mail ='%(givenname)s'[0:1]%(surname)s@%(domain)s</div><div>secondary_mail = {</div><div><span class="" style="white-space:pre">     </span>0: {</div><div><span class="" style="white-space:pre">       </span>"{0}.{1}@{2}": "format('%(givenname)s'[0:1].capitalize(), '%(surname)s', '%(domain)s')"</div><div><span class="" style="white-space:pre">        </span>},</div><div><span class="" style="white-space:pre"> </span>1: {</div><div><span class="" style="white-space:pre">       </span>"{0}@{1}": "format('%(uid)s', '%(domain)s')"</div><div><span class="" style="white-space:pre">   </span>},</div><div><span class="" style="white-space:pre"> </span>2: {</div><div><span class="" style="white-space:pre">       </span>"{0}@{1}": "format('%(givenname)s.%(surname)s', '%(domain)s')"</div><div><span class="" style="white-space:pre"> </span>}</div><div><span class="" style="white-space:pre">  </span>}</div><div>autocreate_folders = {</div><div><span class="" style="white-space:pre">     </span>'Archive': {</div><div><span class="" style="white-space:pre">       </span>'quota': 0,</div><div><span class="" style="white-space:pre">        </span>'partition': 'archive'</div><div><span class="" style="white-space:pre">     </span>},</div><div><span class="" style="white-space:pre"> </span>'Calendar': {</div><div><span class="" style="white-space:pre">      </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "event.default",</div><div><span class="" style="white-space:pre">    </span>'/shared/vendor/kolab/folder-type': "event",</div><div><span class="" style="white-space:pre">     </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Calendar/Personal Calendar': {</div><div><span class="" style="white-space:pre">    </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/shared/vendor/kolab/folder-type': "event",</div><div><span class="" style="white-space:pre">     </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Configuration': {</div><div><span class="" style="white-space:pre"> </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "configuration.default",</div><div><span class="" style="white-space:pre">    </span>'/shared/vendor/kolab/folder-type': "configuration.default",</div><div><span class="" style="white-space:pre">     </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Contacts': {</div><div><span class="" style="white-space:pre">      </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "contact.default",</div><div><span class="" style="white-space:pre">  </span>'/shared/vendor/kolab/folder-type': "contact",</div><div><span class="" style="white-space:pre">   </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Contacts/Personal Contacts': {</div><div><span class="" style="white-space:pre">    </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/shared/vendor/kolab/folder-type': "contact",</div><div><span class="" style="white-space:pre">   </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Drafts': {</div><div><span class="" style="white-space:pre">        </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "mail.drafts",</div><div><span class="" style="white-space:pre">      </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Files': {</div><div><span class="" style="white-space:pre"> </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "file.default",</div><div><span class="" style="white-space:pre">     </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Journal': {</div><div><span class="" style="white-space:pre">       </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "journal.default",</div><div><span class="" style="white-space:pre">  </span>'/shared/vendor/kolab/folder-type': "journal",</div><div><span class="" style="white-space:pre">   </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Notes': {</div><div><span class="" style="white-space:pre"> </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': 'note.default',</div><div><span class="" style="white-space:pre">       </span>'/shared/vendor/kolab/folder-type': 'note',</div><div><span class="" style="white-space:pre">        </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Sent': {</div><div><span class="" style="white-space:pre">  </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "mail.sentitems",</div><div><span class="" style="white-space:pre">   </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Spam': {</div><div><span class="" style="white-space:pre">  </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "mail.junkemail",</div><div><span class="" style="white-space:pre">   </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Tasks': {</div><div><span class="" style="white-space:pre"> </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "task.default",</div><div><span class="" style="white-space:pre">     </span>'/shared/vendor/kolab/folder-type': "task",</div><div><span class="" style="white-space:pre">      </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>'Trash': {</div><div><span class="" style="white-space:pre"> </span>'annotations': {</div><div><span class="" style="white-space:pre">   </span>'/private/vendor/kolab/folder-type': "mail.wastebasket",</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>},</div><div><span class="" style="white-space:pre"> </span>}</div><div><br></div><div>[imap]</div><div>virtual_domains = userid</div><div><br></div><div>[ldap]</div><div>ldap_uri = ldap://localhost:389</div><div>supported_controls = 0,2,3</div><div>base_dn = dc=primarydomain,dc=com</div><div>bind_dn = cn=Directory Manager</div><div>bind_pw = JL1VsXSC55jkVH3</div><div>service_bind_dn = uid=kolab-service,ou=Special Users,dc=primarydomain,dc=com</div><div>service_bind_pw = WIY0DNbAYPc8uY5</div><div>user_base_dn = ou=People,%(base_dn)s</div><div>user_scope = sub</div><div>user_filter = (objectclass=inetorgperson)</div><div>kolab_user_base_dn = ou=People,%(base_dn)s</div><div>kolab_user_filter = (objectclass=kolabinetorgperson)</div><div>group_base_dn = ou=Groups,%(base_dn)s</div><div>group_filter = (|(objectclass=groupofuniquenames)(objectclass=groupofurls))</div><div>group_scope = sub</div><div>kolab_group_filter = (|(objectclass=kolabgroupofuniquenames)(objectclass=kolabgroupofurls))</div><div>sharedfolder_base_dn = ou=Shared Folders,%(base_dn)s</div><div>sharedfolder_filter = (objectclass=kolabsharedfolder)</div><div>sharedfolder_acl_entry_attribute = acl</div><div>resource_base_dn = ou=Resources,%(base_dn)s</div><div>resource_filter = (|%(group_filter)s(objectclass=kolabsharedfolder))</div><div>domain_base_dn = cn=kolab,cn=config</div><div>domain_filter = (&(associatedDomain=*))</div><div>domain_name_attribute = associateddomain</div><div>domain_rootdn_attribute = inetdomainbasedn</div><div>quota_attribute = mailquota</div><div>modifytimestamp_format = %Y%m%d%H%M%SZ</div><div>unique_attribute = nsuniqueid</div><div>mail_attributes = mail, alias</div><div>mailserver_attribute = mailhost</div><div>auth_attributes = mail, alias, uid</div><div><br></div><div>[kolab_smtp_access_policy]</div><div>cache_uri = mysql://kolab:HsVXlKTTwz7tuca@localhost/kolab</div><div>cache_retention = 86400</div><div>address_search_attrs = mail, alias</div><div>delegate_sender_header = True</div><div>alias_sender_header = True</div><div>sender_header = True</div><div>xsender_header = True</div><div>empty_sender_hosts = <a href="http://3.2.1.0/24">3.2.1.0/24</a>, <a href="http://6.6.6.0/24">6.6.6.0/24</a></div><div><br></div><div>[kolab_wap]</div><div>skin = default</div><div>sql_uri = mysql://kolab:HsVXlKTTwz7tuca@localhost/kolab</div><div>ssl_verify_peer = false</div><div>ssl_verify_host = false</div><div><br></div><div>[cyrus-imap]</div><div>uri = imaps://localhost:993</div><div>admin_login = cyrus-admin</div><div>admin_password = Ony8Cweru6_l7uL</div><div><br></div><div>[cyrus-sasl]</div><div>result_attribute = mail</div><div><br></div><div>[wallace]</div><div>modules = resources, invitationpolicy, footer</div><div>footer_text = /etc/kolab/footer.text</div><div>footer_html = /etc/kolab/footer.html</div><div>kolab_invitation_policy = ACT_ACCEPT_IF_NO_CONFLICT:<a href="http://example.org">example.org</a>, ACT_MANUAL</div><div>invitationpolicy_autoupdate_other_attendees_on_reply = false</div><div>resource_calendar_expire_days = 100</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 25, 2015 at 1:14 PM, Paul Bronson <span dir="ltr"><<a href="mailto:signaldeveloper@gmail.com" target="_blank">signaldeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Per the directions I thought you had to have a section for each domain? Is that not true?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 25, 2015 at 12:31 PM, Timotheus Pokorra <span dir="ltr"><<a href="mailto:timotheus@kolab.org" target="_blank">timotheus@kolab.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">what springs to my mind is this:<br>
<span>> 2015-08-25 12:01:02,059 pykolab.auth DEBUG [1293]: Section <a href="http://example.com" rel="noreferrer" target="_blank">example.com</a> has<br>
> no option 'auth_mechanism'<br>
> 2015-08-25 12:01:02,060 pykolab.auth DEBUG [1293]: Starting LDAP...<br>
> 2015-08-25 12:01:02,060 pykolab.auth DEBUG [1293]: Connecting to LDAP...<br>
> 2015-08-25 12:01:02,061 pykolab.auth DEBUG [1293]: Attempting to use LDAP<br>
<br>
</span>in my setup, I have:<br>
2015-08-25 18:28:58,881 pykolab.auth DEBUG [5941]: Called for domain<br>
'<a href="http://example.org" rel="noreferrer" target="_blank">example.org</a>'<br>
2015-08-25 18:28:58,882 pykolab.auth DEBUG [5941]: Called for domain None<br>
2015-08-25 18:28:58,882 pykolab.auth DEBUG [5941]: Using section<br>
<a href="http://example.org" rel="noreferrer" target="_blank">example.org</a> and domain <a href="http://example.org" rel="noreferrer" target="_blank">example.org</a><br>
2015-08-25 18:28:58,883 pykolab.auth DEBUG [5941]: Using section<br>
<a href="http://example.org" rel="noreferrer" target="_blank">example.org</a> and domain <a href="http://example.org" rel="noreferrer" target="_blank">example.org</a><br>
2015-08-25 18:28:58,883 pykolab.auth DEBUG [5941]: Connecting to<br>
Authentication backend for domain <a href="http://example.org" rel="noreferrer" target="_blank">example.org</a><br>
2015-08-25 18:28:58,883 pykolab.auth DEBUG [5941]: Section kolab has<br>
auth_mechanism: 'ldap'<br>
2015-08-25 18:28:58,883 pykolab.auth DEBUG [5941]: Starting LDAP...<br>
2015-08-25 18:28:58,883 pykolab.auth DEBUG [5941]: Connecting to LDAP...<br>
<br>
How does your kolab.conf look like?<br>
I don't have a section for each domain, and auth_mechanism = ldap from<br>
section [kolab] is used.<br>
You might need to add that line to your domain section, if you want to<br>
have a section for each domain.<br>
<br>
hope this helps,<br>
  Timotheus<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>