From fe36431f4ebe844659c1f205057a4d8d27addd64 Mon Sep 17 00:00:00 2001 From: Derek Feichtinger Date: Tue, 11 Dec 2012 11:53:42 +0100 Subject: [PATCH] version bump to 1.20 --- ldapuserdir/ldapuserdir.py | 9 +++++---- ldapuserdir/version.py | 2 +- setup.cfg | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/ldapuserdir/ldapuserdir.py b/ldapuserdir/ldapuserdir.py index f236c82..200d9f5 100644 --- a/ldapuserdir/ldapuserdir.py +++ b/ldapuserdir/ldapuserdir.py @@ -102,12 +102,13 @@ class LdapUserDir(object): def search_s_reconn(self, base, scope, filterstr='(objectClass=*)', attrlist=None, attrsonly=0, recon_attempts = 2): - """ wrapper of standard ldap.search_s synchronous search that + """wrapper of standard ldap.search_s synchronous search that tries to reconnect - Implemented that myself since the use of the automatic reconnect - available (ReconnectLDAPObject) led to a connection that returned - empty answers. This way I have more control. + Implemented the functionality myself since the use of the + automatic reconnect available (ReconnectLDAPObject) did not do + a rebind (or it failed). This way I have more control. + """ attempts = 0 ok = False diff --git a/ldapuserdir/version.py b/ldapuserdir/version.py index c97e2bf..f00b8e8 100644 --- a/ldapuserdir/version.py +++ b/ldapuserdir/version.py @@ -1 +1 @@ -__version__ = "1.15" +__version__ = "1.20" diff --git a/setup.cfg b/setup.cfg index 90ce3ad..816be35 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,21 @@ +# setup.cfg for ldapuserdir + [build] #executable=/usr/bin/python [install] #prefix=/usr +#install-data=/ +[bdist_rpm] +Release=1.el6 +Group=Applications/Internet +Vendor=PSI +Packager=Derek Feichtinger +#Provides +Requires=python-ldap +#Conflicts +#Obsoletes +#Distribution +#BuildRequires +#Icon