Re: [SSSD] [PATCHES] SSH: When host is removed from LDAP remove it from the, cache as well

2013-06-27 Thread Jakub Hrozek
On Thu, Jun 27, 2013 at 10:24:31AM +0200, Pavel Březina wrote: > On 06/18/2013 05:07 PM, Jan Cholasta wrote: > >On 12.6.2013 11:46, Pavel Březina wrote: > >>>+if (state->count != 1) { > >>>+ret = sysdb_delete_ssh_host(state->domain->sysdb, > >>>state->domain, > >>>+

Re: [SSSD] [PATCHES] SSH: When host is removed from LDAP remove it from the, cache as well

2013-06-27 Thread Pavel Březina
On 06/18/2013 05:07 PM, Jan Cholasta wrote: On 12.6.2013 11:46, Pavel Březina wrote: +if (state->count != 1) { +ret = sysdb_delete_ssh_host(state->domain->sysdb, state->domain, +state->name); +if (ret != EOK && ret != ENOENT) { +

Re: [SSSD] [PATCHES] SSH: When host is removed from LDAP remove it from the, cache as well

2013-06-18 Thread Jan Cholasta
On 12.6.2013 11:46, Pavel Březina wrote: +if (state->count != 1) { +ret = sysdb_delete_ssh_host(state->domain->sysdb, state->domain, +state->name); +if (ret != EOK && ret != ENOENT) { +goto done; +} + +if (state->

Re: [SSSD] [PATCHES] SSH: When host is removed from LDAP remove it from the, cache as well

2013-06-12 Thread Pavel Březina
On 05/27/2013 05:19 PM, Jan Cholasta wrote: Hi, the attached patches fix . Honza Hi, +if (state->count != 1) { +ret = sysdb_delete_ssh_host(state->domain->sysdb, state->domain, +state->name); +

[SSSD] [PATCHES] SSH: When host is removed from LDAP remove it from the, cache as well

2013-05-27 Thread Jan Cholasta
Hi, the attached patches fix . Honza -- Jan Cholasta >From 99a16294d9b5613fd5244b2b521276c09a066b9b Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Mon, 27 May 2013 17:09:59 +0200 Subject: [PATCH 1/2] SSH: When host is removed from LDAP, remove it f