Don't delete NIS netgroup compat suffix on 'ipa-nis-manage disable'.

ticket 1469
This commit is contained in:
Jan Cholasta 2011-07-18 16:43:35 +02:00 committed by Martin Kosek
parent 1dd9e14073
commit c1f5dadc4e

View File

@ -185,21 +185,6 @@ def main():
print lde
retval = 1
# delete the netgroups compat area.
try:
conn.delete_entry('cn=ng,cn=Schema Compatibility,cn=plugins,cn=config', normalize=False)
except errors.NotFound:
pass
except errors.DatabaseError, dbe:
print "An error occurred while talking to the server."
print dbe
retval = 1
except errors.ExecutionError, lde:
print "An error occurred while talking to the server."
print lde
retval = 1
else:
retval = 1