[CalendarServer-changes] [1420] PyKerberos/trunk/test.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 23 10:49:26 PDT 2007
Revision: 1420
http://trac.macosforge.org/projects/calendarserver/changeset/1420
Author: cdaboo at apple.com
Date: 2007-03-23 10:49:26 -0700 (Fri, 23 Mar 2007)
Log Message:
-----------
Fix tests to work with my host.
Modified Paths:
--------------
PyKerberos/trunk/test.py
Modified: PyKerberos/trunk/test.py
===================================================================
--- PyKerberos/trunk/test.py 2007-03-23 17:08:50 UTC (rev 1419)
+++ PyKerberos/trunk/test.py 2007-03-23 17:49:26 UTC (rev 1420)
@@ -92,12 +92,12 @@
else:
return "Error"
- rc, vc = kerberos.authGSSClientInit("http/caldav.corp.apple.com at CALDAV.CORP.APPLE.COM");
+ rc, vc = kerberos.authGSSClientInit(service);
print "Status for authGSSClientInit = %s" % statusText(rc);
if rc != 1:
return
- rs, vs = kerberos.authGSSServerInit("http at CALDAV.CORP.APPLE.COM");
+ rs, vs = kerberos.authGSSServerInit(service);
print "Status for authGSSServerInit = %s" % statusText(rs);
if rs != 1:
return
@@ -142,7 +142,7 @@
return response
# Initial request without auth header
- uri = "/"
+ uri = "/principals/"
response = sendRequest(host, port, ssl, "OPTIONS", uri, {})
if response is None:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070323/ee5bd6b3/attachment.html
More information about the calendarserver-changes
mailing list