summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-10-04 13:48:52 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-10-04 14:30:29 +0200
commitb32ed6d8ba85ec4baa1ebd69c564f2c8fcf7a3a6 (patch)
tree8ff86380543d698164c35f7c52fb0214b2a55ac5
parentc6113ab89b010bd60eff4084b8d244dde2563dcf (diff)
downloadfreeipa.git-b32ed6d8ba85ec4baa1ebd69c564f2c8fcf7a3a6.tar.gz
freeipa.git-b32ed6d8ba85ec4baa1ebd69c564f2c8fcf7a3a6.tar.xz
freeipa.git-b32ed6d8ba85ec4baa1ebd69c564f2c8fcf7a3a6.zip
Remove faulty DNS memberOf Task
This task was added with a DN colliding with privilege update memberOf task being run later and caused this task to be ineffective and thus miss some privilege membership, like "SELinux User Map Administrators" DNS update plugin do not need to run any task at all as privileges will be updated later in scope of 55-pbacmemberof.update https://fedorahosted.org/freeipa/ticket/3877
-rw-r--r--install/updates/40-dns.update11
1 files changed, 2 insertions, 9 deletions
diff --git a/install/updates/40-dns.update b/install/updates/40-dns.update
index 7ad366e6..475a0c05 100644
--- a/install/updates/40-dns.update
+++ b/install/updates/40-dns.update
@@ -1,5 +1,6 @@
# Add missing member values to attach permissions to their respective
-# privileges and run a memberOf task.
+# privileges
+# Memberof task is already being run in 55-pbacmemberof.update
dn: cn=add dns entries,cn=permissions,cn=pbac,$SUFFIX
addifexist:objectclass: ipapermission
addifexist:member: 'cn=DNS Administrators,cn=privileges,cn=pbac,$SUFFIX'
@@ -18,14 +19,6 @@ addifexist:member: 'cn=DNS Servers,cn=privileges,cn=pbac,$SUFFIX'
dn: cn=Write DNS Configuration,cn=permissions,cn=pbac,$SUFFIX
addifexist:objectclass: ipapermission
-dn: cn=Update PBAC memberOf $TIME, cn=memberof task, cn=tasks, cn=config
-add: objectClass: top
-add: objectClass: extensibleObject
-add: cn: IPA PBAC memberOf $TIME
-add: basedn: 'cn=privileges,cn=pbac,$SUFFIX'
-add: filter: (objectclass=*)
-add: ttl: 10
-
# update DNS container
dn: cn=dns, $SUFFIX
addifexist: objectClass: idnsConfigObject