Description of problem: In previous releases the kerberos.authGSSClientInit() function would accept None for the principal argument, meaning use the default found in the credentials cache. This regressed as part of recent upstream refactoring: https://www.calendarserver.org/ticket/942 Version-Release number of selected component (if applicable): python2-kerberos-1.2.4-1.fc24.x86_64 How reproducible: easily Steps to Reproduce: >>> import kerberos >>> kerberos.authGSSClientInit('HTTP/beaker-devel.app.eng.bos.redhat.com', principal=None) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: argument 2 must be string, not None >>> kerberos.authGSSClientInit('SERVICE/host@REALM', principal=None) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: argument 2 must be string, not None Actual results: doesn't accept None Expected results: accepts None Additional info: This affects python-requests-kerberos: https://github.com/requests/requests-kerberos/issues/76 where upstream has switched to the PyKerberos fork of the original module. That fork was better maintained (up until Apple came back to the table on the original CalendarServer version of the module) and is now slowly diverging. This is one example of the divergence.
Please consider applying the patch I posted in the upstream issue: https://www.calendarserver.org/attachment/ticket/942/942.patch It seems to be quite trivial and not likely to break, and it will let me upgrade python-requests-kerberos which is currently stuck due to this issue.
python-kerberos-1.2.4-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-220096fb67
python-kerberos-1.2.4-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-220096fb67
python-kerberos-1.2.4-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.