From a31232ac4ebf5d2aebc9621feaa17341c6ec723d Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sat, 28 Jun 2014 10:23:53 +0200
Subject: [PATCH] query LDAP for all the required attributes

---
 authserv/ldap_model.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/authserv/ldap_model.py b/authserv/ldap_model.py
index c5d4c05..ae9aadb 100644
--- a/authserv/ldap_model.py
+++ b/authserv/ldap_model.py
@@ -29,11 +29,7 @@ def _expandvars(s, vars, quotefn):
 
 class UserDb(model.UserDb):
 
-    ldap_attrs = [
-        'userPassword',
-        'totpSecret',
-        'appSpecificPassword',
-        ]
+    ldap_attrs = SCHEMA.values()
 
     def __init__(self, service_map, ldap_uri, ldap_bind_dn, ldap_bind_pw):
         self.service_map = service_map
-- 
GitLab