From 3a87621a3eeb76ce6ac3b18877874141c2dc102e Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 14 Aug 2009 13:51:02 -0400 Subject: Always save using member/memberOf First pass to remove the legacy option and make it just a property of the provider --- server/providers/ldap/sdap_async.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/providers') diff --git a/server/providers/ldap/sdap_async.c b/server/providers/ldap/sdap_async.c index 539a0753..57ccd865 100644 --- a/server/providers/ldap/sdap_async.c +++ b/server/providers/ldap/sdap_async.c @@ -1488,6 +1488,11 @@ static void sdap_get_groups_done(struct sdap_op *op, case LDAP_RES_SEARCH_ENTRY: + /* FIXME: we should do this in 2 steps: + * first save groups, then add all memberships + * otherwise nested memberships may go missing + * if the member group is added only after the + * parent group is added */ subreq = sdap_save_group_send(state, state->ev, state->handle, state->opts, state->dom, state->sh, reply); -- cgit