summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-01-02 09:09:31 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-01-02 17:59:02 +0100
commit4bb57b5f27abd2d38f96ba8681d375fb8aec7f3d (patch)
tree53df5b2b92eebd7016bbd71695497eb966854c1c
parent04759b59e71c78ab23b84d13dd29d9c6dd680adb (diff)
downloadsssd-4bb57b5f27abd2d38f96ba8681d375fb8aec7f3d.tar.gz
sssd-4bb57b5f27abd2d38f96ba8681d375fb8aec7f3d.tar.bz2
sssd-4bb57b5f27abd2d38f96ba8681d375fb8aec7f3d.zip
let krb5_backup_kpasswd failover work
https://fedorahosted.org/sssd/ticket/1735
-rw-r--r--src/providers/krb5/krb5_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_init.c b/src/providers/krb5/krb5_init.c
index a7b06fdf..1821d5b3 100644
--- a/src/providers/krb5/krb5_init.c
+++ b/src/providers/krb5/krb5_init.c
@@ -131,8 +131,8 @@ int sssm_krb5_auth_init(struct be_ctx *bectx,
ctx->kpasswd_service = NULL;
} else {
ret = krb5_service_init(ctx, bectx, SSS_KRB5KPASSWD_FO_SRV,
- krb5_kpasswd_servers, NULL, krb5_realm,
- &ctx->kpasswd_service);
+ krb5_kpasswd_servers, krb5_backup_kpasswd_servers,
+ krb5_realm, &ctx->kpasswd_service);
if (ret != EOK) {
DEBUG(0, ("Failed to init KRB5KPASSWD failover service!\n"));
return ret;