Minor fixes for default SMB group

This patch contains additional minor fixes which were proposed during
review but were not pushed (accidentaly). Also amends a name of the
default SMB group in a list of protected groups in group.py.

https://fedorahosted.org/freeipa/ticket/3147
This commit is contained in:
Martin Kosek
2012-10-09 11:03:00 +02:00
parent 19a9376c72
commit 2411377d40
3 changed files with 4 additions and 4 deletions

View File

@@ -238,8 +238,8 @@ class ADTRUSTInstance(service.Service):
try:
self.admin_conn.getEntry(fb_group_dn, ldap.SCOPE_BASE)
except errors.NotFound:
self.print_msg("Failed to add fallback group.")
return
self.print_msg("Failed to add fallback group.")
return
try:
mod = [(ldap.MOD_ADD, self.ATTR_FALLBACK_GROUP, fb_group_dn)]