i've a heimdal (1.2) server which uses the OpenLDAP (2.4.15) directory for data storage.
When i run the following script:
for i in `seq 1 10000`; do
kinit --password-file=passwd && echo "ok $i" || break;
At some point the kinit fails, because heimdal cannot connect to the LDAP server. heimdal-kdc server fails at
ldap_sasl_bind_s with 'Can't contact LDAP server'.
Heimdal access the LDAP directory is using the ldapi:///.
When i 'slow-down' the LDAP server with strace or by enable debug log to console the number of successful kinit runs increase. It seems to be a some kind of timing problem, but i don't have a clue to find out what's the reason for it. Maybe someone here on the list can help me.
Thanks in advance,