[SSSD] remove nisNetgroupTriple or memberNisNetgroup from server bug sssd did not reflect it.

Stephen Gallagher sgallagh at redhat.com
Mon Jan 16 12:40:53 UTC 2012


On Mon, 2012-01-16 at 16:48 +0800, Joe Jin wrote:
> On 01/07/12 06:39, Dmitri Pal wrote:
> > Do not have a code in front of me that this sounds like a bug in the
> > error handling of the empty list.
> > It seems that if the list is not empty the cache is reconciled by if the
> > content of the netgroup is empty it chooses a different code path rather
> > than reconciling the content of the group.
> > 
> > Stephen, Jakub can you please check my theory?
> 
> I tried to call sysdb_remove_attrs() in either sysdb_add_netgroup() or sdap_save_netgroup(),
> when the attr empty, but always return FAILED, any comments?
> 

What was the failure error code? Also, did you use SYSDB_MOD_REPLACE or
SYSDB_MOD_DEL? The latter is probably what you were looking for.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120116/8b79678f/attachment.sig>


More information about the sssd-devel mailing list