Re: [SSSD] [PATCHES] KDC proxy related fixes

2015-08-04 Thread Alexander Bokovoy
On Mon, 03 Aug 2015, Christian Heimes wrote: On 2015-07-31 18:19, Sumit Bose wrote: On Fri, Jul 31, 2015 at 11:34:23AM +0200, Sumit Bose wrote: Hi, it turned out that some of the current SSSD behaviour does not fit well if a KDC proxy is configured, see https://fedorahosted.org/sssd/ticket/265

[SSSD] [PATCH] test_memory_cache: Test invalidation with sss_cache

2015-08-04 Thread Lukas Slebodnik
ehlo, attached patches depends on patcehs from the thread[1] "mmap_cache: "Override" functions for initgr mmap cache" LS [1] https://lists.fedorahosted.org/pipermail/sssd-devel/2015-August/024295.html >From 40ba2788f9645af0daa0acdcc569c268891f4578 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik

[SSSD] [PATCH] SSSDConfig: Return correct types in python3

2015-08-04 Thread Lukas Slebodnik
ehlo, attached patch fixes ticket #2699 On other places we do not require to return list by dict.keys(). There were patterns: something in a_dictionary.keys() ", ".join(a_dictionary.keys())) LS >From 952680d95bbc399d965cb09853e326f7f8e99554 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik

[SSSD] [PATCH] intg: Modernize 'except' clauses

2015-08-04 Thread Lukas Slebodnik
ehlo, attached is a simple patch. LS >From 4acc241b2d820bba97dbfe9cbb490885e201449f Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 4 Aug 2015 13:27:22 +0200 Subject: [PATCH 1/2] intg: Modernize 'except' clauses The 'as' syntax works from Python 2 on, and Python 3 dropped the "comma"

Re: [SSSD] [PATCH] SSSDConfig: Return correct types in python3

2015-08-04 Thread Christian Heimes
On 2015-08-04 15:13, Lukas Slebodnik wrote: > ehlo, > > attached patch fixes ticket #2699 > > On other places we do not require to return list by dict.keys(). > There were patterns: > something in a_dictionary.keys() > ", ".join(a_dictionary.keys())) You don't have to call the keys() met

Re: [SSSD] [PATCH] SSSDConfig: Return correct types in python3

2015-08-04 Thread Lukas Slebodnik
On (04/08/15 15:20), Christian Heimes wrote: >On 2015-08-04 15:13, Lukas Slebodnik wrote: >> ehlo, >> >> attached patch fixes ticket #2699 >> >> On other places we do not require to return list by dict.keys(). >> There were patterns: >> something in a_dictionary.keys() >> ", ".join(a_dict

[SSSD] [PATCHSET] LDAP: sanitize group name when used in filter

2015-08-04 Thread Pavel Reichl
Hello, please see 2 simple patches attached. I could not find function to sanitize DN so it could be used as part of filter (sanitize ()*/\...) so I had to write one. sysdb_dn_sanitize is not the right choice, sysdb_dn_sanitize("name=expired-group(2016),cn=groups,cn=LOCAL,cn=sysdb") -> "na

Re: [SSSD] [PATCH] intg: Modernize 'except' clauses

2015-08-04 Thread Christian Heimes
On 2015-08-04 15:16, Lukas Slebodnik wrote: > ehlo, > > attached is a simple patch. ACK signature.asc Description: OpenPGP digital signature ___ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinf

Re: [SSSD] [PATCH] SSSDConfig: Return correct types in python3

2015-08-04 Thread Christian Heimes
On 2015-08-04 15:26, Lukas Slebodnik wrote: > On (04/08/15 15:20), Christian Heimes wrote: >> On 2015-08-04 15:13, Lukas Slebodnik wrote: >>> ehlo, >>> >>> attached patch fixes ticket #2699 >>> >>> On other places we do not require to return list by dict.keys(). >>> There were patterns: >>> som

Re: [SSSD] [PATCH] intg: Modernize 'except' clauses

2015-08-04 Thread Jakub Hrozek
On Tue, Aug 04, 2015 at 04:00:16PM +0200, Christian Heimes wrote: > On 2015-08-04 15:16, Lukas Slebodnik wrote: > > ehlo, > > > > attached is a simple patch. > > ACK > * master: 872aa0d01d1642f9c8fc204d4c33e5c5640c3352 ___ sssd-devel mailing list sssd

Re: [SSSD] [PATCH] SSSDConfig: Return correct types in python3

2015-08-04 Thread Jakub Hrozek
On Tue, Aug 04, 2015 at 04:12:43PM +0200, Christian Heimes wrote: > > Updated patch is attached. > > ACK Thanks a lot for the review! * master: 2ab9822a792e26e9ddb47cbb6bc788a0727c8556 ___ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https

Re: [SSSD] [PATCHES] KDC proxy related fixes

2015-08-04 Thread Jakub Hrozek
On Tue, Aug 04, 2015 at 10:17:58AM +0300, Alexander Bokovoy wrote: > On Mon, 03 Aug 2015, Christian Heimes wrote: > >On 2015-07-31 18:19, Sumit Bose wrote: > >>On Fri, Jul 31, 2015 at 11:34:23AM +0200, Sumit Bose wrote: > >>>Hi, > >>> > >>>it turned out that some of the current SSSD behaviour does

Re: [SSSD] [PATCH] SPEC: Workaround for build with rpm 4.13

2015-08-04 Thread Jakub Hrozek
On Fri, Jul 31, 2015 at 03:39:23PM +0200, Lukas Slebodnik wrote: > ehlo, > > patch is attached. > > LS This fixed the rawhide build in CI: http://sssd-ci.idm.lab.eng.brq.redhat.com:8080/job/ci/2033/ thanks a lot for the patch. ACK. ___ sssd-deve

Re: [SSSD] [PATCH] sudo: use "higher value wins" when ordering rules

2015-08-04 Thread Jakub Hrozek
On Thu, Jul 30, 2015 at 01:05:56PM +0200, Pavel Březina wrote: > https://fedorahosted.org/sssd/ticket/2682 > > I think this option should stay undocumented since we want the users to use > the correct sorting logic. I agree. > From db18a64109d9e49fa8bcdad14f412c6e7159137d Mon Sep 17 00:00:00 200

Re: [SSSD] [PATCH] mmap_cache: "Override" functions for initgr mmap cache

2015-08-04 Thread Michal Židek
On 08/03/2015 02:08 PM, Lukas Slebodnik wrote: On (31/07/15 17:07), Michal Židek wrote: On 07/31/2015 04:54 PM, Michal Židek wrote: On 07/30/2015 05:23 PM, Michal Židek wrote: On 07/30/2015 05:06 PM, Michal Židek wrote: On 07/30/2015 04:15 PM, Lukas Slebodnik wrote: On (29/07/15 17:05), Luka

Re: [SSSD] [PATCH] SSSDConfig: Return correct types in python3

2015-08-04 Thread Lukas Slebodnik
On (04/08/15 16:12), Christian Heimes wrote: >On 2015-08-04 15:26, Lukas Slebodnik wrote: >> On (04/08/15 15:20), Christian Heimes wrote: >>> On 2015-08-04 15:13, Lukas Slebodnik wrote: ehlo, attached patch fixes ticket #2699 On other places we do not require to return list

Re: [SSSD] [PATCH] sudo: use "higher value wins" when ordering rules

2015-08-04 Thread Lukas Slebodnik
On (04/08/15 18:54), Jakub Hrozek wrote: >On Thu, Jul 30, 2015 at 01:05:56PM +0200, Pavel Březina wrote: >> https://fedorahosted.org/sssd/ticket/2682 >> >> I think this option should stay undocumented since we want the users to use >> the correct sorting logic. > >I agree. > >> From db18a64109d9e4