summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/trust.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-04-10 09:00:42 +0200
committerMartin Kosek <mkosek@redhat.com>2013-04-10 09:08:10 +0200
commitba76a9c431600ba36194242fdfac982306d55192 (patch)
tree9480238d5e49cb2e640ed66689fdf5e7574f7346 /ipalib/plugins/trust.py
parenta8341965c0f6f53609d1ace83ed6e5ef95619dc8 (diff)
downloadfreeipa-ba76a9c431600ba36194242fdfac982306d55192.tar.gz
freeipa-ba76a9c431600ba36194242fdfac982306d55192.tar.xz
freeipa-ba76a9c431600ba36194242fdfac982306d55192.zip
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.
Diffstat (limited to 'ipalib/plugins/trust.py')
-rw-r--r--ipalib/plugins/trust.py2
1 files changed, 1 insertions, 1 deletions
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: