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) searches. These are

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 a

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 have modified

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 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 enableing it to return

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 sysdb interface for

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) Patch

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 build it

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 sso...@redhat.com Date: Wed, 28 Oct 2009 17:02:45

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

[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:

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 * Red

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.d/* Ah I

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 to

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:

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 is

[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

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 sso...@redhat.com Date: Wed, 28 Oct

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, Inc

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 children.

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 as

[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