Re: [SSSD] [PATCH] IPA: Fix SELinux mapping order memory hierarchy

2014-04-03 Thread Sumit Bose
On Wed, Apr 02, 2014 at 10:29:15PM +0200, Jakub Hrozek wrote: Hi, please see the attached patch that fixes a use-after-free bug in the SELinux provider. Pair-Programmed-With: lsleb...@redhat.com The patch solves the issue, but I think the issue was there in the first place, because the

Re: [SSSD] [PATCH] IPA: Fix SELinux mapping order memory hierarchy

2014-04-03 Thread Jakub Hrozek
On Thu, Apr 03, 2014 at 09:45:46AM +0200, Sumit Bose wrote: On Wed, Apr 02, 2014 at 10:29:15PM +0200, Jakub Hrozek wrote: Hi, please see the attached patch that fixes a use-after-free bug in the SELinux provider. Pair-Programmed-With: lsleb...@redhat.com The patch solves the

Re: [SSSD] [PATCH] IPA: Fix SELinux mapping order memory hierarchy

2014-04-03 Thread Sumit Bose
On Thu, Apr 03, 2014 at 12:58:03PM +0200, Jakub Hrozek wrote: On Thu, Apr 03, 2014 at 09:45:46AM +0200, Sumit Bose wrote: On Wed, Apr 02, 2014 at 10:29:15PM +0200, Jakub Hrozek wrote: Hi, please see the attached patch that fixes a use-after-free bug in the SELinux provider.

Re: [SSSD] [PATCH] IPA: Fix SELinux mapping order memory hierarchy

2014-04-03 Thread Jakub Hrozek
On Thu, Apr 03, 2014 at 01:25:04PM +0200, Sumit Bose wrote: On Thu, Apr 03, 2014 at 12:58:03PM +0200, Jakub Hrozek wrote: On Thu, Apr 03, 2014 at 09:45:46AM +0200, Sumit Bose wrote: On Wed, Apr 02, 2014 at 10:29:15PM +0200, Jakub Hrozek wrote: Hi, please see the attached patch

[SSSD] [PATCH] AUTOFS: terminate array after the last entry

2014-04-03 Thread Lukas Slebodnik
ehlo, If LDAP entries have more then one attribute automountKey automount map will be skipped and error message will be printed to log files and sssd_be will crash. DEBUG(SSSDBG_MINOR_FAILURE, Malformed entry, skipping\n); The output array with automount maps will contain uninitialized

Re: [SSSD] [PATCH] IPA: Fix SELinux mapping order memory hierarchy

2014-04-03 Thread Jakub Hrozek
On Thu, Apr 03, 2014 at 05:13:19PM +0200, Jakub Hrozek wrote: On Thu, Apr 03, 2014 at 01:25:04PM +0200, Sumit Bose wrote: On Thu, Apr 03, 2014 at 12:58:03PM +0200, Jakub Hrozek wrote: On Thu, Apr 03, 2014 at 09:45:46AM +0200, Sumit Bose wrote: On Wed, Apr 02, 2014 at 10:29:15PM +0200,

Re: [SSSD] [PATCH] Re-add the InfoPipe server plumbing

2014-04-03 Thread Jakub Hrozek
On Fri, Mar 28, 2014 at 12:45:01PM +0100, Pavel Březina wrote: On 03/23/2014 10:08 PM, Jakub Hrozek wrote: Hi, I've been working on re-adding a public DBus API to SSSD lately, based on Stephen's InfoPipe code. While I'm not finished yet, the interface is also important to Pavel's OpenLMI

Re: [SSSD] [PATCH] krb5_child: Fix use after free

2014-04-03 Thread Jakub Hrozek
On Thu, Mar 20, 2014 at 05:53:31PM +0100, Lukas Slebodnik wrote: On (20/03/14 17:21), Jakub Hrozek wrote: On Thu, Mar 20, 2014 at 05:00:00PM +0100, Sumit Bose wrote: On Thu, Mar 20, 2014 at 04:20:59PM +0100, Lukas Slebodnik wrote: ehlo, debug_prg_name is used in debug_fn and it was

Re: [SSSD] [PATCH 1/1] Remove --with-distro-version

2014-04-03 Thread Jakub Hrozek
On Thu, Mar 20, 2014 at 10:08:20AM +0100, Lukas Slebodnik wrote: On (19/03/14 19:35), Nikolai Kondrashov wrote: Hi Lukas, On 03/19/2014 04:21 PM, Lukas Slebodnik wrote: On (19/03/14 14:59), Nikolai Kondrashov wrote: Remove support for --with-distro-version configure option as unused. The

[SSSD] Move a couple of tickets from 1.11.x

2014-04-03 Thread Jakub Hrozek
Hi, for some reason several low-priority tickets ended up in 1.11.x. In retrospective, I don't think they need to be in the stable branch and I'd like to move them out. See below: 1) https://fedorahosted.org/sssd/ticket/2236 - The cleanup task has no DEBUG statements - This was supposed to

[SSSD] having trouble linking with libsamba-security (but only sometimes)

2014-04-03 Thread Yassir Elley
Hi all, I have been using a samba function (string_to_sid) in my gpo code and have had no trouble so far compiling and linking my libsss_ad.so gpo code. I simply needed to apply the following patches, which includes having to declare the string_to_sid function before it is used in the file.

[SSSD] SSSD ticket #2214

2014-04-03 Thread Michal Židek
Hello, I was looking at https://fedorahosted.org/sssd/ticket/2214 I did not know about C being that paranoid with nested pointers to const data when passed as function arguments (I probably don't use const as often as I should, so I never bumped into this problem before). Good explanation on