Let me illustrate the impact of this. Please consider it as a bug in 0.1.41.

Here is and example using 0.1.40. Works as expected

pa...@jupiter:~/jsch> java -cp ../jsch-0.1.40.jar:.
-Djava.security.krb5.conf=/home/pablo/.ant/etc/krb5.conf
-Djava.security.auth.login.config=/home/pablo/.ant/etc/login.conf
-Djavax.security.auth.useSubjectCredsOnly=false Shell
neptune% exit
exit
nepture% logout

Here is the same example using 0.1.41. Does not work.

pa...@jupiter:~/jsch> java -cp ../jsch-0.1.41.jar:.
-Djava.security.krb5.conf=/home/pablo/.ant/etc/krb5.conf
-Djava.security.auth.login.config=/home/pablo/.ant/etc/login.conf
-Djavax.security.auth.useSubjectCredsOnly=false Shell
com.jcraft.jsch.JSchException: Auth fail

Here is the example using a 0.1.41 jar file compiled from source using the
build files included with the source.

pa...@jupiter:~/jsch> java -cp jsch-0.1.41/dist/lib/jsch-20090410.jar:.
-Djava.security.krb5.conf=/home/pablo/.ant/etc/krb5.conf
-Djava.security.auth.login.config=/home/pablo/.ant/etc/login.conf
-Djavax.security.auth.useSubjectCredsOnly=false Shell
neptune% exit
exit
nepture% logout

Obviously 0.1.41 was compiled outside of the build config. Please help fix
this for everyone. Thank you.

Regards
Borislav

> Hello
>
> Thanks for the reply. My concern was about people that download the jar
> file from it's official location and expect the GSSAPI functionality to be
> there but find out that it isn't and consider this to be a bug when it's
> only missed at compile time. Like I mentioned compiling from source
> produces a good jar file that works for me but I am certain I am not the
> only one that expects this functionality to be there and most people just
> download the jar file and drop it in and discover that something is not
> working (initially what happened to me). Do you feel the functionality
> should be there in the official jar file because it has been up to and
> including version 0.1.40. I certainly hope it will be there in the future
> as it is an important feature. Thank you.
>
> Regards
> Borislav
>
>> Hi,
>>
>>    +-From: "Borislav Stoichkov" <jsch-u...@meanstream.org> --
>>    |_Date: Tue, 14 Apr 2009 15:27:11 -0700 (PDT) ____________
>>    |
>>    |The jar file available for download for version 0.1.41 is missing
>> the
>>    |GSSContextKrb5 class in the jgss directory. As a result
>> GSSAPI/Kerberos
>>    |authentication is not functional. It is interesting too because the
>> build
>>    |system builds everything correctly and all looks good if the source
>> is
>>    |used to create the jar file. Would it be possible to recompile and
>> post
>>    |the version with the class so this functionality is not unexpectedly
>>    |broken.
>>
>> You can get yet another jar placed at
>>   http://eclipse.jcraft.com/plugins/com.jcraft.jsch_0.1.41.jar
>> , which has been provided as an plug-in for EclipseSDK,
>> but it will be functional for your requirements.
>>
>>
>> Sincerely,
>> --
>> Atsuhiko Yamanaka
>> JCraft,Inc.
>> 1-14-20 HONCHO AOBA-KU,
>> SENDAI, MIYAGI 980-0014 Japan.
>> Tel +81-22-723-2150
>>     +1-415-578-3454
>> Fax +81-22-224-8773
>> Skype callto://jcraft/
>>
>
>



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to