/*
SSSD
Kerberos 5 Backend Module
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2009 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <unistd.h>
#include <fcntl.h>
#include "util/child_common.h"
#include "providers/krb5/krb5_auth.h"
#include "providers/krb5/krb5_common.h"
#include "providers/krb5/krb5_init_shared.h"
#include "providers/data_provider.h"
{
const char *realm;
const char *primary_servers;
const char *backup_servers;
const char *kdc_servers;
bool use_kdcinfo;
return EINVAL;
}
"backup_servers kpasswd given. Using it as primary_servers\n");
}
"explicitly, will use KDC for pasword change operations!\n");
} else {
"Failed to init KRB5KPASSWD failover service!\n");
return ret;
}
}
return EOK;
}
{
const char *primary_servers;
const char *backup_servers;
const char *realm;
bool use_kdcinfo;
return EINVAL;
}
return ret;
}
return EOK;
}
{
}
return 0;
}
struct data_provider *provider,
const char *module_name,
void **_module_data)
{
const char *errstr;
int errval;
int errpos;
return ENOMEM;
}
/* Only needed to generate random ccache names for non-POSIX domains */
goto done;
}
goto done;
}
goto done;
}
goto done;
}
goto done;
}
goto done;
}
*_module_data = ctx;
done:
}
return ret;
}
void *module_data,
struct dp_method *dp_methods)
{
return EOK;
}
void *module_data,
struct dp_method *dp_methods)
{
}
void *module_data,
struct dp_method *dp_methods)
{
return EOK;
}