Le 11/05/16 23:05, Jörg Weule a écrit : > Hallo, > > my server with M21 is locking the account if I use a wrong password > several times with ldapsearch. Unfortunately the counter seems not to be > increased when the ldapcontext is binding with reconnect(null). > > Apache James for example makes first a lookup for the DN and then uses a > ldapcontext.reconnect() with the users credentials at the environment. A > wrong user password is checked several times without locking the account > as expected. Is there any known bug or solution ?
IMO, there is no bind done when doing a JNDI reconnect : the connection is simply reused and never closed. In this case, the counter will not be incremented. A quick sample would be useful to check that on a server.
