summaryrefslogtreecommitdiffstats
path: root/install/share
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-07-01 10:41:42 -0400
committerRob Crittenden <rcritten@redhat.com>2011-07-14 19:11:49 -0400
commit37e3bf2a6096ea18f46501bf5f2a51c55e829595 (patch)
treeeaaeefddf55f8db6ba02346afda9eda854b04503 /install/share
parent4bd85ceb90d6b8639c14e68691f2c9f447980c2d (diff)
downloadfreeipa-37e3bf2a6096ea18f46501bf5f2a51c55e829595.tar.gz
freeipa-37e3bf2a6096ea18f46501bf5f2a51c55e829595.tar.xz
freeipa-37e3bf2a6096ea18f46501bf5f2a51c55e829595.zip
Disallow direct modifications to enrolledBy.
This fixes a regression. We don't need to allow enrolledBy to be modified because it gets written in the ipa_enrollment plugin which does internal operations so bypasses acis. https://fedorahosted.org/freeipa/ticket/302
Diffstat (limited to 'install/share')
-rw-r--r--install/share/delegation.ldif6
1 files changed, 4 insertions, 2 deletions
diff --git a/install/share/delegation.ldif b/install/share/delegation.ldif
index 5d4949ae3..a3c6bd110 100644
--- a/install/share/delegation.ldif
+++ b/install/share/delegation.ldif
@@ -647,12 +647,14 @@ aci: (targetattr = "krbprincipalkey || krblastpwdchange")(target = "ldap:///krbp
# Add the ACI needed to do host enrollment. When this occurs we
# set the krbPrincipalName, add krbPrincipalAux to objectClass and
-# set enrolledBy to whoever ran join.
+# set enrolledBy to whoever ran join. enrolledBy is specifically
+# not listed here, it is set by the plugin but we don't want an
+# admin overriding it using --setattr or ldapmodify.
dn: $SUFFIX
changetype: modify
add: aci
-aci: (targetattr = "enrolledby || objectclass")(target = "ldap:///fqdn=*,cn=computers,cn=accounts,$SUFFIX")(version 3.0;acl "permission:Enroll a host";allow (write) groupdn = "ldap:///cn=Enroll a host,cn=permissions,cn=pbac,$SUFFIX";)
+aci: (targetattr = "objectclass")(target = "ldap:///fqdn=*,cn=computers,cn=accounts,$SUFFIX")(version 3.0;acl "permission:Enroll a host";allow (write) groupdn = "ldap:///cn=Enroll a host,cn=permissions,cn=pbac,$SUFFIX";)
# Entitlement administration