revert previous commit; disable RESTART from ldap.conf

This commit is contained in:
Pierangelo Masarati 2006-11-13 23:51:52 +00:00
parent 10e84d7192
commit 72e586ba36
2 changed files with 7 additions and 3 deletions

View File

@ -169,9 +169,10 @@ The default is on.
Note that the command line tools
.BR ldapsearch (1)
&co always override this option.
.TP
.B RESTART <on/true/yes/off/false/no>
Determines whether the library should implicitly restart connections (FIXME).
.\" This should only be allowed via ldap_set_option(3)
.\".TP
.\".B RESTART <on/true/yes/off/false/no>
.\"Determines whether the library should implicitly restart connections (FIXME).
.TP
.B SIZELIMIT <integer>
Specifies a size limit to use when performing searches. The

View File

@ -85,7 +85,10 @@ static const struct ol_attribute {
{0, ATTR_OPTION, "HOST", NULL, LDAP_OPT_HOST_NAME}, /* deprecated */
{0, ATTR_OPTION, "URI", NULL, LDAP_OPT_URI}, /* replaces HOST/PORT */
{0, ATTR_BOOL, "REFERRALS", NULL, LDAP_BOOL_REFERRALS},
#if 0
/* This should only be allowed via ldap_set_option(3) */
{0, ATTR_BOOL, "RESTART", NULL, LDAP_BOOL_RESTART},
#endif
#ifdef HAVE_CYRUS_SASL
{0, ATTR_STRING, "SASL_MECH", NULL,