apple / ccs-pykerberos

Python Kerberos library used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
117 stars 65 forks source link

Accept None for principal arg in authGSSClientInit() #23

Closed macosforgebot closed 12 years ago

macosforgebot commented 12 years ago

tylerlhobbs@… originally submitted this as ticket:512


The principal argument is supposed to have a default value of None, but the format string for this function uses 's', which does not allow for a None value.

macosforgebot commented 12 years ago

tylerlhobbs@… originally submitted this as attachment:512-format-string.patch:⁠ticket:512


Patch to use 'z' instead of 's' in the format string, which allows for None

macosforgebot commented 12 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:512


Fixed in r9872

macosforgebot commented 12 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:512