s3-auth rename auth_ntlmssp_prepare() -> auth_generic_prepare()
[mat/samba.git] / source3 / auth / auth_ntlmssp.c
index 082f10cf8c9991c530e280bade5490de1a7ef7f2..0f09ae10211d2e8bbe5d46819c98f64a6ec07ff5 100644 (file)
@@ -210,7 +210,7 @@ static NTSTATUS auth_ntlmssp_check_password(struct ntlmssp_state *ntlmssp_state,
        return nt_status;
 }
 
-NTSTATUS auth_ntlmssp_prepare(const struct tsocket_address *remote_address,
+NTSTATUS auth_generic_prepare(const struct tsocket_address *remote_address,
                              struct auth_generic_state **auth_ntlmssp_state)
 {
        struct auth_context *auth_context;
@@ -414,7 +414,7 @@ NTSTATUS auth_generic_authtype_start(struct auth_generic_state *auth_ntlmssp_sta
 
        if (auth_type != DCERPC_AUTH_TYPE_NTLMSSP) {
                /* The caller will then free the auth_ntlmssp_state,
-                * undoing what was done in auth_ntlmssp_prepare().
+                * undoing what was done in auth_generic_prepare().
                 *
                 * We can't do that logic here, as
                 * auth_ntlmssp_want_feature() may have been called in