Re: bug fix for native kerberos libraries

2012-10-19 Thread Christos Zoulas
On Oct 19, 9:11am, weijun.w...@oracle.com (Weijun Wang) wrote: -- Subject: Re: bug fix for native kerberos libraries | Hi Christos | | You mean the exception thrown in NativeGSSFactory.java lines 52-60? | | Vector creds = GSSUtil.searchSubject | (name, mech, initiate

Re: bug fix for native kerberos libraries

2012-10-18 Thread Weijun Wang
Hi Christos You mean the exception thrown in NativeGSSFactory.java lines 52-60? Vector creds = GSSUtil.searchSubject (name, mech, initiate, GSSCredElement.class); // If Subject is present but no native creds available if (creds != null && creds.isEmpty()) {

Re: bug fix for native kerberos libraries

2012-10-18 Thread Sean Mullan
(Forwarding to security-dev as this should be discussed in that group, not core-libs). On 10/18/12 5:02 PM, chris...@zoulas.com wrote: > Hello, > > This simple fix allows kerberos authentication to work with: > > -Dsun.security.jgss.native=true > > and microsoft's sqljdbc 4.0.2206.100 dr

bug fix for native kerberos libraries

2012-10-18 Thread Christos Zoulas
Hello, This simple fix allows kerberos authentication to work with: -Dsun.security.jgss.native=true and microsoft's sqljdbc 4.0.2206.100 driver. Enjoy, christos --- a/java/src/sun/security/jgss/GSSUtil.java Mon Oct 15 17:43:08 2012 -0400 +++ b/java/src/sun/security/jgss/GSSUtil.java