[CalendarServer-dev] [CalendarServer] #320: Open Directory and basic authentication
CalendarServer
trac at macosforge.org
Fri Jan 30 05:32:41 PST 2009
#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
More information about the calendarserver-dev
mailing list