summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJr Aquino <jr.aquino@citrix.com>2011-04-21 12:22:33 -0700
committerRob Crittenden <rcritten@redhat.com>2011-04-25 14:35:34 -0400
commit23781c080bd5ae4a9db4da956f43efdba8cbc46a (patch)
tree4c94361e5dcd584323e8af84d1d4f6b55b5f9000
parente0f62248c7560a2edca3d4a5225a4ee40e6e84ff (diff)
downloadfreeipa-23781c080bd5ae4a9db4da956f43efdba8cbc46a.tar.gz
freeipa-23781c080bd5ae4a9db4da956f43efdba8cbc46a.tar.xz
freeipa-23781c080bd5ae4a9db4da956f43efdba8cbc46a.zip
Delete the sudoers entry when disabling Schema Compat
https://fedorahosted.org/freeipa/ticket/1160
-rwxr-xr-xinstall/tools/ipa-compat-manage1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/tools/ipa-compat-manage b/install/tools/ipa-compat-manage
index 723950f5d..1203b00aa 100755
--- a/install/tools/ipa-compat-manage
+++ b/install/tools/ipa-compat-manage
@@ -147,6 +147,7 @@ def main():
# Make a quick hack for now, directly delete the entries by name,
# In future we should add delete capabilites to LDAPUpdate
try:
+ conn.delete_entry('cn=sudoers,cn=Schema Compatibility,cn=plugins,cn=config', normalize=False)
conn.delete_entry('cn=groups,cn=Schema Compatibility,cn=plugins,cn=config', normalize=False)
conn.delete_entry('cn=users,cn=Schema Compatibility,cn=plugins,cn=config', normalize=False)
conn.delete_entry('cn=Schema Compatibility,cn=plugins,cn=config', normalize=False)