From ee0eb1daa349671386bae0121be6a4b8be06815d Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Fri, 28 Apr 2017 13:13:28 +1200 Subject: [PATCH] auth pycredentials: correct docstring of get_ntlm_response method Fix copy paste error was incorrectly named "get_ntlm_username_domain" Signed-off-by: Gary Lockyer Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- auth/credentials/pycredentials.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c index 7c9b5b579cb..165f8031e70 100644 --- a/auth/credentials/pycredentials.c +++ b/auth/credentials/pycredentials.c @@ -614,8 +614,8 @@ static PyMethodDef py_creds_methods[] = { "S.get_ntlm_username_domain() -> (domain, username)\n" "Obtain NTLM username and domain, split up either as (DOMAIN, user) or (\"\", \"user@realm\")." }, { "get_ntlm_response", (PyCFunction)py_creds_get_ntlm_response, METH_VARARGS | METH_KEYWORDS, - "S.get_ntlm_username_domain" - "(flags, challenge, target_info[, server_timestamp]) -> " + "S.get_ntlm_response" + "(flags, challenge[, target_info]) -> " "(flags, lm_response, nt_response, lm_session_key, nt_session_key)\n" "Obtain LM or NTLM response." }, { "set_password", py_creds_set_password, METH_VARARGS,