#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@test.com Users/sarah dsAttrTypeNative:mail = ( "sarah@test.com" )
I'm not sure why, but: search /Search dsAttrTypeStandard:EMailAddress sarah@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 attribute. -- Ticket URL: <http://trac.calendarserver.org/ticket/335#comment:5> CalendarServer </> HTTP/WebDAV/CalDAV Server