ipa_hbac_common.c revision 64d8e2df816323a004bf6e7e9d05ba373b9e033d
4726N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
6027N/A#include "providers/ipa/ipa_hbac_private.h"
4726N/A#include "providers/ipa/ipa_hbac.h"
4726N/A#include "providers/ipa/ipa_common.h"
4726N/A const char *object_name;
4726N/A if (delete_subdir) {
goto done;
goto done;
goto done;
done:
return ret;
bool in_transaction = false;
return EINVAL;
goto done;
in_transaction = true;
goto done;
if (group_count > 0) {
goto done;
goto done;
in_transaction = false;
done:
if (in_transaction) {
return ret;
int ret;
for (i = 0; i < count; i++) {
return ret;
return EOK;
static errno_t
return EOK;
static errno_t
static errno_t
size_t i;
goto done;
goto done;
goto done;
goto done;
done:
return ret;
static errno_t
const char *rule_type;
goto done;
&rule_type);
goto done;
goto done;
goto done;
goto done;
goto done;
done:
return ret;
const char *category_attr,
size_t i;
const char **categories;
for (i = 0; categories[i]; i++) {
categories[i]);
done:
return ret;
static errno_t
const char *username,
static errno_t
const char *servicename,
static errno_t
const char *hostname,
static errno_t
const char *rhost;
const char *thost;
goto done;
goto done;
goto done;
done:
return ret;
static errno_t
const char *username,
unsigned int num_groups = 0;
const char *member_dn;
goto done;
goto done;
goto done;
goto done;
goto done;
num_groups++;
goto done;
done:
return ret;
static errno_t
const char *servicename,
char *name;
goto done;
goto done;
goto done;
goto done;
goto done;
if (!el) {
goto done;
goto done;
&name);
done:
return ret;
static errno_t
const char *hostname,
char *name;
goto done;
goto done;
goto done;
goto done;
goto done;
goto done;
if (!el) {
goto done;
goto done;
&name);
done:
return ret;