Lines Matching refs:sdap_access_ctx
221 struct sdap_access_ctx *sdap_access_ctx;
224 sdap_access_ctx = talloc_zero(access_ctx, struct sdap_access_ctx);
225 if (sdap_access_ctx == NULL) {
229 sdap_access_ctx->id_ctx = sdap_id_ctx;
235 sdap_access_ctx->access_rule[0] = LDAP_ACCESS_EXPIRE;
241 sdap_access_ctx->filter = talloc_strdup(sdap_access_ctx, filter);
242 if (sdap_access_ctx->filter == NULL) {
243 talloc_free(sdap_access_ctx);
247 sdap_access_ctx->access_rule[1] = LDAP_ACCESS_FILTER;
248 sdap_access_ctx->access_rule[2] = LDAP_ACCESS_EMPTY;
250 sdap_access_ctx->access_rule[1] = LDAP_ACCESS_EMPTY;
253 access_ctx->sdap_access_ctx = sdap_access_ctx;