Stephen Frost wrote:
* Stephen Frost ([EMAIL PROTECTED]) wrote:
Right, with the defaults...  The idea was to reduce those.  I've played
with this some in preparation of 251-6.  Try:
reconn_maxconntries = 2
reconn_tries = 1
reconn_sleeptime = 1
reconn_maxsleeptime = 8

I guess I could have been clearer on these, in your libnss-ldap.conf:
nss_reconnect_tries 1
nss_reconnect_sleeptime 1
nss_reconnect_maxsleeptime 8
nss_reconnect_maxconntries 2

Should be the corresponding parameters.
Using these settings, udevd still reports about the ldap server being unreachable. But the timeouts are now such that bootup is basically a snap. Each search takes about 1 second.

I think I agree with Stephen that changing the timeouts is a better solution. It does not introduce any complexity (which the file-base solution does). However, if somebody needs longer timeouts or more retries, they're still in a bad situation. But don't give too much weight to my opinion. I'm no ldap or nss expert. I know just enough to get things configured to do what I want it to.

-- Jan Evert


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to