Home

ADLDS

%3CLINGO-SUB%20id%3D%22lingo-sub-759490%22%20slang%3D%22en-US%22%3EADLDS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-759490%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22%22%3EI%20have%20an%20ADLDS%20instance%20hosted%20in%20DMZ%2C%20it's%20in%20work%20group.%20I%20have%20application%20integrated%20with%20it%20and%20this%20application%20creates%20ADLDS%20user%20in%20it%20using%20default%20API.%20Issue%20is%20that%20specifically%20for%20this%20instance%2C%20ADLDS%20user%20creation%20is%20failing%20with%20below%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EMessageThe%20principal%20could%20not%20be%20enabled%20because%20the%20existing%20account%20control%20flags%20could%20not%20be%20read.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EType%20of%20Exception%3A%20PrincipalOperationException%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EStack%20Trace%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%20at%20System.DirectoryServices.AccountManagement.ADStoreCtx.Insert(Principal%20p)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%20at%20System.DirectoryServices.AccountManagement.Principal.Save()%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Ewe%20have%20checked%20with%20adsiedit%2C%20ldp%20connect%20and%20bind%20is%20succesful.%20i%20can%20manually%20create%20the%20user%20as%20well%2C%20only%20through%20application%20if%20i%20try%20to%20create%2C%20i%20get%20error%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ein%20ADLDS%20event%20log%20i%20also%20get%20below%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EInternal%20error%3A%20The%20operation%20on%20the%20object%20failed.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAdditional%20Data%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EError%20value%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E1%2000002074%3A%20AtrErr%3A%20DSID-03120199%2C%20%231%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E0%3A%2000002074%3A%20DSID-03120199%2C%20problem%201001%20(NO_ATTRIBUTE_OR_VAL)%2C%20data%200%2C%20Att%2090004%20(replUpToDateVector)%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-759490%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Ruchi Manuja
New Contributor

I have an ADLDS instance hosted in DMZ, it's in work group. I have application integrated with it and this application creates ADLDS user in it using default API. Issue is that specifically for this instance, ADLDS user creation is failing with below error

 

 

MessageThe principal could not be enabled because the existing account control flags could not be read.

Type of Exception: PrincipalOperationException

Stack Trace:

   at System.DirectoryServices.AccountManagement.ADStoreCtx.Insert(Principal p)

   at System.DirectoryServices.AccountManagement.Principal.Save()

 

we have checked with adsiedit, ldp connect and bind is succesful. i can manually create the user as well, only through application if i try to create, i get error

in ADLDS event log i also get below

 

Internal error: The operation on the object failed. 

 

 

Additional Data 

Error value:

1 00002074: AtrErr: DSID-03120199, #1:

0: 00002074: DSID-03120199, problem 1001 (NO_ATTRIBUTE_OR_VAL), data 0, Att 90004 (replUpToDateVector)