Changeset 1112
- Timestamp:
- 07/29/03 21:52:32 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1111 r1112 21 21 # 22 22 # $Log$ 23 # Revision 1.23 2003/07/29 19:52:32 jalet 24 # Forgot to read the email field from LDAP 25 # 23 26 # Revision 1.22 2003/07/29 09:54:03 jalet 24 27 # Added configurable LDAP mail attribute support … … 218 221 """Extracts user information given its name.""" 219 222 user = StorageUser(self, username) 220 result = self.doSearch("(&(objectClass=pykotaAccount)(|(pykotaUserName=%s)(%s=%s)))" % (username, self.info["userrdn"], username), ["pykotaLimitBy" ], base=self.info["userbase"])223 result = self.doSearch("(&(objectClass=pykotaAccount)(|(pykotaUserName=%s)(%s=%s)))" % (username, self.info["userrdn"], username), ["pykotaLimitBy", self.info["usermail"]], base=self.info["userbase"]) 221 224 if result : 222 225 fields = result[0][1]