Hi,

the attached patch fixes <https://fedorahosted.org/freeipa/ticket/5212>.

Honza

--
Jan Cholasta
From 6d6a8bc20fc83788b14696ad731ed0dd579acf30 Mon Sep 17 00:00:00 2001
From: Jan Cholasta <jchol...@redhat.com>
Date: Tue, 18 Aug 2015 21:11:52 +0200
Subject: [PATCH] vault: Fix vault-find with criteria

https://fedorahosted.org/freeipa/ticket/5212
---
 ipalib/plugins/vault.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipalib/plugins/vault.py b/ipalib/plugins/vault.py
index 4d430ee..ff021a6 100644
--- a/ipalib/plugins/vault.py
+++ b/ipalib/plugins/vault.py
@@ -802,7 +802,7 @@ class vault_find(LDAPSearch):
             raise errors.InvocationError(
                 format=_('KRA service is not enabled'))
 
-        base_dn = self.obj.get_dn(*args, **options)
+        base_dn = self.obj.get_dn(None, **options)
 
         return (filter, base_dn, scope)
 
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to