| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
From: FrankSTaylor@gmail.com (Frank Taylor) Date: 31 Aug 2004 02:53:13 -0700 Message-ID: <a6732995.0408310153.755049b6@posting.google.com> To: kerberos@mit.edu Errors-To: kerberos-bounces@mit.edu Apologies if this is covered in an obvious place, but I have not found the solution to this problem. I am using a Microsoft Active Directory as a Kerberos server with a Java-based client. On the server, the target account has a password that contains a pound sterling sign (Unicode 0x00A3). This password works fine within the Microsoft world, however I cannot get my Java client to generate the right key from password. The Java code has the correct password as a String (Java is fully Unicode internally). What I think I am missing is understanding how to convert the password string into the array of bytes that is then manipulated by string_to_key(). It seems that rfc1510 assumes a one character to one byte mapping. I have tried simple ASCII, UTF-8, UTF-16LE and ISO-8559-1 character encodings to generate the bytes for the key algorithm and none seem to work. What am I missing? Is this specified anywhere? Is this an MS-specific capability (i.e. allowing non 7-bit ASCII in passwords)? Thanks for any help. Frank. ________________________________________________ Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |