#320: Open Directory and basic authentication -----------------------------------+---------------------------------------- Reporter: axelluttg...@… | Owner: wsanc...@… 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 _______________________________________________ calendarserver-dev mailing list calendarserver-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev