Skip to main content
NetApp Knowledge Base

CIFS domain modification fails with error an LDAP constraint violation occurred

Views:
126
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:
6/6/2024, 4:51:09 AM

Applies to

  • ONTAP 9
  • CIFS

Issue

  • CIFS domain modification fails with below error:

UPL_INDCORPCLUSTER::*> cifs modify -vserver corpfiler07 -cifs-server CORPFILER07 -domain CORP.AD  -status-admin up
In order to create an Active Directory machine account for the CIFS server, you must supply the name and password of a Windows account with sufficient privileges to
add computers to the "CN=Computers" container within the "CORP.AD" domain.
Enter the user name: P_CORP_WIN1_L3P@corp.ad
Enter the password:

Error: Machine account creation procedure failed
  [ 72654] Loaded the preliminary configuration.
  [ 72743] Successfully connected to ip 119.43.96.10, port 88 using
           TCP
  [ 73197] Successfully connected to ip 119.43.96.10, port 389 using
           TCP
**[ 73216] FAILURE: Could not create account
**         'cn=CORPFILER07,CN=Computers,dc=CORP,dc=AD': an LDAP
**         constraint violation occurred, which may indicate the
**         supplied user has insufficient privilege to add an
**         account in the specified organizational unit
Error: command failed: Failed to create the Active Directory machine account "CORPFILER07". Reason: LDAP Error: The user has insufficient access rights.

  • Below error are seen under secd logs:

00000023.007ea5fa 04e3b38b Wed Apr 17 2024 16:09:13 +05:30 [kern_secd:info:13692] **[ 43437] FAILURE: Could not create account 'cn=CORPFILER07,CN=Computers,dc=CORP,dc=AD': an LDAP constraint violation occurred, which may indicate the supplied user has insufficient privilege to add an account in the specified organizational unit

 

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.