Re: configuration workaround

Date: 2006-06-20 10:24 pm (UTC)
Please re-read the above post.
In specific I said:
The temporary hack: I've commited nss_ldap-250-r1 that changes the default timeouts in the header files, as well documenting them, and the old ones, and even faster ones (read: more dangerous) in /etc/ldap.conf.


If you emerge 250-r1, you will see that nss_reconnect_tries is one of those settings that I have changed. From my patch:
 16 -#define LDAP_NSS_TRIES           5 /* number of sleeping reconnect attempts */
 17 -#define LDAP_NSS_SLEEPTIME       4 /* seconds to sleep; doubled until max */
 18 -#define LDAP_NSS_MAXSLEEPTIME    64    /* maximum seconds to sleep */
 19 +#define LDAP_NSS_TRIES           4 /* number of sleeping reconnect attempts */
 20 +#define LDAP_NSS_SLEEPTIME       1 /* seconds to sleep; doubled until max */
 21 +#define LDAP_NSS_MAXSLEEPTIME    16    /* maximum seconds to sleep */
 22  #define LDAP_NSS_MAXCONNTRIES    2 /* reconnect attempts before sleeping */
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

May 2017

S M T W T F S
 123456
78910111213
141516171819 20
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags