7ae38c27eec3b18f9163ef32ccc7a9558e1ede9eJonathan von Schroeder Sumit Bose <sbose@redhat.com>
7ae38c27eec3b18f9163ef32ccc7a9558e1ede9eJonathan von Schroeder Copyright (C) 2012 Red Hat
670d45d02421ffde9b1086f8ec3e7d932e8bc690Jonathan von Schroeder This program is free software; you can redistribute it and/or modify
along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <utime.h>
return dom;
while (dom) {
if (dom) {
&& !include_disabled) {
return dom;
const char *sd_name)
const char *name,
bool match_any)
return NULL;
while (dom) {
return dom;
return NULL;
const char *sid)
return NULL;
while (dom) {
return dom;
return dom;
return NULL;
struct sss_domain_info*
const char* sid)
return domain;
struct sss_domain_info *
const char *object_name)
return NULL;
goto done;
done:
return dom;
const char *domain_name,
const char *db_path,
return ret;
return EEXIST;
return ret;
return EOK;
static errno_t
return ret;
return EOK;
char **content)
char *o = NULL;
return EINVAL;
if (o == NULL) {
goto done;
if (o == NULL) {
goto done;
goto done;
goto done;
if (!capaths_started) {
if (o == NULL) {
goto done;
capaths_started = true;
if (o == NULL) {
goto done;
"talloc_asprintf/talloc_asprintf_append failed.\n");
goto done;
if (o == NULL) {
goto done;
done:
*content = o;
talloc_free(o);
return ret;
return EINVAL;
goto done;
return ENOMEM;
if (!mapping_file) {
goto done;
goto done;
if (fd < 0) {
goto done;
if (!fstream) {
if (ret != 0) {
goto done;
if (ret < 0) {
goto done;
if (ret != 0) {
goto done;
goto done;
goto done;
done:
"of krb5.conf. Created mappings may not be loaded.\n");
if (fstream) {
if (err != 0) {
if (tmp_file) {
if (err < 0) {
return ret;
char ***_dom_names,
int *_dom_names_count)
goto done;
count = 0;
while (dom) {
count++;
goto done;
while (dom) {
goto done;
done:
return ret;
const char *content)
return ENOMEM;
goto done;
if (fd < 0) {
goto done;
goto done;
goto done;
goto done;
goto done;
done:
return ret;
#ifdef HAVE_KRB5_LOCALAUTH_PLUGIN
return ENOMEM;
goto done;
goto done;
done:
return ret;
return EOK;
return ENOMEM;
goto done;
goto done;
done:
return ret;
return EOK;
return EINVAL;
goto done;
if (canonicalize) {
goto done;
done:
"of krb5.conf. Created mappings may not be loaded.\n");
return ret;
if (p == NULL) {