From bc57f3ab804fb86a5da6517ae63a7ffe25c80f1d Mon Sep 17 00:00:00 2001 From: Carson Lam Date: Tue, 1 Nov 2016 17:12:54 -0700 Subject: [PATCH] Add WinKerberos-specific blurb for custom principal. --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 25db0a3..d446a1d 100644 --- a/README.rst +++ b/README.rst @@ -121,7 +121,7 @@ whom you last ran ``kinit`` or ``kswitch``, or an SSO credential if applicable). However, an explicit principal can be specified, which will cause Kerberos to look for a matching credential cache for the named user. This feature depends on OS support for collection-type credential caches, -as well as working principal support in pykerberos (it is broken in many +as well as working principal support in PyKerberos (it is broken in many builds). An explicit principal can be specified with the ``principal`` arg: .. code-block:: python @@ -132,6 +132,10 @@ builds). An explicit principal can be specified with the ``principal`` arg: >>> r = requests.get("http://example.org", auth=kerberos_auth) ... +On Windows, WinKerberos is used instead of PyKerberos. WinKerberos allows the +use of arbitrary principals instead of a credential cache. Passwords can be +specified by following the form ``user@realm:password`` for ``principal``. + Logging -------