[SSSD] [PATCH] LDAP: Fix leak of file descriptors

Lukas Slebodnik lslebodn at redhat.com
Tue Nov 3 06:43:10 UTC 2015


On (22/10/15 13:47), Lukas Slebodnik wrote:
>ehlo,
>
>Details are in commit message. BTW it would be good to have at least two
>reviews.
>
>Reproducer which I used for https://fedorahosted.org/sssd/ticket/2792:
>
>Setup:
>* two active directories with sites; so sometimes sssd connect to server A
>  and sometims to server B.
>* block connection to one server
>
>[root at host sssd]# iptables -n -L
>Chain INPUT (policy ACCEPT)
>target     prot opt source               destination         
>
>Chain FORWARD (policy ACCEPT)
>target     prot opt source               destination         
>
>Chain OUTPUT (policy ACCEPT)
>target     prot opt source               destination         
>DROP       tcp  --  0.0.0.0/0            10.12.0.158          tcp dpt:389
>  
>
>* force sssd to go offline (-USR1) and online (-USR2)
>
>You might be able to reproduce ti even with plan LDAP.
>It might help if set value of options that
>  dns_resolver_timeout < ldap_network_timeout
>
>Do you have an idea how to test such fd leak?
> (either using cmocka or integration tests)
>
>LS

>From 8cb857694f0a6f48b63eee50fe6b03dd3820c28e Mon Sep 17 00:00:00 2001
>From: Lukas Slebodnik <lslebodn at redhat.com>
>Date: Thu, 22 Oct 2015 10:30:12 +0200
>Subject: [PATCH] LDAP: Fix leak of file descriptors
>
bump

LS


More information about the sssd-devel mailing list