USERS_LDAP: use synchro connection to bind
authorMantavya Gajjar <mga@tinyerp.com>
Wed, 11 Apr 2007 07:37:51 +0000 (07:37 +0000)
committerMantavya Gajjar <mga@tinyerp.com>
Wed, 11 Apr 2007 07:37:51 +0000 (07:37 +0000)
bzr revid: mga@tinyerp.com-73b73db52b160f3c864308e333849b28c9504e56

bin/service/security.py

index 0bc68eb..493f11f 100644 (file)
@@ -49,7 +49,7 @@ def check_super(passwd):
                raise Exception('AccessDenied')
        
 def check(db, uid, passwd):
-       #FIXME: this should be db dependent
+       # XXX FIXME: this should be db dependent
        if _uid_cache.has_key(uid) and (_uid_cache[uid]==passwd):
                return True
        cr = pooler.get_db(db).cursor()