diff options
-rw-r--r-- | install/share/default-smb-group.ldif | 2 | ||||
-rw-r--r-- | ipalib/plugins/group.py | 2 | ||||
-rw-r--r-- | ipaserver/install/adtrustinstance.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/install/share/default-smb-group.ldif b/install/share/default-smb-group.ldif index 8d89f67cc..abcc8a945 100644 --- a/install/share/default-smb-group.ldif +++ b/install/share/default-smb-group.ldif @@ -1,7 +1,7 @@ dn: cn=Default SMB Group,cn=groups,cn=accounts,$SUFFIX changetype: add cn: Default SMB Group -description: Fallback group for primary group RID, do not add user to this group +description: Fallback group for primary group RID, do not add users to this group gidnumber: 999 objectclass: top objectclass: ipaobject diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py index 1611e422b..a174ba62c 100644 --- a/ipalib/plugins/group.py +++ b/ipalib/plugins/group.py @@ -107,7 +107,7 @@ Example: ipa group-add-member ad_admins --groups ad_admins_external """) -PROTECTED_GROUPS = (u'admins', u'trust admins', u'default_smb_group') +PROTECTED_GROUPS = (u'admins', u'trust admins', u'default smb group') class group(LDAPObject): """ diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py index 41030223d..d86f9f514 100644 --- a/ipaserver/install/adtrustinstance.py +++ b/ipaserver/install/adtrustinstance.py @@ -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)] |