[SSSD] [PATCH] start adding an attribute map for generic attributes

2009-10-29 Thread Simo Sorce
While adding infrastructure to use the USN counter for enumerations I found that sdap_id_map is not really a good name as the map represent a generic attribute map. This patch renames the structure and adds some generic infrastructure for non user/group specific attribute mappings. This infrastruc

Re: [SSSD] [PATCH] add sysdb_delete_recursive request to sysdb API

2009-10-29 Thread Sumit Bose
On Thu, Oct 29, 2009 at 09:32:34PM +, Simo Sorce wrote: > On Thu, 2009-10-29 at 19:40 +0100, Sumit Bose wrote: > > On Thu, Oct 29, 2009 at 01:39:21PM +0100, Sumit Bose wrote: > > > Hi, > > > > > > this patch adds a recursive delete request to the sysdb API. It has > > the > > > same interface

Re: [SSSD] [PATCH] add sysdb_delete_recursive request to sysdb API

2009-10-29 Thread Simo Sorce
On Thu, 2009-10-29 at 19:40 +0100, Sumit Bose wrote: > On Thu, Oct 29, 2009 at 01:39:21PM +0100, Sumit Bose wrote: > > Hi, > > > > this patch adds a recursive delete request to the sysdb API. It has > the > > same interface as sysdb_delete_entry, but does not delete the entry, > but > > its childr

Re: [SSSD] [PATCH] Read rootDSE from LDAP server

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 03:12 PM, Simo Sorce wrote: > On Thu, 2009-10-29 at 15:08 -0400, Simo Sorce wrote: >> See git commit comment for a detailed explanation. >> >> This is the first step toward making it possible to fully >> auto-configure ldap/ipa options gi

Re: [SSSD] [PATCH] Clean up warnings in dhash tests

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 02:55 PM, John Dennis wrote: > On 10/29/2009 01:43 PM, Stephen Gallagher wrote: >> Original warnings: >> >> ../../../common/dhash/dhash_test.c: In function ‘main’: >> ../../../common/dhash/dhash_test.c:288: warning: declaration of ‘i’ >>

Re: [SSSD] [PATCH] Slight change for ipa options

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 03:11 PM, Simo Sorce wrote: > On Thu, 2009-10-29 at 14:03 -0400, Stephen Gallagher wrote: >> You forgot to also add ldap_search_base to sssd-ldap.conf > > sigh ... > > > > > > ___ > sssd-d

Re: [SSSD] [PATCH] Read rootDSE from LDAP server

2009-10-29 Thread Simo Sorce
On Thu, 2009-10-29 at 15:08 -0400, Simo Sorce wrote: > See git commit comment for a detailed explanation. > > This is the first step toward making it possible to fully > auto-configure ldap/ipa options given only the server name. Works better with the actual patch ... -- Simo Sorce * Red Hat, I

Re: [SSSD] [PATCH] Slight change for ipa options

2009-10-29 Thread Simo Sorce
On Thu, 2009-10-29 at 14:03 -0400, Stephen Gallagher wrote: > You forgot to also add ldap_search_base to sssd-ldap.conf sigh ... -- Simo Sorce * Red Hat, Inc * New York >From 29cf92397b1b41d540f78b48da694f219a5ce804 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 28 Oct 2009 17:02:45 -040

[SSSD] [PATCH] Read rootDSE from LDAP server

2009-10-29 Thread Simo Sorce
See git commit comment for a detailed explanation. This is the first step toward making it possible to fully auto-configure ldap/ipa options given only the server name. Simo. -- Simo Sorce * Red Hat, Inc * New York ___ sssd-devel mailing list sssd-de

Re: [SSSD] [PATCH] Clean up warnings in dhash tests

2009-10-29 Thread John Dennis
On 10/29/2009 01:43 PM, Stephen Gallagher wrote: > Original warnings: > > ../../../common/dhash/dhash_test.c: In function ‘main’: > ../../../common/dhash/dhash_test.c:288: warning: declaration of ‘i’ > shadows a previous local > ../../../common/dhash/dhash_test.c:115: warning: shadowed declaration

Re: [SSSD] [PATCH] Clean up warnings in dhash tests

2009-10-29 Thread Sumit Bose
On Thu, Oct 29, 2009 at 01:43:06PM -0400, Stephen Gallagher wrote: > Original warnings: > > ../../../common/dhash/dhash_test.c: In function ‘main’: > ../../../common/dhash/dhash_test.c:288: warning: declaration of ‘i’ > shadows a previous local > ../../../common/dhash/dhash_test.c:115: warning: sh

Re: [SSSD] [PATCH] add sysdb_delete_recursive request to sysdb API

2009-10-29 Thread Sumit Bose
On Thu, Oct 29, 2009 at 01:39:21PM +0100, Sumit Bose wrote: > Hi, > > this patch adds a recursive delete request to the sysdb API. It has the > same interface as sysdb_delete_entry, but does not delete the entry, but > its children. > > bye, > Sumit This is a new version of the patch which tries

[SSSD] [PATCH] Make config_file_version a hidden setting in SSSDConfig API

2009-10-29 Thread Stephen Gallagher
The config_file_version should never be changed by the API, so we will hide the option inside the SSSDConfig API and remove it from the schema. -- Stephen Gallagher RHCE 804006346421761 Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/prom

Re: [SSSD] [PATCH] Slight change for ipa options

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 01:59 PM, Simo Sorce wrote: > On Thu, 2009-10-29 at 13:07 -0400, Stephen Gallagher wrote: >> On 10/28/2009 05:12 PM, Simo Sorce wrote: >>> And other changes, see commit message. >>> >> Nack. >> >> Please update /server/config/etc/sssd.api

Re: [SSSD] [PATCH] Slight change for ipa options

2009-10-29 Thread Simo Sorce
On Thu, 2009-10-29 at 13:07 -0400, Stephen Gallagher wrote: > On 10/28/2009 05:12 PM, Simo Sorce wrote: > > And other changes, see commit message. > > > Nack. > > Please update /server/config/etc/sssd.api.d/* Ah I knew I was missing something, add sssd-ipa.conf removals. Simo. -- Simo Sorce *

[SSSD] [PATCH] Clean up warnings in dhash tests

2009-10-29 Thread Stephen Gallagher
Original warnings: ../../../common/dhash/dhash_test.c: In function ‘main’: ../../../common/dhash/dhash_test.c:288: warning: declaration of ‘i’ shadows a previous local ../../../common/dhash/dhash_test.c:115: warning: shadowed declaration is here ../../../common/dhash/dhash_test.c:312: warning: dec

Re: [SSSD] [PATCH] Slight change for ipa options

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/28/2009 05:12 PM, Simo Sorce wrote: > And other changes, see commit message. > > Simo. > > > > > ___ > sssd-devel mailing list > sssd-devel@lists.fedorahosted.org > https://fedorahosted.org/mailman

Re: [SSSD] [PATCH] Slight change for ipa options

2009-10-29 Thread Sumit Bose
On Wed, Oct 28, 2009 at 05:12:59PM -0400, Simo Sorce wrote: > And other changes, see commit message. > > Simo. > > -- > Simo Sorce * Red Hat, Inc * New York > >From 1b8814820fad2d6e399af0a5f93713312b64d28d Mon Sep 17 00:00:00 2001 > From: Simo Sorce > Date: Wed, 28 Oct 2009 17:02:45 -0400 > Su

Re: [SSSD] [PATCHES] Collection and ELAPI patches

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 11:24 AM, Dmitri Pal wrote: > Stephen Gallagher wrote: >> On 10/25/2009 11:25 PM, Dmitri Pal wrote: >>> See comments in the patches. >>> Patch 1: Improvements to trace macro >>> Patch 2: New object - dynamic array with reference count (to

Re: [SSSD] [PATCHES] Collection and ELAPI patches

2009-10-29 Thread Dmitri Pal
Stephen Gallagher wrote: > On 10/25/2009 11:25 PM, Dmitri Pal wrote: > > See comments in the patches. > > Patch 1: Improvements to trace macro > > Patch 2: New object - dynamic array with reference count (to build it do > > it inside its directory it is not hooked to the build tree in this > patch)

Re: [SSSD] [PATCH] added a ASQ search API for sysdb

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 08:36 AM, Stephen Gallagher wrote: > On 10/27/2009 12:45 PM, Sumit Bose wrote: >> On Tue, Oct 27, 2009 at 10:27:40AM -0400, Simo Sorce wrote: >>> On Mon, 2009-10-26 at 17:43 +0100, Sumit Bose wrote: Hi, this patch adds a sy

Re: [SSSD] [PATCH] Allow sysdb_search_entry request to return more than one result

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 10:50 AM, Stephen Gallagher wrote: > On 10/29/2009 10:02 AM, Sumit Bose wrote: >> On Thu, Oct 29, 2009 at 09:15:23AM -0400, Stephen Gallagher wrote: >> On 10/28/2009 02:55 PM, Sumit Bose wrote: > Hi, > > this patch makes the s

Re: [SSSD] [PATCH] Allow sysdb_search_entry request to return more than one result

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/29/2009 10:02 AM, Sumit Bose wrote: > On Thu, Oct 29, 2009 at 09:15:23AM -0400, Stephen Gallagher wrote: > On 10/28/2009 02:55 PM, Sumit Bose wrote: Hi, this patch makes the sysdb_search_entry request more flexible by enablein

Re: [SSSD] [PATCHES] Collection and ELAPI patches

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/25/2009 11:25 PM, Dmitri Pal wrote: > See comments in the patches. > Patch 1: Improvements to trace macro > Patch 2: New object - dynamic array with reference count (to build it do > it inside its directory it is not hooked to the build tree in

Re: [SSSD] [PATCH] Allow sysdb_search_entry request to return more than one result

2009-10-29 Thread Sumit Bose
On Thu, Oct 29, 2009 at 09:15:23AM -0400, Stephen Gallagher wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/28/2009 02:55 PM, Sumit Bose wrote: > > Hi, > > > > this patch makes the sysdb_search_entry request more flexible by > > enableing it to return more than one result. I ha

Re: [SSSD] [PATCH] Allow sysdb_search_entry request to return more than one result

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/28/2009 02:55 PM, Sumit Bose wrote: > Hi, > > this patch makes the sysdb_search_entry request more flexible by > enableing it to return more than one result. I have modified the current > callers so that they only take the first result and send

[SSSD] [PATCH] add sysdb_delete_recursive request to sysdb API

2009-10-29 Thread Sumit Bose
Hi, this patch adds a recursive delete request to the sysdb API. It has the same interface as sysdb_delete_entry, but does not delete the entry, but its children. bye, Sumit >From 79f5080842b28303d3061d49a2cf469ed7119928 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 29 Oct 2009 12:57:57 +

Re: [SSSD] [PATCH] added a ASQ search API for sysdb

2009-10-29 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/27/2009 12:45 PM, Sumit Bose wrote: > On Tue, Oct 27, 2009 at 10:27:40AM -0400, Simo Sorce wrote: >> On Mon, 2009-10-26 at 17:43 +0100, Sumit Bose wrote: >>> Hi, >>> >>> this patch adds a sysdb interface for ASQ (attribute scoped query) >>> searc