From cfc231a55ab8bde4272f47d69acc47902e78207f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 28 Aug 2020 11:08:17 +0100 Subject: [PATCH] ITS#9054, #9318 document new TLS options in slapd --- doc/man/man5/slapd-config.5 | 6 +++++- doc/man/man5/slapd-ldap.5 | 18 +++++++++++++++--- doc/man/man5/slapd-meta.5 | 6 +++++- doc/man/man5/slapd.conf.5 | 6 +++++- 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/doc/man/man5/slapd-config.5 b/doc/man/man5/slapd-config.5 index 3a621b35cb..184fa17d0a 100644 --- a/doc/man/man5/slapd-config.5 +++ b/doc/man/man5/slapd-config.5 @@ -1785,7 +1785,9 @@ FALSE, meaning the contextCSN is stored in the context entry. .B [tls_cacert=] .B [tls_cacertdir=] .B [tls_reqcert=never|allow|try|demand] +.B [tls_reqsan=never|allow|try|demand] .B [tls_cipher_suite=] +.B [tls_ecname=] .B [tls_crlcheck=none|peer|all] .B [tls_protocol_min=[.]] .B [suffixmassage=] @@ -1951,7 +1953,9 @@ to establish a TLS session before Binding to the provider. If the argument is supplied, the session will be aborted if the StartTLS request fails. Otherwise the syncrepl session continues without TLS. The .B tls_reqcert -setting defaults to "demand" and the other TLS settings default to the same +setting defaults to "demand", the +.B tls_reqsan +setting defaults to "allow", and the other TLS settings default to the same as the main slapd TLS settings. The diff --git a/doc/man/man5/slapd-ldap.5 b/doc/man/man5/slapd-ldap.5 index 410db8c604..9d75029f96 100644 --- a/doc/man/man5/slapd-ldap.5 +++ b/doc/man/man5/slapd-ldap.5 @@ -113,7 +113,9 @@ needs to be created. .B [tls_cacert=] .B [tls_cacertdir=] .B [tls_reqcert=never|allow|try|demand] +.B [tls_reqsan=never|allow|try|demand] .B [tls_cipher_suite=] +.B [tls_ecname=] .B [tls_protocol_min=[.]] .B [tls_crlcheck=none|peer|all] .RS @@ -152,7 +154,9 @@ and The TLS settings default to the same as the main slapd TLS settings, except for .B tls_reqcert -which defaults to "demand". +which defaults to "demand", and +.B tls_reqsan +which defaults to "allow". .RE .TP @@ -227,7 +231,9 @@ case allows anonymous rather than denies. .B [tls_cacert=] .B [tls_cacertdir=] .B [tls_reqcert=never|allow|try|demand] +.B [tls_reqsan=never|allow|try|demand] .B [tls_cipher_suite=] +.B [tls_ecname=] .B [tls_protocol_min=] .B [tls_crlcheck=none|peer|all] .RS @@ -378,7 +384,9 @@ is recommended. The TLS settings default to the same as the main slapd TLS settings, except for .B tls_reqcert -which defaults to "demand". +which defaults to "demand", and +.B tls_reqsan +which defaults to "allow". The identity associated to this directive is also used for privileged operations whenever \fBidassert\-bind\fP is defined and \fBacl\-bind\fP @@ -584,7 +592,9 @@ is used. .B [tls_cacert=] .B [tls_cacertdir=] .B [tls_reqcert=never|allow|try|demand] +.B [tls_reqsan=never|allow|try|demand] .B [tls_cipher_suite=] +.B [tls_ecname=] .B [tls_crlcheck=none|peer|all] .RS Specify TLS settings for regular connections. @@ -600,7 +610,9 @@ if the StartTLS operation failed; its use is \fBnot\fP recommended. The TLS settings default to the same as the main slapd TLS settings, except for .B tls_reqcert -which defaults to "demand" and +which defaults to "demand", +.B tls_reqsan +which defaults to "allow", and .B starttls which is overshadowed by the first keyword and thus ignored. .RE diff --git a/doc/man/man5/slapd-meta.5 b/doc/man/man5/slapd-meta.5 index ae670c8950..d9de69dfe7 100644 --- a/doc/man/man5/slapd-meta.5 +++ b/doc/man/man5/slapd-meta.5 @@ -361,7 +361,9 @@ for details on the syntax of this field. .B [tls_cacert=] .B [tls_cacertdir=] .B [tls_reqcert=never|allow|try|demand] +.B [tls_reqsan=never|allow|try|demand] .B [tls_cipher_suite=] +.B [tls_ecname=] .B [tls_protocol_min=[.]] .B [tls_crlcheck=none|peer|all] .RS @@ -511,7 +513,9 @@ is recommended. The TLS settings default to the same as the main slapd TLS settings, except for .B tls_reqcert -which defaults to "demand". +which defaults to "demand", and +.B tls_reqsan +which defaults to "allow".. The identity associated to this directive is also used for privileged operations whenever \fBidassert\-bind\fP is defined and \fBacl\-bind\fP diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 585cd2cb76..38e6b2c241 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -1765,7 +1765,9 @@ the contextCSN is stored in the context entry. .B [tls_cacert=] .B [tls_cacertdir=] .B [tls_reqcert=never|allow|try|demand] +.B [tls_reqsan=never|allow|try|demand] .B [tls_cipher_suite=] +.B [tls_ecname=] .B [tls_crlcheck=none|peer|all] .B [tls_protocol_min=[.]] .B [suffixmassage=] @@ -1963,7 +1965,9 @@ to establish a TLS session before Binding to the provider. If the argument is supplied, the session will be aborted if the StartTLS request fails. Otherwise the syncrepl session continues without TLS. The .B tls_reqcert -setting defaults to "demand" and the other TLS settings +setting defaults to "demand", the +.B tls_reqsan +seting defaults to "allow", and the other TLS settings default to the same as the main slapd TLS settings. The -- 2.47.2