> import time > T0 = time.time() > conn.simple_bind_s(user_dn, user_pwd) > T1 = time.time() > open('/tmp/timings.log','a').write('%s\n' % (T1-T0)) Thanks, Peter. I tried that and the max value for T1-T0 I got was: 0.162416934967 Regards Nico