Re: [SSSD] [PATCH] DP: Refactor responder_dp_req so it's reusable by other responders

2012-01-22 Thread Stephen Gallagher
On Sun, 2012-01-22 at 22:08 +0100, Jakub Hrozek wrote: > A number of new responders is currently being developed in addition to > the existing NSS and PAM responders that only deal with accounts. The > new responders often deal with different data such as automounter maps > or sudoer rules. It is p

Re: [SSSD] [PATCH] SUDO: Provide a sudo DP request based on the internal_req

2012-01-22 Thread Stephen Gallagher
On Sun, 2012-01-22 at 22:14 +0100, Jakub Hrozek wrote: > The attached patch requires the DP refactoring patch. It contains a > sudo-specific DP request. > > A patch that actually uses the request in the sudo responder is being > tested now, but I wanted to get an early response on the approach.

Re: [SSSD] [PATCH] DP: Refactor responder_dp_req so it's reusable by other responders

2012-01-22 Thread Stephen Gallagher
On Sun, 2012-01-22 at 22:08 +0100, Jakub Hrozek wrote: > A number of new responders is currently being developed in addition to > the existing NSS and PAM responders that only deal with accounts. The > new responders often deal with different data such as automounter maps > or sudoer rules. It is p

Re: [SSSD] [PATCH] SUDO: Provide documentation for the SUDO API

2012-01-22 Thread Stephen Gallagher
On Sun, 2012-01-22 at 20:34 +0100, Jakub Hrozek wrote: > On Sat, Jan 21, 2012 at 05:12:49PM -0500, Stephen Gallagher wrote: > > On Thu, 2012-01-19 at 13:51 +0100, Jakub Hrozek wrote: > > > [PATCH 1/2] HBAC docs: Fix path to libipa_hbac header file > > > I noticed the HBAC docs directory contained j

[SSSD] [PATCH] SUDO: Provide a sudo DP request based on the internal_req

2012-01-22 Thread Jakub Hrozek
The attached patch requires the DP refactoring patch. It contains a sudo-specific DP request. A patch that actually uses the request in the sudo responder is being tested now, but I wanted to get an early response on the approach. >From 7d42b1d95533aa2e66c7ffb8454f0cda62068397 Mon Sep 17 00:00:00

[SSSD] [PATCH] DP: Refactor responder_dp_req so it's reusable by other responders

2012-01-22 Thread Jakub Hrozek
A number of new responders is currently being developed in addition to the existing NSS and PAM responders that only deal with accounts. The new responders often deal with different data such as automounter maps or sudoer rules. It is prudent to let these responders communicate with back ends using

Re: [SSSD] [PATCH] SUDO: Provide documentation for the SUDO API

2012-01-22 Thread Jakub Hrozek
On Sat, Jan 21, 2012 at 05:12:49PM -0500, Stephen Gallagher wrote: > On Thu, 2012-01-19 at 13:51 +0100, Jakub Hrozek wrote: > > [PATCH 1/2] HBAC docs: Fix path to libipa_hbac header file > > I noticed the HBAC docs directory contained just a stub index.html > > > > [PATCH 2/2] SUDO: Provide docume

Re: [SSSD] [PATCH] LDAP: Improve debugging for sdap_parse_deref

2012-01-22 Thread Jakub Hrozek
On Fri, Jan 20, 2012 at 10:44:16AM -0500, Stephen Gallagher wrote: > Move the debug statement identifying the DN to an earlier line, so > if we get a reply with no attributes, we know which entry is at > fault. Ack ___ sssd-devel mailing list sssd-devel

Re: [SSSD] [PATCH] DP: Fix bugs in sss_dp_get_account_int

2012-01-22 Thread Jakub Hrozek
On Sat, Jan 21, 2012 at 12:41:44PM -0500, Stephen Gallagher wrote: > On Sat, 2012-01-21 at 12:19 -0500, Stephen Gallagher wrote: > > The conversion to the tevent_req style introduced numerous bugs > > related to memory management of the various client requests. In > > some circumstances, this could