| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Summary:
It implements just enough to get the kolab_smpt_access_policy going on
plesk.
Differential Revision: https://git.kolab.org/D1672
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
When the hosted_domain_rootdn contains uppercase letters (only happens
when crafting our own ldap naming context, or connecting with an existing ldap
directory) kolabd doesn't match the namespace and therefore doesn't track
changes and kolabd doesn't create or delete the mailboxes.
Test Plan:
Initial Situation
mgmt_root_dn = dc=mgmt,dc=dotlan,dc=info
hosted_root_dn = o=Hosting
Starting kolabd via cli with debug enabled
/usr/sbin/kolabd -l DEBUG -d 9 --user kolab --pid-file /run/kolabd/kolabd.pid
Log messages about which domains / naming contexts to watch:
2020-01-17 23:29:35,260 pykolab.daemon DEBUG [8525] Domain 'mgmt.dotlan.info' naming context: 'dc=mgmt,dc=dotlan,dc=info', root dn: 'dc=mgmt,dc=dotlan,dc=info'
2020-01-17 23:29:35,268 pykolab.daemon DEBUG [8525] Domain 'hosting.com' naming context: None, root dn: 'o=Hosting'
2020-01-17 23:29:35,268 pykolab.daemon DEBUG [8525] Naming contexts to synchronize: [None, 'dc=mgmt,dc=dotlan,dc=info']
2020-01-17 23:29:35,268 pykolab.daemon DEBUG [8525] Result set of domains: ['mgmt.dotlan.info']
Adding a Child domain (testdomain.com):
2020-01-17 23:36:16,505 pykolab.daemon DEBUG [9149] Domain 'mgmt.dotlan.info' naming context: 'dc=mgmt,dc=dotlan,dc=info', root dn: 'dc=mgmt,dc=dotlan,dc=info'
2020-01-17 23:36:16,513 pykolab.daemon DEBUG [9149] Domain 'hosting.com' naming context: None, root dn: 'o=Hosting'
2020-01-17 23:36:16,522 pykolab.daemon DEBUG [9149] Domain 'testdomain.com' naming context: None, root dn: 'ou=testdomain.com,o=Hosting'
2020-01-17 23:36:16,522 pykolab.daemon DEBUG [9149] Naming contexts to synchronize: [None, 'dc=mgmt,dc=dotlan,dc=info']
2020-01-17 23:36:16,523 pykolab.daemon DEBUG [9149] Result set of domains: ['mgmt.dotlan.info']
Adding a user doesn't create the mailbox because kolabd isn't watching the naming context of o=Hosting
After applying the patch:
2020-01-17 23:38:36,633 pykolab.daemon DEBUG [9499] Domain 'mgmt.dotlan.info' naming context: 'dc=mgmt,dc=dotlan,dc=info', root dn: 'dc=mgmt,dc=dotlan,dc=info'
2020-01-17 23:38:36,646 pykolab.daemon DEBUG [9499] Domain 'hosting.com' naming context: 'o=hosting', root dn: 'o=Hosting'
2020-01-17 23:38:36,655 pykolab.daemon DEBUG [9499] Domain 'testdomain.com' naming context: 'o=hosting', root dn: 'ou=testdomain.com,o=Hosting'
2020-01-17 23:38:36,656 pykolab.daemon DEBUG [9499] Naming contexts to synchronize: ['o=hosting', 'dc=mgmt,dc=dotlan,dc=info']
2020-01-17 23:38:36,656 pykolab.daemon DEBUG [9499] Result set of domains: ['mgmt.dotlan.info', 'hosting.com']
Creating a user (to prove the patch works)
2020-01-17 23:41:13,756 pykolab.auth DEBUG [9502] LDAP Search Result Data Entry:
2020-01-17 23:41:13,756 pykolab.auth DEBUG [9502] DN: 'uid=jdoe,ou=People,ou=testdomain.com,o=Hosting'
2020-01-17 23:41:13,756 pykolab.auth DEBUG [9502] Entry: {'displayName': ['Doe, John'], 'cn': ['John Doe'], 'mailQuota': ['1048576'], 'preferredLanguage': ['de_DE'], 'userPassword': ['{PBKDF2_SHA256}AAAIABAeq5TwN6vcCAtBi+jspdlAXeGX5v5FV76uVIWxC5cQ4+23wbfR40aYr+SPzT2AP+Pg17N2hFxXDh3OI9qe/j5bE3A4Nz5utCJahvmorowGTIUA0DJrT6kz8Hy2X7PA8wjeZzedKvjdsqODIYDMdDm4DMNMbwU0pVFKgqWYBf7pNCAa/ZZ7lPPIxVXBC3z7Xhmi0mhxzVbY3TjNptxT9lGJ1Z4JCjID8B+BEqpPSKPJzW5sozgqTUYC8EH37bIn+JsmyMbukepz/0DU3oAKcda0j3VOdnfNE3lQ4tBS9e1CrjRVhzx+7H2ehAdu3olq7xHBRW9Po59hP3+X7nvU9C1lwt5stfv7hnEJ15jyy1JXDzoABUUIYxTxGz+uhP1oyuMHAxqxPDrJikdbCBx4ucGLnTnfFXwtAeuMefRsctMl'], 'nsuniqueid': ['6f0ae601-397a11ea-9892ad7b-e428d0cf'], 'objectClass': ['inetorgperson', 'inetuser', 'kolabinetorgperson', 'mailrecipient', 'organizationalperson', 'person', 'top'], 'sn': ['Doe'], 'mail': ['john.doe@testdomain.com'], 'givenName': ['John'], 'modifytimestamp': ['20200117224113Z'], 'uid': ['jdoe']}
2020-01-17 23:41:13,756 pykolab.auth DEBUG [9502] Entry Change Notification attributes:
2020-01-17 23:41:13,757 pykolab.auth DEBUG [9502] Change Type: 1 ('add')
2020-01-17 23:41:13,757 pykolab.auth DEBUG [9502] Previous DN: None
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Differential Revision: https://git.kolab.org/D913
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
On debian10 systems with cyrus 3 the squatter command doesn't accept the
`-s` argument anymore and squatter will not run if specified. Also the new
parameter search_engine is introduced. Without search_engine set the squat files
will not be used.
This diff just adds some comments to features not enabled by default.
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Differential Revision: https://git.kolab.org/D919
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Fixes T5686
Reviewers: sicherha
Reviewed By: sicherha
Subscribers: sicherha
Maniphest Tasks: T5686
Differential Revision: https://git.kolab.org/D877
|
| |
|
| |
|
| |
|
|
|
|
| |
kolab-n 0 6. Feb 12:20 pykolab.log', this fixes the problem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanup_acls()
Summary: Also improve performance by removing has_folder() check, and removed redundant debug code
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: vanmeeuwen
Differential Revision: https://git.kolab.org/D823
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
In a Debian 10 default installation the folder for the ptloader socket
is missing `/var/lib/imap/ptclient/ptsock`. The folder gets created after the
first start by ptclient, but it's too late for the socket. After the 2nd restart
everything works fine as expected.
IMO it makes more sense to move the ptloader socket file into the shared socket
folder where all the other cyrus daemons have theirs:
`/var/lib/imap/socket/ptsock`.
This change only affects new installations.
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: vanmeeuwen, balabadrasridhar212
Differential Revision: https://git.kolab.org/D889
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
As reported in T5734 kolab sync and kolabd are crashing
with a trackback that encode_page_control must have 2 arguments. Adding
the empty cookie attribute to the server_page_controls removed the error.
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Differential Revision: https://git.kolab.org/D895
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: removed owncloud.inc.php from setup want_files[]
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: vanmeeuwen
Differential Revision: https://git.kolab.org/D859
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch adds support support for unix_socket based authentication against
mariadb servers. Unix_socket support was also edit to the setup dial when
calling `setup-kolab (roundcube|syncrotron|mysql)`
Test Plan: Use `--mysqlserver=unix_socket` or `--mysqlserver=existing --mysqlrootpw=unix_socket`.
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: vanmeeuwen
Differential Revision: https://git.kolab.org/D865
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Fixes issue T5692
Reviewers: #pykolab_developers, sicherha
Reviewed By: sicherha
Subscribers: sicherha
Maniphest Tasks: T5692
Differential Revision: https://git.kolab.org/D871
|
| |
|
|
|
|
|
|
|
|
| |
Summary: there's no plugin ownload anymore, therefore the template for setup-kolab can safely get removed.
Reviewers: #pykolab_developers, #roundcube_kolab_plugins_developers
Differential Revision: https://git.kolab.org/D841
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: This patch ensures that kolabd will terminate his forked childs
Test Plan: Tested on Debian 9 and Debian 10
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Differential Revision: https://git.kolab.org/D853
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
start-stop-daemon behaviour has changed. We must make sure the created
pidfile is "secure" and not world-wide-writeable.
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Differential Revision: https://git.kolab.org/D847
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fix linting issues
Increase Python3 compatibility
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
workers work forever.
Summary: That should be a workaround for issue when multiprocessing spawns a process which never gets a task and that ends up with all pool processes not getting into a state to accept new task and emails start congest. Most probably that is a deadlock situation described in https://codewithoutrules.com/2018/09/04/python-multiprocessing/ . The solution is in Python3.
Reviewers: vanmeeuwen
Reviewed By: vanmeeuwen
Subscribers: petersen, machniak
Differential Revision: https://git.kolab.org/D803
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Reference T123747
Test Plan: None
Reviewers: #pykolab_developers, machniak
Reviewed By: machniak
Subscribers: #pykolab_developers
Differential Revision: https://git.kolab.org/D629
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Given that part of https://git.kolab.org/D761 changes are obsolete after commit baeee0049f06430801a2d9940f875747e51be7f5 I still want to have some changes find their way in master.
Test Plan: None
Reviewers: vanmeeuwen
Subscribers: petersen, machniak, vanmeeuwen
Differential Revision: https://git.kolab.org/D791
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Assuming that if current and next event occurence start time is the same then it is the same occurence.
It is better to ensure that get_next_occurence() returns None in such cases, but there must be a backstop from jumping into infinite loop too.
Test Plan: None
Reviewers: vanmeeuwen
Subscribers: petersen, machniak, vanmeeuwen
Differential Revision: https://git.kolab.org/D785
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
conditionals.
Summary:
Resolves T1279
Test Plan: None
Reviewers: #pykolab_developers, machniak
Maniphest Tasks: T1279
Differential Revision: https://git.kolab.org/D167
|
| |
|
|
|
|
| |
fast.
|