projects
/
matthijs
/
upstream
/
django-ldapdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move transaction disable
[matthijs/upstream/django-ldapdb.git]
/
ldapdb
/
backends
/
ldap
/
base.py
diff --git
a/ldapdb/backends/ldap/base.py
b/ldapdb/backends/ldap/base.py
index 79d937fe0d23114f6ea7abf6977bbc942451d8c1..201f287a4c5dff82bc0ef83ce7a8bed1815dd4ca 100644
(file)
--- a/
ldapdb/backends/ldap/base.py
+++ b/
ldapdb/backends/ldap/base.py
@@
-74,6
+74,7
@@
class DatabaseWrapper(BaseDatabaseWrapper):
self.creation = DatabaseCreation(self)
self.features = DatabaseFeatures(self)
self.ops = DatabaseOperations()
self.creation = DatabaseCreation(self)
self.features = DatabaseFeatures(self)
self.ops = DatabaseOperations()
+ self.settings_dict['SUPPORTS_TRANSACTIONS'] = False
def close(self):
pass
def close(self):
pass
@@
-108,7
+109,7
@@
class DatabaseWrapper(BaseDatabaseWrapper):
cursor = self._cursor()
return cursor.connection.rename_s(dn.encode(self.charset), newrdn.encode(self.charset))
cursor = self._cursor()
return cursor.connection.rename_s(dn.encode(self.charset), newrdn.encode(self.charset))
- def search_s(self, base, scope, filterstr
, attrlist
):
+ def search_s(self, base, scope, filterstr
='(objectClass=*)',attrlist=None
):
cursor = self._cursor()
results = cursor.connection.search_s(base, scope, filterstr.encode(self.charset), attrlist)
output = []
cursor = self._cursor()
results = cursor.connection.search_s(base, scope, filterstr.encode(self.charset), attrlist)
output = []