backport oldstable stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 27 Jul 2010 12:36:16 +0200
branchstable
changeset 6019 373a313ee9ec
parent 6017 5f6a60ea8544 (current diff)
parent 6018 f4d1d5d9ccbb (diff)
child 6020 6f3b4f20ee9f
child 6021 a12f085bd8aa
backport oldstable
server/sources/native.py
--- a/server/sources/native.py	Tue Jul 27 09:40:09 2010 +0200
+++ b/server/sources/native.py	Tue Jul 27 12:36:16 2010 +0200
@@ -1449,7 +1449,7 @@
         two queries are needed since passwords are stored crypted, so we have
         to fetch the salt first
         """
-        args = {'login': login, 'pwd' : password}
+        args = {'login': login, 'pwd' : None}
         if password is not None:
             rset = self.source.syntax_tree_search(session, self._passwd_rqlst, args)
             try: