Skip to main content
NetApp Knowledge Base

Cannot change security encryption types on a vserver error: LDAP attribute missing

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

Applies to

  • ONTAP 9
  • CIFS/SMB
  • Active Directory (AD)
  • Encryption

Issue

  • Changing advertised encryption on a vserver is failing:
    • ONTAP 9.12+

::*> vserver cifs security modify -vserver svm1 -advertised-enc-types rc4, des,aes-128, aes-256
Error: command failed: Password update failed. Reason: SecD Error: LDAP attribute missing.

    • ONTAP 9.11 and prior

::*> vserver cifs security modify -vserver svm1 -is-aes-encryption-enabled true
Error: command failed: Password update failed. Reason: SecD Error: LDAP attribute missing.

  • Attempting to change schedule password on a CIFS SVM fails with the same error.
    • ::> vserver cifs domain password schedule show -vserver svm1
    • output shows that the schedule is enabled, but the field Last Changed At is empty, indicating that the password change has not occurred.
  • SECD Logs:

[kern_secd:info:14581] Failure Summary:
[kern_secd:info:14581] Error: CIFS server password reset procedure failed
[kern_secd:info:14581]   [  6 ms] Successfully connected to ip 10.174.20.5, port 636 using TCP
[kern_secd:info:14581] **[   189] FAILURE: Unexpected state: Error 7054 at file:src/utils/secd_ldap_utils.cpp func:getLdapValueLen line:464
[kern_secd:info:14581] **[   189] FAILURE: Error case not correctly journaled
[kern_secd:info:14581] Details:
[kern_secd:info:15488] | [000.041.119] debug: Successfully authenticated over LDAP with dc.domain.com { in connect() at src/connection_manager/secd_connection.cpp:2650 }
[kern_secd:info:15488] | [000.041.129] debug: Connected to new LDAP (Active Directory) service on dc.domain.com { in makeConnectionAttempt() at src/connection_manager/secd_connection_manager.cpp:1048 }
[kern_secd:info:15488] | [000.041.227] debug: Searching LDAP for the "distinguishedName, msDS-SupportedEncryptionTypes" attribute(s) within base "dc=domain,dc=com" (scope: 2) using filter: (&(sAMAccountName=SVM1$)) { in searchLdap() at src/utils/secd_ldap_utils.cpp:324 }
[kern_secd:info:15488] | [000.042.968] ERR : RESULT_ERROR_SECD_LDAP_ATTRIBUTE_MISSING:7054 in getLdapValueLen() at src/utils/secd_ldap_utils.cpp:464
[kern_secd:info:15488] | [000.042.977] ERR : LDAP returned 0 results for attribute msDS-SupportedEncryptionTypes
[kern_secd:info:15488] | [000.042.985] ERR : RESULT_ERROR_SECD_LDAP_ATTRIBUTE_MISSING:7054 in adGetAccountEncryptionType() at src/utils/secd_ad_utils.cpp:3574
[kern_secd:info:15488] | [000.042.992] ERR : RESULT_ERROR_SECD_LDAP_ATTRIBUTE_MISSING:7054 in getLdapConnToSetEtypeAttr() at src/domain_services/secd_domain_services.cpp:1821
[kern_secd:info:15488] | [000.042.997] ERR : RESULT_ERROR_SECD_LDAP_ATTRIBUTE_MISSING:7054 in secd_rpc_ad_change_password_1_svc_secd() at src/domain_services/secd_domain_services.cpp:1889

  • Other vservers can modify their encryption with no issues
  • When checking the value in PowerShell on the AD server no value is returned:

PS> Get-ADComputer <CIFS_Server_NetBIOS_Name> -properties * | select msDS-SupportedEncryptionTypes

clipboard_e420cfb78999951b7611d886fa5b5d1ff.png

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.