auth:ntlmssp: Mark as weak_crypto
authorAndreas Schneider <asn@samba.org>
Mon, 11 Nov 2019 15:39:24 +0000 (16:39 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Mar 2020 20:46:41 +0000 (20:46 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/ntlmssp/ntlmssp.c

index 37434fbb0c2242073cb44111bf4f9a0ed61081bb..745f2628d21f0d2ea4fd7376d510533b69215ad7 100644 (file)
@@ -305,6 +305,7 @@ static const struct gensec_security_ops gensec_ntlmssp_security_ops = {
        .name           = "ntlmssp",
        .sasl_name      = GENSEC_SASL_NAME_NTLMSSP, /* "NTLM" */
        .auth_type      = DCERPC_AUTH_TYPE_NTLMSSP,
+       .weak_crypto    = true,
        .oid            = gensec_ntlmssp_oids,
        .client_start   = gensec_ntlmssp_client_start,
        .server_start   = gensec_ntlmssp_server_start,
@@ -329,6 +330,7 @@ static const struct gensec_security_ops gensec_ntlmssp_security_ops = {
 
 static const struct gensec_security_ops gensec_ntlmssp_resume_ccache_ops = {
        .name           = "ntlmssp_resume_ccache",
+       .weak_crypto    = true,
        .client_start   = gensec_ntlmssp_resume_ccache_start,
        .update_send    = gensec_ntlmssp_update_send,
        .update_recv    = gensec_ntlmssp_update_recv,