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.