From ba76a9c431600ba36194242fdfac982306d55192 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Wed, 10 Apr 2013 09:00:42 +0200 Subject: Fix trustconfig-mod primary group error As find_entry_by_attr no longer adds $SUFFIX to searched base DN, trustconfig-mod could not find POSIX group to when validating the new ipantfallbackprimarygroup value. This patch fixes this regression. --- ipalib/plugins/trust.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/trust.py') diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py index 7733d9b15..a252ad632 100644 --- a/ipalib/plugins/trust.py +++ b/ipalib/plugins/trust.py @@ -623,7 +623,7 @@ class trustconfig(LDAPObject): group, ['posixgroup'], [''], - self.api.Object['group'].container_dn) + DN(api.env.container_group, api.env.basedn)) except errors.NotFound: self.api.Object['group'].handle_not_found(group) else: -- cgit