| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: These changes basically are to remove referrals from the ldapsearch results. The change is cache sqlite DB schema is required to allow objectGUID AD attribute to work as unique attribute to track LDAP objects.
Reviewers: vanmeeuwen, machniak, mollekopf
Reviewed By: machniak
Subscribers: #pykolab_developers
Tags: #pykolab
Differential Revision: https://git.kolab.org/D720
|
|
|
|
| |
Resolves T4548
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add alias for list-user-subscriptions ('lus')
Add aliases for remove-user-subscription ('rus', 'unsubscribe')
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Wallace should not try to work with lock files
Test Plan: None
Reviewers: vanmeeuwen, machniak
Reviewed By: vanmeeuwen
Subscribers: petersen
Differential Revision: https://git.kolab.org/D708
|
| |
|
|
|
|
|
|
| |
variables where both are used in the same scope
Reference T123747
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
time, and pick up messages from the spool asynchronously.
Summary:
Reference T75735
Let a single worker process timeout itself
Set the signal as late as possible
Abstract the method to pickup messages from the spool, so that a new recurring Timer may pick up messages out of the spool
Test Plan: * Run messages through it
Reviewers: #pykolab_developers
Subscribers: #pykolab_developers
Differential Revision: https://git.kolab.org/D617
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: if 'hextimestamp' key does not exists in _mailfolder dictionary, pykolab throughs traceback.
Test Plan: None
Reviewers: vanmeeuwen, machniak
Reviewed By: machniak
Subscribers: petersen
Differential Revision: https://git.kolab.org/D605
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This can be used to enforce the regeneration of the caching tables with the latest database schema - for instance, by the package manager when upgrading the PyKolab package.
This patch complements D587 in an attempt to fix T2274.
Reviewers: #pykolab_developers
Maniphest Tasks: T2274
Differential Revision: https://git.kolab.org/D593
|
|
|
|
| |
non-existent base commit does not exist in the local repository
|
| |
|
|
|
|
|
|
| |
no attribute 'tzinfo'",) (Bifrost#T75978)
We make sure we read DTSTART property before RECURRENCE-ID.
|
| |
|
| |
|
|
|
|
| |
(Bifrost#T114576)
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
delivered and staying in spool directory
Summary: Adding more logs that should show why _sendmail function does not start a "while" delivery loop and unliking file does not happen. Also some code polishing.
Test Plan: none
Reviewers: machniak, vanmeeuwen
Reviewed By: machniak
Subscribers: petersen
Differential Revision: https://git.kolab.org/D599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used to log the result of email sending.
Summary: Define success variable to hold the _sendmail result.
Test Plan: none
Reviewers: vanmeeuwen, machniak
Reviewed By: machniak
Subscribers: petersen
Differential Revision: https://git.kolab.org/D581
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
could swallow everything thrown to stderr (and possibly stdout) and redirect to python logger. Python smtplib debug mode prints everything to stderr, but when wallace runs...
Summary: ...in fork mode stderr is not available (Bad file descriptor error) and thus wallace traceback when it tries to send emails
Test Plan: none
Reviewers: vanmeeuwen, machniak, petersen
Reviewed By: vanmeeuwen
Subscribers: petersen, machniak, vanmeeuwen
Maniphest Tasks: T2498, T2163, T3751
Differential Revision: https://git.kolab.org/D577
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes. That is usual when result_attribute value is in upper case. Mailbox modification seems to follow slightly different code path, by shortcutting to IMAP pykolab function...
Summary:
..."has_folder()" instead of going via "user_mailbox_exists()", which has a code to downcase mailbox name.
Do not shortcut to "has_folder()" function, use "user_mailbox_exists()" to downcase mailbox name before checking if it exists.
Test Plan: none
Reviewers: vanmeeuwen, machniak
Reviewed By: machniak
Subscribers: adomaitis, petersen, machniak, vanmeeuwen
Differential Revision: https://git.kolab.org/D571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
command actually doesn't replace placeholders with values, which prevents correctly list deleted mailboxes and then undelete them.
Summary: T2648
Test Plan: none
Reviewers: vanmeeuwen, machniak, mollekopf
Reviewed By: mollekopf
Subscribers: mollekopf, machniak, vanmeeuwen
Maniphest Tasks: T2648
Differential Revision: https://git.kolab.org/D548
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: T2307
Test Plan: none
Reviewers: vanmeeuwen, machniak
Reviewed By: vanmeeuwen
Subscribers: machniak, vanmeeuwen
Maniphest Tasks: T2307
Differential Revision: https://git.kolab.org/D551
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
other user namespace
Summary: Resolves T2582
Test Plan: None
Reviewers: #pykolab_developers, machniak, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: adomaitis, machniak, #pykolab_developers
Maniphest Tasks: T2582
Differential Revision: https://git.kolab.org/D485
|
|
|
|
|
|
|
|
|
|
|
|
| |
re-scheduling and print event uid
Summary: Little change to improve invitation policy logging - log if iTip requires re-scheduling and print event uid
Reviewers: vanmeeuwen
Reviewed By: vanmeeuwen
Differential Revision: https://git.kolab.org/D491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
LDAP user authentication does not work when using Samba 4 as LDAP backend. Samba 4 (as well as MS AD) returns referrals (search continuations) for some objects.
LDAPv3 does not specify which credentials should be used for the search continuations. **libldap** tries to anonymous bind and do the search continuations, which fails with
Samba 4 (as well as MS AD).
Kolab 16 will fail while authenticating with **ldap.OPERATIONS_ERROR** and the error message //00002020: Operation unavailable without authentication//
The submitted patch is supposed to be used with
```
REFERRALS off
```
in /etc/ldap.conf and should not affect any other situations.
Eventually setting LDAP option via
```
ldap.OPT_REFERRALS, 0
```
would be an option too, but i can't test at the moment, if there is any impact on non Samba 4 setups.
The change in wallace addresses the same problem, as i got
```
2017-07-05 12:27:28,566 pykolab.wallace ERROR Module resources.heartbeat() failed with error: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wallace/__init__.py", line 89, in modules_heartbeat
modules.heartbeat(module, lastrun)
File "/usr/lib/python2.7/dist-packages/wallace/modules.py", line 128, in heartbeat
return modules[name]['heartbeat'](*args, **kw)
File "/usr/lib/python2.7/dist-packages/wallace/module_resources.py", line 438, in heartbeat
resource_dns = [dn for dn in resource_dns if resource_base_dn in dn]
TypeError: argument of type 'NoneType' is not iterable
```
Test Plan:
Use Kolab 16 with Samba 4. Try to authenticate user. Should fail. Disable Referrals in /etc/ldap.conf with
```
REFERRALS off
```
and try again. Now you should no longer see the **ldap.OPERATIONS_ERROR** but an auth fail because of
4 (or at least more than one) results returned. The referrals no longer will be automatically queried, but returned
as part of the results containing //None// on the position 0 (result-type) of the result tuple.
Apply the patch now, which will remove those //None// result-type results. The Authentication should succeed.
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: #pykolab_developers
Tags: #kolab_16
Differential Revision: https://git.kolab.org/D467
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Summary:
This X-* property is standard, but not supported by Kolab format.
Though we should not bail out, we should just ignore the value not the whole iTip.
Reviewers: #pykolab_developers, vanmeeuwen
Reviewed By: #pykolab_developers, vanmeeuwen
Subscribers: vanmeeuwen
Differential Revision: https://git.kolab.org/D479
|
|/ |
|
| |
|
|
|
|
|
|
| |
disappeared by the time we get around to it.
Reference bifrost#T14032
|