590d18
From a97b7c5bd372c7a581c440564f4e9d6f3c12a3ea Mon Sep 17 00:00:00 2001
590d18
From: Jan Cholasta <jcholast@redhat.com>
590d18
Date: Tue, 18 Aug 2015 21:11:52 +0200
590d18
Subject: [PATCH] vault: Fix vault-find with criteria
590d18
590d18
https://fedorahosted.org/freeipa/ticket/5212
590d18
590d18
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
590d18
---
590d18
 ipalib/plugins/vault.py | 2 +-
590d18
 1 file changed, 1 insertion(+), 1 deletion(-)
590d18
590d18
diff --git a/ipalib/plugins/vault.py b/ipalib/plugins/vault.py
590d18
index 4d430ee88658e7ba7f2863ca4ef1e8672e298923..ff021a6a2106b6bcbd690b50bf58e49249e80500 100644
590d18
--- a/ipalib/plugins/vault.py
590d18
+++ b/ipalib/plugins/vault.py
590d18
@@ -802,7 +802,7 @@ class vault_find(LDAPSearch):
590d18
             raise errors.InvocationError(
590d18
                 format=_('KRA service is not enabled'))
590d18
 
590d18
-        base_dn = self.obj.get_dn(*args, **options)
590d18
+        base_dn = self.obj.get_dn(None, **options)
590d18
 
590d18
         return (filter, base_dn, scope)
590d18
 
590d18
-- 
590d18
2.4.3
590d18