mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't delete NIS netgroup compat suffix on 'ipa-nis-manage disable'.
ticket 1469
This commit is contained in:
parent
1dd9e14073
commit
c1f5dadc4e
@ -185,21 +185,6 @@ def main():
|
|||||||
print lde
|
print lde
|
||||||
retval = 1
|
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:
|
else:
|
||||||
retval = 1
|
retval = 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user