[CalendarServer-dev] [CalendarServer] #335: Search via email address in cachingappleopendirectory fails

CalendarServer trac at macosforge.org
Mon Apr 27 14:47:06 PDT 2009

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

Comment(by ebach2@…):

 Replying to [comment:3 ebach2@…]:
 > 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 sarah at test.com
 > Users/sarah           dsAttrTypeNative:mail = (
 >     "sarah at test.com"
 > )

 I'm not sure why, but:

 search /Search dsAttrTypeStandard:EMailAddress sarah at test.com

 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

Ticket URL: <http://trac.calendarserver.org/ticket/335#comment:5>
CalendarServer </>

More information about the calendarserver-dev mailing list