Projects
Kolab:Winterfell
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 29
View file
pykolab.spec
Changed
@@ -40,6 +40,7 @@ Patch0001: pykolab-0.8-patch-out-manticore.patch Patch0002: pykolab-0.8.4-patch-freshclam-subprocess.patch +Patch0003: pykolab-0.8.4-patch-LDAP-Timeout-T1414.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch @@ -247,6 +248,7 @@ %endif %patch0002 -p1 +%patch0003 -p1 %build autoreconf -v || automake --add-missing && autoreconf -v @@ -583,6 +585,9 @@ %attr(0700,%{kolab_user},%{kolab_group}) %dir %{_var}/spool/pykolab/wallace %changelog +* Wed Oct 05 2016 Timotheus Pokorra <tp@tbits.net> - 0.8.4-3 +- Add a patch for T1414: Set LDAP TIMEOUT option only on "immediate" connection + * Tue Oct 04 2016 Timotheus Pokorra <tp@tbits.net> - 0.8.4-2 - Add a patch that fixes setup-kolab again, error in call of subprocess for freshclam
View file
pykolab-0.8.4-patch-LDAP-Timeout-T1414.patch
Added
@@ -0,0 +1,22 @@ +diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py +--- a/pykolab/auth/ldap/__init__.py ++++ b/pykolab/auth/ldap/__init__.py +@@ -404,7 +404,7 @@ + + return retval + +- def connect(self, priv=None, immediate=True): ++ def connect(self, priv=None, immediate=False): + """ + Connect to the LDAP server through the uri configured. + """ +@@ -441,7 +441,8 @@ + retry_delay=retry_delay + ) + +- conn.set_option(ldap.OPT_TIMEOUT, 10) ++ if immediate: ++ conn.set_option(ldap.OPT_TIMEOUT, 10) + + conn.protocol_version = 3 + conn.supported_controls = []
View file
debian.series
Changed
@@ -1,2 +1,3 @@ cyrus-imapd.conf-cert-paths.patch -p1 pykolab-0.8.4-patch-freshclam-subprocess.patch -p1 +pykolab-0.8.4-patch-LDAP-Timeout-T1414.patch -p1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.