Klaus Kerberos has cn = Klaus Kerberos, sn = Kerberos and givenName = Klaus. In the whole LDAP, there are just 2 users beginning with Ker: Kerberos and Kermit (both have fore- and surename). I use the rule > 3. When I type in "Kerm", the User Kermit is correctly found without error. When I type In "Kerb", the user Klaus Kerberos is not found and the error is thrown. When I add 1 letter (Kerbe), user Klaus Kerberos is found correctly. When I type in Klaus, the user is found correctly as well.
This is very strange. Is there a way to catch those exceptions? Because everything seems to be right with the user Klaus Kerberos. With the original rule >=2, this error occurs as soon as the first 2 letters are typed in. Maybe because then, more users are listed in the search box and in our LDAP, there are indeed users without fore- and lastname. With more letters, the search is more selective. Ok, accepted. But with user Klaus Kerberos, everything is fine.
Can you reproduce those errors? If we could catch this, we would be on the save side. At lease for a productive environment, the error should not be thrown. In addition, I do not understand the null pointer, because everything is checked for null…
Thanks your your answers