title: LDAPException: Invalid Credentials (49) Invalid Credentials with grails
body: <p>These are the imports that I am using:</p>
  
  <pre><code>import com.novell.ldap.*;
  import java.io.UnsupportedEncodingException;
  </code></pre>
  
  <p>and I am trying to do a very simple password validation that I found at:</p>
  
  <p><a href="http://developer.novell.com/documentation/samplecode/jldap_sample/index.htm" rel="nofollow">http://developer.novell.com/documentation/samplecode/jldap_sample/index.htm</a></p>
  
  <p>and I can't seem to get the bind to work. Does anyone have a better way of doing this with grails or java. I am finding myself really lost and any examples or guidance would help.</p>
  
  <p>Thanks.</p>