version bump to 1.20

This commit is contained in:
2012-12-11 11:53:42 +01:00
parent 3c0140dbbd
commit fe36431f4e
3 changed files with 21 additions and 5 deletions

View File

@@ -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

View File

@@ -1 +1 @@
__version__ = "1.15"
__version__ = "1.20"

View File

@@ -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