Re: [Freeipa-devel] [PATCH 475] vault: Fix vault-find with criteria

2015-08-19 Thread Petr Vobornik

On 08/18/2015 09:23 PM, Jan Cholasta wrote:

Hi,

the attached patch fixes .

Honza




ACK

Pushed to:
master: 29cee7a4bc5a6d2506e7937c982339274fa0edb4
ipa-4-2: 9d32bcafab0f7fa35ae089bff0a5001e2406767d
--
Petr Vobornik

--
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


[Freeipa-devel] [PATCH 475] vault: Fix vault-find with criteria

2015-08-18 Thread Jan Cholasta

Hi,

the attached patch fixes .

Honza

--
Jan Cholasta
From 6d6a8bc20fc83788b14696ad731ed0dd579acf30 Mon Sep 17 00:00:00 2001
From: Jan Cholasta 
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