Delete the sudoers entry when disabling Schema Compat
https://fedorahosted.org/freeipa/ticket/1160
This commit is contained in:
1 parent
e0f62248c7
commit
23781c080b
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user