diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-15 12:50:43 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-17 13:17:26 +0200 |
commit | 13734b9723e221cbb535306b89fc3e77fc2010de (patch) | |
tree | f6d5d9c27d25a6ba62b7c29f3e5be4272ee89177 /src/providers/krb5 | |
parent | 0740b9ab9acc2ecae9342d2db42c4645ae4104eb (diff) | |
download | sssd-13734b9723e221cbb535306b89fc3e77fc2010de.tar.gz sssd-13734b9723e221cbb535306b89fc3e77fc2010de.tar.bz2 sssd-13734b9723e221cbb535306b89fc3e77fc2010de.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')
-rw-r--r-- | src/providers/krb5/krb5_child.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index 5bc6ec00..6d8269d7 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; |