server/sources/ldapuser.py
changeset 7398 26695dd703d8
parent 7121 c2badb6de3fe
child 7399 972ed1843bd8
--- a/server/sources/ldapuser.py	Thu May 19 10:36:26 2011 +0200
+++ b/server/sources/ldapuser.py	Thu May 19 10:53:11 2011 +0200
@@ -524,9 +524,9 @@
         """make an ldap query"""
         self.debug('ldap search %s %s %s %s %s', self.uri, base, scope,
                    searchstr, list(attrs))
-        # XXX for now, we do not have connection pool support for LDAP, so
+        # XXX for now, we do not have connections set support for LDAP, so
         # this is always self._conn
-        cnx = session.pool.connection(self.uri).cnx
+        cnx = session.cnxset.connection(self.uri).cnx
         try:
             res = cnx.search_s(base, scope, searchstr, attrs)
         except ldap.PARTIAL_RESULTS: