<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/ldap-sdk/patches/" rel="alternate"/><link href="https://sourceforge.net/p/ldap-sdk/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/ldap-sdk/patches/</id><updated>2011-04-06T23:28:08Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>GSSAPIBind: AuthzId should stay null, if null</title><link href="https://sourceforge.net/p/ldap-sdk/patches/1/" rel="alternate"/><published>2011-04-06T23:28:08Z</published><updated>2011-04-06T23:28:08Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net4ad8105fd3b469f8b017b8780e534a5f4bdfc55e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In a GSSAPIBind, Authorization ID should not get set to authentication ID if empty or null.&lt;br /&gt;
It should remain null or empty and be passed into the SaslClient for correct interpretation.&lt;br /&gt;
Otherwise I get errors like:&lt;br /&gt;
Caused by: LDAPException(resultCode=50 (insufficient access rights), errorMessage='SASL(-14): authorization failure: Inappropriate authentication', diagnosticMessage='SASL(-14): authorization failure: Inappropriate authentication')&lt;/p&gt;
&lt;p&gt;The patch allows authz id to be null and updates java doc to describe the null/emtpy authz id behavior more like the Sasl javadoc.&lt;br /&gt;
&lt;a href="http://download.oracle.com/javase/1.5.0/docs/api/javax/security/sasl/SaslClientFactory.html#createSaslClient\" rel="nofollow"&gt;http://download.oracle.com/javase/1.5.0/docs/api/javax/security/sasl/SaslClientFactory.html#createSaslClient\&lt;/a&gt;(java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.util.Map, javax.security.auth.callback.CallbackHandler)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>