svn commit: samba r15209 - in trunk/source: libads libsmb

Love lha at
Mon Apr 24 18:02:24 GMT 2006

jra at writes:

> Author: jra
> Date: 2006-04-24 15:57:51 +0000 (Mon, 24 Apr 2006)
> New Revision: 15209
> WebSVN:
> Log:
> 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.

This is accually more fun. Kerberos uses ASN.1's GeneralString (which is
mostly useless and ends up being ascii). Kerberos extentions will properly
support i18n, but that in the future and given the blazing speed of krb-wg,
it will arrive in about 1-10 years.

That said, I've tried to find out what ms sends, and that seems to
something close to ldap normalized utf8 or raw utf8.

Watch out assuming that the kerberos api is a utf8, MIT folks seems to
think its not but rather a locale specific interface, but I can't speak
form them, ask the krb-dev list for what they think.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 823 bytes
Desc: not available
Url :

More information about the samba-technical mailing list