Re: [SSSD] [PATCH] RESPONDERS: Provide a common sss_cmd_send_error function

2012-02-02 Thread Stephen Gallagher
On Thu, 2012-02-02 at 14:21 +0100, Jakub Hrozek wrote: > This new generic function will be used in the upcoming autofs and ssh > providers to reduce code duplication. Ack and pushed to master. signature.asc Description: This is a digitally signed message part

Re: [SSSD] [PATCH] ConfigAPI: add sudo to known services

2012-02-02 Thread Stephen Gallagher
On Thu, 2012-02-02 at 13:15 +0100, Jakub Hrozek wrote: > https://fedorahosted.org/sssd/ticket/1144 > > This patch should be applied on top of both the timed option patch and > the in-memory cache patch. > > This is also the last sudo patch that changes strings, so I believe that > sudo is feature

Re: [SSSD] [PATCH] SUDO Integration - sudo_timed option for responder

2012-02-02 Thread Stephen Gallagher
On Thu, 2012-02-02 at 12:50 +0100, Jakub Hrozek wrote: > On Tue, Jan 31, 2012 at 08:29:15PM -0500, Stephen Gallagher wrote: > > On Tue, 2012-01-31 at 15:56 +0100, Jakub Hrozek wrote: > > > On Wed, Jan 25, 2012 at 08:23:23PM +0100, Jakub Hrozek wrote: > > > > On Fri, Jan 20, 2012 at 01:22:19PM +0100

Re: [SSSD] [PATCH] SUDO Integration - in-memory cache in responder

2012-02-02 Thread Stephen Gallagher
On Thu, 2012-02-02 at 12:47 +0100, Jakub Hrozek wrote: > The attached patch implements a fast in-memory cache for serving sudo > requests. > > Most of the code was written by Pavel, so I retained the attribution > even though I made a couple of fixes and wrote the man page section. > > https://fe

Re: [SSSD] [PATCH] SUDO: Introduce a new configure option --with-sudo

2012-02-02 Thread Stephen Gallagher
On Thu, 2012-02-02 at 12:36 +0100, Jakub Hrozek wrote: > On Tue, Jan 31, 2012 at 08:28:37PM -0500, Stephen Gallagher wrote: > > On Tue, 2012-01-31 at 16:02 +0100, Jakub Hrozek wrote: > > > We will want to set this option (but perhaps not > > > --enable-all-experimental-features) for F17 to be able

[SSSD] [PATCH] NSS: Add individual timeouts for entry types

2012-02-02 Thread Stephen Gallagher
This patch makes several changes, making the code more manageable by reducing the places we need to look for cache values, as well as improving the granularity of our cache settings. 1) Add four new options: entry_cache_user_timeout, entry_cache_group_timeout, entry_cache_netgroup_timeout and entr

[SSSD] [PATCH] RESPONDERS: Provide a common sss_cmd_send_error function

2012-02-02 Thread Jakub Hrozek
This new generic function will be used in the upcoming autofs and ssh providers to reduce code duplication. From d64f27b06b322f5f456e4b38b74252544b30299a Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 2 Feb 2012 08:44:08 +0100 Subject: [PATCH] RESPONDERS: Provide a common sss_cmd_send_erro

[SSSD] A patched sudo package available for testing

2012-02-02 Thread Jakub Hrozek
Hi, With the patches that landed on the list today, the sudo support in SSSD is finally feature-complete. Rudimentary testing can be performed using the sss_sudo_cli test binary that is built in-tree, but the user needs a patched sudo package to fully test the feature. With Daniel's permission, I

Re: [SSSD] SUDO Integration - in-memory cache

2012-02-02 Thread Jakub Hrozek
On Fri, Jan 27, 2012 at 02:43:55PM +0100, Jakub Hrozek wrote: > Resending, hopefully the mailman issues are gone now.. > > On Fri, Jan 27, 2012 at 11:39:17AM +0100, Jakub Hrozek wrote: > > On Thu, Jan 26, 2012 at 04:35:04PM +0100, Pavel Březina wrote: > > > Dne 25.1.2012 20:50, Jakub Hrozek napsal

[SSSD] [PATCH] ConfigAPI: add sudo to known services

2012-02-02 Thread Jakub Hrozek
https://fedorahosted.org/sssd/ticket/1144 This patch should be applied on top of both the timed option patch and the in-memory cache patch. This is also the last sudo patch that changes strings, so I believe that sudo is feature-ready with this one. From 227a323b714d7cfb30e054f216da8b1b9cd0c3cf M

Re: [SSSD] [PATCH] SUDO Integration - sudo_timed option for responder

2012-02-02 Thread Jakub Hrozek
On Tue, Jan 31, 2012 at 08:29:15PM -0500, Stephen Gallagher wrote: > On Tue, 2012-01-31 at 15:56 +0100, Jakub Hrozek wrote: > > On Wed, Jan 25, 2012 at 08:23:23PM +0100, Jakub Hrozek wrote: > > > On Fri, Jan 20, 2012 at 01:22:19PM +0100, Pavel Březina wrote: > > > > Dne 18.1.2012 10:30, Jakub Hroze

[SSSD] [PATCH] SUDO Integration - in-memory cache in responder

2012-02-02 Thread Jakub Hrozek
The attached patch implements a fast in-memory cache for serving sudo requests. Most of the code was written by Pavel, so I retained the attribution even though I made a couple of fixes and wrote the man page section. https://fedorahosted.org/sssd/ticket/ From 815a7cefd15b2928f3a97c7be9eef2eb

Re: [SSSD] [PATCH] SUDO: Introduce a new configure option --with-sudo

2012-02-02 Thread Jakub Hrozek
On Tue, Jan 31, 2012 at 08:28:37PM -0500, Stephen Gallagher wrote: > On Tue, 2012-01-31 at 16:02 +0100, Jakub Hrozek wrote: > > We will want to set this option (but perhaps not > > --enable-all-experimental-features) for F17 to be able to build the sudo > > library. > > > > https://fedorahosted.or