Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
dba33ec0
Commit
dba33ec0
authored
Dec 07, 2009
by
Howard Chu
Browse files
ITS
#6419
starttls keyword should trigger bindconf TLS settings
parent
947f2cd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/config.c
View file @
dba33ec0
...
...
@@ -1308,12 +1308,11 @@ static slap_cf_aux_table bindkey[] = {
{
BER_BVC
(
"authzID="
),
offsetof
(
slap_bindconf
,
sb_authzId
),
'b'
,
1
,
(
slap_verbmasks
*
)
authzNormalize
},
{
BER_BVC
(
"keepalive="
),
offsetof
(
slap_bindconf
,
sb_keepalive
),
'x'
,
0
,
(
slap_verbmasks
*
)
slap_keepalive_parse
},
#ifdef HAVE_TLS
{
BER_BVC
(
"starttls="
),
offsetof
(
slap_bindconf
,
sb_tls
),
'i'
,
0
,
tlskey
},
/* NOTE: replace "14" with the actual index
/* NOTE: replace "13" with the actual index
* of the first TLS-related line */
#define aux_TLS (bindkey+1
4
)
/* beginning of TLS keywords */
#define aux_TLS (bindkey+1
3
)
/* beginning of TLS keywords */
{
BER_BVC
(
"starttls="
),
offsetof
(
slap_bindconf
,
sb_tls
),
'i'
,
0
,
tlskey
},
{
BER_BVC
(
"tls_cert="
),
offsetof
(
slap_bindconf
,
sb_tls_cert
),
's'
,
1
,
NULL
},
{
BER_BVC
(
"tls_key="
),
offsetof
(
slap_bindconf
,
sb_tls_key
),
's'
,
1
,
NULL
},
{
BER_BVC
(
"tls_cacert="
),
offsetof
(
slap_bindconf
,
sb_tls_cacert
),
's'
,
1
,
NULL
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment