Commit ee0eb1da authored by Gary Lockyer's avatar Gary Lockyer Committed by Andrew Bartlett

auth pycredentials: correct docstring of get_ntlm_response method

Fix copy paste error was incorrectly named "get_ntlm_username_domain"
Signed-off-by: default avatarGary Lockyer <>
Reviewed-by: default avatarGarming Sam <>
Reviewed-by: default avatarAndrew Bartlett <>
parent 68ccebfa
......@@ -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,
"(flags, challenge, target_info[, server_timestamp]) -> "
"(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,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment