[SSSD] [PATCH] add store/search/delete interface for custom sysdb objects

Simo Sorce ssorce at redhat.com
Tue Oct 20 23:46:02 UTC 2009


On Mon, 2009-10-19 at 16:42 +0200, Sumit Bose wrote:
> Hi,
> 
> this patch adds a store/search/delete sysdb API for data not related
> to
> users of groups. The data is stored in cn=custom,cn=domain,cn=sysdb.
> The
> client must specify a subtree_name and an object_name to save the data
> in cn=object_name,cn=subtree_name,cn=custom,cn=domain,cn=sysdb.
> 
> Please have a look at the sysdb_check_handle_* request, too. I think
> it
> makes the code more readable and helps to reduce code duplications.

Why are you deleting and re-adding the entry in custom store ?
Why not just replace the attributes you want to set ?

Simo.




More information about the sssd-devel mailing list