version bump to 1.20
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "1.15"
|
||||
__version__ = "1.20"
|
||||
|
||||
15
setup.cfg
15
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
|
||||
|
||||
Reference in New Issue
Block a user