diff options
author | Jeremy Allison <jra@samba.org> | 2006-04-24 15:57:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:28 -0500 |
commit | b68b05854ff5a7e75953462eba74f97753428ef1 (patch) | |
tree | c624916d0953cf49fee16aca522d570530a931ae /source3/libads/sasl.c | |
parent | ad8493d90cc7e3df8eeea9ced93758a5eef6bc77 (diff) | |
download | samba-b68b05854ff5a7e75953462eba74f97753428ef1.tar.gz samba-b68b05854ff5a7e75953462eba74f97753428ef1.tar.bz2 samba-b68b05854ff5a7e75953462eba74f97753428ef1.zip |
r15210: Add wrapper functions smb_krb5_parse_name, smb_krb5_unparse_name,
smb_krb5_parse_name_norealm_conv that pull/push from unix charset
to utf8 (which krb5 uses on the wire). This should fix issues when
the unix charset is not compatible with or set to utf8.
Jeremy.
(This used to be commit 37ab42afbc9a79cf5b04ce6a1bf4060e9c961199)
Diffstat (limited to 'source3/libads/sasl.c')
-rw-r--r-- | source3/libads/sasl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c index d8d33a924f..a12af43eb3 100644 --- a/source3/libads/sasl.c +++ b/source3/libads/sasl.c @@ -304,7 +304,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads) if (!ADS_ERR_OK(status)) { return status; } - status = ADS_ERROR_KRB5(krb5_parse_name(ctx, sname, &principal)); + status = ADS_ERROR_KRB5(smb_krb5_parse_name(ctx, sname, &principal)); if (!ADS_ERR_OK(status)) { return status; } |