[CalendarServer-changes] [12409] twext/trunk/twext/who/ldap/_service.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:23:33 PDT 2014
Revision: 12409
http://trac.calendarserver.org//changeset/12409
Author: wsanchez at apple.com
Date: 2014-01-20 15:00:59 -0800 (Mon, 20 Jan 2014)
Log Message:
-----------
Use the dn as the uid; that seems more common.
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-01-20 23:00:22 UTC (rev 12408)
+++ twext/trunk/twext/who/ldap/_service.py 2014-01-20 23:00:59 UTC (rev 12409)
@@ -140,7 +140,7 @@
# Maps field name -> LDAP attribute names
DEFAULT_FIELDNAME_ATTRIBUTE_MAP = MappingProxyType({
FieldName.dn: (LDAPAttribute.dn.value,),
- BaseFieldName.uid: (LDAPAttribute.generatedUUID.value,),
+ BaseFieldName.uid: (LDAPAttribute.dn.value,),
BaseFieldName.guid: (LDAPAttribute.generatedUUID.value,),
BaseFieldName.shortNames: (LDAPAttribute.uid.value,),
BaseFieldName.fullNames: (LDAPAttribute.cn.value,),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/9429b6e7/attachment.html>
More information about the calendarserver-changes
mailing list