[SSSD] [PATCH] more fixes for older libpcre versions

2009-09-09 Thread Sumit Bose
Hi, older versions of libpcre only support the Python naming style, ?Pname, for subpatterns. This patch changes our default pattern and adds some hints about this. bye, Sumit From d5730a503f6d923c1cc21b27d7693a496e13e054 Mon Sep 17 00:00:00 2001 From: sbose sb...@sles10.site Date: Wed, 9 Sep

[SSSD] [PATCH] Cleanups for library linking

2009-09-09 Thread Sumit Bose
Hi, I think the LDAP provider should link agains a LDAP library. So far it only worked, because sssd_be exports all symbols and links against libldb which links against libldap. bye, Sumit From 911e1f245e00b95621d1d21e43c688e8973ceb12 Mon Sep 17 00:00:00 2001 From: sbose sb...@sles10.site Date:

Re: [SSSD] [PATCH] more fixes for older libpcre versions

2009-09-09 Thread Simo Sorce
On Wed, 2009-09-09 at 13:23 +0200, Sumit Bose wrote: Hi, older versions of libpcre only support the Python naming style, ?Pname, for subpatterns. This patch changes our default pattern and adds some hints about this. Ack. -- Simo Sorce * Red Hat, Inc * New York

Re: [SSSD] [PATCH] Add support for the EntryCacheNoWaitRefreshTimeout

2009-09-09 Thread Stephen Gallagher
On 09/09/2009 07:50 AM, Sumit Bose wrote: On Tue, Sep 08, 2009 at 08:32:55PM -0400, Stephen Gallagher wrote: I have refactored nsssrv_cmd.c and created a new patch for the EntryCacheNoWaitRefreshTimeout. I have created a new function, check_cache() which is a common entry point for getpwnam,

Re: [SSSD] [PATCH] Cleanups for library linking

2009-09-09 Thread Simo Sorce
On Wed, 2009-09-09 at 14:19 +0200, Sumit Bose wrote: Hi, I think the LDAP provider should link agains a LDAP library. So far it only worked, because sssd_be exports all symbols and links against libldb which links against libldap. Absolutely, full ack! Simo. -- Simo Sorce * Red Hat, Inc

Re: [SSSD] [PATCH] Add support for the EntryCacheNoWaitRefreshTimeout

2009-09-09 Thread Sumit Bose
On Wed, Sep 09, 2009 at 08:25:19AM -0400, Stephen Gallagher wrote: On 09/09/2009 07:50 AM, Sumit Bose wrote: On Tue, Sep 08, 2009 at 08:32:55PM -0400, Stephen Gallagher wrote: I have refactored nsssrv_cmd.c and created a new patch for the EntryCacheNoWaitRefreshTimeout. I have created a

Re: [SSSD] [PATCH] Add support for the EntryCacheNoWaitRefreshTimeout

2009-09-09 Thread Sumit Bose
On Tue, Sep 08, 2009 at 08:32:55PM -0400, Stephen Gallagher wrote: I have refactored nsssrv_cmd.c and created a new patch for the EntryCacheNoWaitRefreshTimeout. I have created a new function, check_cache() which is a common entry point for getpwnam, getpwuid, getgrnam and getgrgid to

Re: [SSSD] [PATCH] Add support for the EntryCacheNoWaitRefreshTimeout

2009-09-09 Thread Stephen Gallagher
On 09/09/2009 08:46 AM, Sumit Bose wrote: On Tue, Sep 08, 2009 at 08:32:55PM -0400, Stephen Gallagher wrote: I have refactored nsssrv_cmd.c and created a new patch for the EntryCacheNoWaitRefreshTimeout. I have created a new function, check_cache() which is a common entry point for getpwnam,

Re: [SSSD] [PATCH] more fixes for older libpcre versions

2009-09-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/09/2009 08:21 AM, Simo Sorce wrote: On Wed, 2009-09-09 at 13:23 +0200, Sumit Bose wrote: Hi, older versions of libpcre only support the Python naming style, ?Pname, for subpatterns. This patch changes our default pattern and adds some

Re: [SSSD] [PATCH] Cleanups for library linking

2009-09-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/09/2009 08:36 AM, Simo Sorce wrote: On Wed, 2009-09-09 at 14:19 +0200, Sumit Bose wrote: Hi, I think the LDAP provider should link agains a LDAP library. So far it only worked, because sssd_be exports all symbols and links against libldb

Re: [SSSD] [PATCH] COLLECTION Copy collection flat with concatenated names

2009-09-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/08/2009 09:25 AM, Dmitri Pal wrote: I am unclear about couple things here: a) Is my solution acceptable for the given situation? b) If not what is the preferred solution? c) What is different about the given typecast and why this typecast

Re: [SSSD] [PATCH] Add support for the EntryCacheNoWaitRefreshTimeout

2009-09-09 Thread Sumit Bose
On Wed, Sep 09, 2009 at 08:58:54AM -0400, Stephen Gallagher wrote: On 09/09/2009 08:46 AM, Sumit Bose wrote: On Tue, Sep 08, 2009 at 08:32:55PM -0400, Stephen Gallagher wrote: I have refactored nsssrv_cmd.c and created a new patch for the EntryCacheNoWaitRefreshTimeout. I have created a

Re: [SSSD] [PATCH] Add support for the EntryCacheNoWaitRefreshTimeout

2009-09-09 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/09/2009 09:27 AM, Sumit Bose wrote: On Wed, Sep 09, 2009 at 08:58:54AM -0400, Stephen Gallagher wrote: On 09/09/2009 08:46 AM, Sumit Bose wrote: On Tue, Sep 08, 2009 at 08:32:55PM -0400, Stephen Gallagher wrote: I have refactored

[SSSD] [PATCHES] Handle invalid domain configuration better

2009-09-09 Thread Stephen Gallagher
Patch 0001: Ensure that daemonization happens after reading in the configuration, so critical configuration errors repord FAILED during init script startup. Patch 0002: Ensure that the minId and maxId values are sensible (minId maxId, neither 0) -- Stephen Gallagher RHCE 804006346421761

[SSSD] [PATCH] Update manpage with new enumerate syntax

2009-09-09 Thread Stephen Gallagher
$SUBJECT -- Stephen Gallagher RHCE 804006346421761 Looking to carve out IT costs? www.redhat.com/carveoutcosts/ From 8b65da1c2d0d196978e96e11b48f1ecf640dd423 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher sgall...@redhat.com Date: Wed, 9 Sep 2009 13:12:03 -0400 Subject: [PATCH 3/3] Update

Re: [SSSD] [PATCHES] Handle invalid domain configuration better

2009-09-09 Thread Simo Sorce
On Wed, 2009-09-09 at 13:33 -0400, Stephen Gallagher wrote: Patch 0001: Ensure that daemonization happens after reading in the configuration, so critical configuration errors repord FAILED during init script startup. Nack, monitor_process_init() performs a number of operations (like forking

Re: [SSSD] [PATCHES] Handle invalid domain configuration better

2009-09-09 Thread Dmitri Pal
Simo Sorce wrote: On Wed, 2009-09-09 at 13:33 -0400, Stephen Gallagher wrote: Patch 0001: Ensure that daemonization happens after reading in the configuration, so critical configuration errors repord FAILED during init script startup. Nack, monitor_process_init() performs a number

Re: [SSSD] [PATCHES] Handle invalid domain configuration better

2009-09-09 Thread Simo Sorce
On Wed, 2009-09-09 at 14:25 -0400, Dmitri Pal wrote: Simo Sorce wrote: On Wed, 2009-09-09 at 13:33 -0400, Stephen Gallagher wrote: Patch 0001: Ensure that daemonization happens after reading in the configuration, so critical configuration errors repord FAILED during init script

[SSSD] [PATCH] fix offline detection for ldap driver

2009-09-09 Thread Simo Sorce
fix offline handling in ldap driver and make enumeration task respect offline as well as mark as offline when needed. Simo. -- Simo Sorce * Red Hat, Inc * New York From 29572e04b662076e0f463a1ebe1387e6216e2753 Mon Sep 17 00:00:00 2001 From: Simo Sorce sso...@redhat.com Date: Wed, 9 Sep 2009