[CalendarServer] #320: Open Directory and basic authentication
#320: Open Directory and basic authentication -----------------------------------+---------------------------------------- Reporter: AxelLuttgens@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | -----------------------------------+---------------------------------------- Hello, While testing against an OD local node, I noticed that I had to slightly change the code of PyOpenDirectory/CDirectoryServiceAuth.cpp so as to have basic authentication working: {{{ --- src/CDirectoryServiceAuth.cpp (revision 3539) +++ src/CDirectoryServiceAuth.cpp (working copy) @@ -130,7 +130,9 @@ CreateBuffer(); // First, specify the type of authentication. - authType = ::dsDataNodeAllocateString(mDir, kDSStdAuthClearText); + // Use kDSStdAuthNodeNativeClearTextOK instead of kDSStdAuthClearText + //authType = ::dsDataNodeAllocateString(mDir, kDSStdAuthClearText); + authType = ::dsDataNodeAllocateString(mDir, kDSStdAuthNodeNativeClearTextOK); // Build input data // Native authentication is a one step authentication scheme. }}} Unless I'm overlooking something, this should be OK for an OD LDAP node (as with OSX Server) as well. HTH, Axel -- Ticket URL: <http://trac.calendarserver.org/ticket/320> CalendarServer </> HTTP/WebDAV/CalDAV Server
#320: Open Directory and basic authentication -----------------------------------+---------------------------------------- Reporter: AxelLuttgens@… | Owner: cdaboo@… Type: Defect | Status: new Priority: 1: Blocker | Milestone: CalendarServer-2.0 Component: Calendar Server | Severity: Other Keywords: | -----------------------------------+---------------------------------------- Changes (by wsanchez@…): * owner: wsanchez@… => cdaboo@… * priority: 5: Not set => 1: Blocker * milestone: => CalendarServer-2.0 -- Ticket URL: <http://trac.calendarserver.org/ticket/320#comment:1> CalendarServer </> HTTP/WebDAV/CalDAV Server
#320: Open Directory and basic authentication ------------------------------------+--------------------------------------- Reporter: AxelLuttgens@… | Owner: cdaboo@… Type: Defect | Status: closed Priority: 1: Blocker | Milestone: CalendarServer-2.2 Component: Calendar Server | Severity: Other Resolution: Not to be fixed | Keywords: ------------------------------------+--------------------------------------- Changes (by wsanchez@…): * status: new => closed * resolution: => Not to be fixed Comment: This change allows DS to choose plain text or something else - we cannot support something else if it returns a challenge (and we have no way of knowing whether it will or not). The local OD node is problematic for us for a number of reasons, mostly because it doesn't support complex queries. As such, we require that calendar account be created on a non-local OD node. -- Ticket URL: <http://trac.calendarserver.org/ticket/320#comment:2> CalendarServer </> HTTP/WebDAV/CalDAV Server
participants (1)
-
CalendarServer