跳转到主内容

"SecD错误:无可用服务器"、因为文件中的主机名与对等证书中的CN不匹配

Views:
17
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9
  • DNS
  • Active Directory
  • CIFS
  • StartTLS

问题描述

  • 无法重置CIFS密码
    • ::>cifs password-reset -vserver svm1
      Error: command failed: Password update failed. Reason: SecD Error: no server available

  • EMS显示CIFS密码重置失败、因为主机名与CN不匹配
    • ::> event log show -source secd
      12/31/2023 12:00:00 cluster1-01 ERROR secd.unexpectedFailure: Unexpected SecD failure in Vserver "svm1". Details: Error: CIFS server password reset procedure failed
      ...
      [ 1] Successfully connected to ip 10.20.30.40, port 389 using TCP
      [ 18] Unable to start TLS: Connect error
      [ 18] Additional info: TLS: hostname (server1) does not match CN (server1.domain.com) in peer certificate
      [ 18] Unable to connect to LDAP (Active Directory) service on server1
      [ 18] No servers available for MS_LDAP_AD, vserver: 5, domain: domain.com
      **[ 18] FAILURE: Unable to make a connection (LDAP (Active Directory): domain.com), Result: RESULT_ERROR_SECD_NO_SERVER_AVAILABLE

  • 在DNS服务器中,IP 10.20.30.40 的PTR记录解析为主机名 server1.domain.com ,它与DC对等证书中的CN匹配
    • PS> nslookup 10.20.30.40

      Server: server1.domain.com
      Address: 10.20.30.40

      Name: server1.domain.com
      Address: 10.20.30.40

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.