[CalendarServer-changes] [13293] twext/trunk/twext/who/ldap/_service.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 15 15:36:02 PDT 2014
Revision: 13293
http://trac.calendarserver.org//changeset/13293
Author: wsanchez at apple.com
Date: 2014-04-15 15:36:02 -0700 (Tue, 15 Apr 2014)
Log Message:
-----------
very minor
Modified Paths:
--------------
twext/trunk/twext/who/ldap/_service.py
Modified: twext/trunk/twext/who/ldap/_service.py
===================================================================
--- twext/trunk/twext/who/ldap/_service.py 2014-04-15 22:33:08 UTC (rev 13292)
+++ twext/trunk/twext/who/ldap/_service.py 2014-04-15 22:36:02 UTC (rev 13293)
@@ -510,17 +510,15 @@
)
)
- # Skip any results missing the uid
+ # Skip any results missing the uid, which is a required field
if self.fieldName.uid not in fields:
continue
# Set record type and dn fields
-
fields[self.fieldName.recordType] = recordType
fields[self.fieldName.dn] = dn.decode("utf-8")
# Make a record object from fields.
-
record = DirectoryRecord(self, fields)
records.append(record)
@@ -595,7 +593,6 @@
# Verifiers for twext.who.checker stuff.
#
-
def verifyPlaintextPassword(self, password):
return self.service._authenticateUsernamePassword(self.dn, password)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140415/777d1f93/attachment-0001.html>
More information about the calendarserver-changes
mailing list