auth pycredentials: correct docstring of get_ntlm_response method
authorGary Lockyer <gary@catalyst.net.nz>
Fri, 28 Apr 2017 01:13:28 +0000 (13:13 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 25 May 2017 00:25:12 +0000 (02:25 +0200)
Fix copy paste error was incorrectly named "get_ntlm_username_domain"

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/credentials/pycredentials.c

index 7c9b5b579cb467d4d21326905d36cbb646248dee..165f8031e7072b70fbf5d490d5b7d712bb33cdc4 100644 (file)
@@ -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,