diff options
author | Björn Jacke <bj@sernet.de> | 2011-08-04 16:42:37 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2011-08-05 11:32:09 +0200 |
commit | fd06cf379ded801adf830499c24875a7c60280be (patch) | |
tree | 35fb2dc0652d0b1d41d73a9cefe10fd9136c857e /lib/ccan/tally/test/run-min-max.c | |
parent | a7438cce4e99761303aca0ef1bc65ca2cdf2bb98 (diff) | |
download | samba-fd06cf379ded801adf830499c24875a7c60280be.tar.gz samba-fd06cf379ded801adf830499c24875a7c60280be.tar.bz2 samba-fd06cf379ded801adf830499c24875a7c60280be.zip |
s3/ldap: delay the ldap search alarm termination a bit
do the alarm termination of the the ldap search a bit delayed so the LDAP
server has a chance to tell us that the time limit was reached and the
search was abandoned. If the search is terminated this way we also get
the correct LDAP return code in the logs. If alarm() stops the search the ldap
search routine will report that the LDAP server is down which would trigger us
to rebind to the server needlessly which we also want to avoid.
Diffstat (limited to 'lib/ccan/tally/test/run-min-max.c')
0 files changed, 0 insertions, 0 deletions