From 8059574092a96396dea64dae13696a7f95b423b1 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 15 Oct 2010 15:09:58 -0400 Subject: Modify sysdb_[add|remove]_group_member to accept users and groups Previously, it assumed that all members were users. This changes the interface so that either a user or a group can be specified. Also, it eliminates the need for a memory context to be passed, since the internal memory should be self-contained. --- src/providers/ldap/sdap_async_accounts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/providers/ldap/sdap_async_accounts.c') diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c index 3ee8a4eac..7b2b3e007 100644 --- a/src/providers/ldap/sdap_async_accounts.c +++ b/src/providers/ldap/sdap_async_accounts.c @@ -2023,6 +2023,7 @@ static void sdap_initgr_rfc2307_process(struct tevent_req *subreq) } ret = sysdb_update_members(state->sysdb, state->dom, state->name, + SYSDB_MEMBER_USER, (const char **)add_groups, (const char **)del_groups); if (ret != EOK) { -- cgit