#335: Search via email address in cachingappleopendirectory fails
------------------------------+---------------------------------------------
 Reporter:  eba...@…          |       Owner:  wsanc...@…        
     Type:  Defect            |      Status:  new               
 Priority:  1: Blocker        |   Milestone:                    
Component:  Calendar Server   |    Severity:  Serious           
 Keywords:                    |  
------------------------------+---------------------------------------------

Comment(by eba...@…):

 Replying to [comment:3 eba...@…]:
 > To follow up, it also fails even when using /Search for the ldap node.
 >
 > But within the dscl cli tool, the search for the email address succeeds:
 >
 >  > search /Search dsAttrTypeNative:mail [email protected]
 > Users/sarah           dsAttrTypeNative:mail = (
 >     "[email protected]"
 > )

 I'm not sure why, but:

 search /Search dsAttrTypeStandard:EMailAddress [email protected]

 returns no entries (where searching for dsAttrTypeNative:mail returns the
 proper record)

 But my DirectoryServices exploring app (which just does a
 dsGetRecordEntry, then iterates over all the attributes for the record),
 returns both dsAttrTypeNative:mail and dsAttrTypeStandard:EMailAddress
 entries, which the dscl tool doesn't display.  And I've verified in
 DirectoryUtility.app that EMailAddress is mapped by the mail ldap
 attribute.

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/335#comment:5>
CalendarServer </>
HTTP/WebDAV/CalDAV Server
_______________________________________________
calendarserver-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev

Reply via email to