[CalendarServer-dev] [CalendarServer] #355: authenticate_gss_client_wrap() (PyKerberos) fails to wrap username correctly

CalendarServer trac at macosforge.org
Sat Nov 28 14:25:47 PST 2009


#355: authenticate_gss_client_wrap() (PyKerberos) fails to wrap username
correctly
----------------------------+-----------------------------------------------
 Reporter:  rbasch@…        |       Owner:  wsanchez@…        
     Type:  Defect          |      Status:  new               
 Priority:  5: Not set      |   Milestone:                    
Component:  PyKerberos      |    Severity:  Other             
 Keywords:                  |  
----------------------------+-----------------------------------------------
 In PyKerberos 1.1, authenticate_gss_client_wrap() (src/kerberosgss.c)
 miscalculates the length of the username string when wrapping it, by
 including the terminating null character in the length.  This results in
 authentication failures.  I am attaching a patch that seems to fix the
 problem.

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/355>
CalendarServer </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list