ipa_subdomains_ext_groups.c revision b3292840ebaa747a9fd596ff47cc5d18198361d0
1008N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
2371N/A#include "providers/ldap/ldap_common.h"
1008N/A#include "providers/ldap/sdap_async.h"
1008N/A#include "providers/ipa/ipa_subdomains.h"
2371N/Astruct ipa_ext_groups {
2371N/A for (g = 0; g < reply_count; g++) {
goto done;
goto done;
done:
return ret;
char **groups,
bool *missing_groups)
size_t c;
char *subfilter;
int ret;
*missing_groups = false;
return ENOMEM;
goto done;
groups[c]));
*missing_groups = true;
goto done;
goto done;
goto done;
groups[c]);
goto done;
goto done;
done:
return ret;
char **groups,
struct get_ad_membership_state {
char *user_name;
int dp_error;
const char *domain;
int *dp_error_out);
const char *domain)
int ret;
return NULL;
goto done;
goto done;
goto done;
struct ipa_ext_groups);
goto done;
goto done;
return req;
goto done;
goto done;
return req;
done:
return req;
struct tevent_req);
struct get_ad_membership_state);
int ret;
char *basedn;
goto fail;
goto fail;
goto fail;
fail:
struct tevent_req);
struct get_ad_membership_state);
int ret;
goto fail;
goto fail;
fail:
struct get_ad_membership_state);
int ret;
goto fail;
return EOK;
goto fail;
return EAGAIN;
fail:
return ret;
struct tevent_req);
struct get_ad_membership_state);
int ret;
struct get_ad_membership_state);
if (dp_error_out) {
return EOK;
struct add_ad_membership_state {
char **groups;
int dp_error;
char **groups,
int ret;
bool missing_groups = false;
return NULL;
goto done;
goto done;
if (!missing_groups) {
goto done;
goto done;
goto done;
return req;
done:
return req;
struct tevent_req);
struct add_ad_membership_state);
int ret;
struct add_ad_membership_state);
int ret;
bool missing_groups;
goto fail;
if (missing_groups) {
goto fail;
goto fail;
fail:
struct tevent_req);
struct add_ad_membership_state);
int ret;
int *dp_error_out)
struct add_ad_membership_state);
if (dp_error_out) {
return EOK;