Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypt32 committed Nov 5, 2020
1 parent 099889d commit 7e1c4bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public sealed class CertTemplateSecurityDescriptor : CommonObjectSecurity {
new Guid(GUID_ENROLL));
dsSecurity.AddAccessRule(ace);
}
if ((localRights & CertTemplateRights.Enroll) > 0) {
if ((localRights & CertTemplateRights.Autoenroll) > 0) {
var ace = new ActiveDirectoryAccessRule(
localAce.IdentityReference,
ActiveDirectoryRights.ExtendedRight,
Expand Down

0 comments on commit 7e1c4bc

Please sign in to comment.