summaryrefslogtreecommitdiff
path: root/src/providers/krb5/krb5_child.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-15 12:50:43 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-17 13:43:59 +0200
commitadfad7302a190f87d95b233b08df6e6c9457944b (patch)
tree858fc0c004049da167b5ee54c3a017cad09668c0 /src/providers/krb5/krb5_child.c
parent8a03858d3830bb3b2069cad506290ae831b6699e (diff)
downloadsssd-adfad7302a190f87d95b233b08df6e6c9457944b.tar.gz
sssd-adfad7302a190f87d95b233b08df6e6c9457944b.tar.bz2
sssd-adfad7302a190f87d95b233b08df6e6c9457944b.zip
heimdal: Add wrapper for krb5_unparse_name_ext
Use krb5_unparse_name in heimdal and calculate length using strlen.
Diffstat (limited to 'src/providers/krb5/krb5_child.c')
-rw-r--r--src/providers/krb5/krb5_child.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index fe5ceb6e..429ecef1 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -673,7 +673,8 @@ static errno_t add_ticket_times_and_upn_to_response(struct krb5_req *kr)
goto done;
}
- kerr = krb5_unparse_name_ext(kr->ctx, kr->creds->client, &upn, &upn_len);
+ kerr = sss_krb5_unparse_name_ext(kr->ctx, kr->creds->client,
+ &upn, &upn_len);
if (kerr != 0) {
DEBUG(SSSDBG_OP_FAILURE, ("krb5_unparse_name failed.\n"));
goto done;