No line continuation support in ldap.conf.
This commit is contained in:
@@ -315,10 +315,8 @@ DDEESSCCRRIIPPTTIIOONN
|
|||||||
by ssuuddoo are honored. Configuration options are listed below in upper
|
by ssuuddoo are honored. Configuration options are listed below in upper
|
||||||
case but are parsed in a case-independent manner.
|
case but are parsed in a case-independent manner.
|
||||||
|
|
||||||
Lines beginning with a pound sign (`#') are ignored. Long lines can be
|
Lines beginning with a pound sign (`#') are ignored. Leading white space
|
||||||
continued with a backslash (`\') as the last character on the line. Note
|
is removed from the beginning of lines.
|
||||||
that leading white space is removed from the beginning of lines even when
|
|
||||||
the continuation character is used.
|
|
||||||
|
|
||||||
BBIINNDD__TTIIMMEELLIIMMIITT _s_e_c_o_n_d_s
|
BBIINNDD__TTIIMMEELLIIMMIITT _s_e_c_o_n_d_s
|
||||||
The BBIINNDD__TTIIMMEELLIIMMIITT parameter specifies the amount of time, in
|
The BBIINNDD__TTIIMMEELLIIMMIITT parameter specifies the amount of time, in
|
||||||
|
@@ -562,11 +562,7 @@ in a case-independent manner.
|
|||||||
Lines beginning with a pound sign
|
Lines beginning with a pound sign
|
||||||
(\(oq#\(cq)
|
(\(oq#\(cq)
|
||||||
are ignored.
|
are ignored.
|
||||||
Long lines can be continued with a backslash
|
Leading white space is removed from the beginning of lines.
|
||||||
(\(oq\e\(cq)
|
|
||||||
as the last character on the line.
|
|
||||||
Note that leading white space is removed from the beginning of lines
|
|
||||||
even when the continuation character is used.
|
|
||||||
.TP 6n
|
.TP 6n
|
||||||
\fBBIND_TIMELIMIT\fR \fIseconds\fR
|
\fBBIND_TIMELIMIT\fR \fIseconds\fR
|
||||||
The
|
The
|
||||||
|
@@ -534,11 +534,7 @@ in a case-independent manner.
|
|||||||
Lines beginning with a pound sign
|
Lines beginning with a pound sign
|
||||||
.Pq Ql #
|
.Pq Ql #
|
||||||
are ignored.
|
are ignored.
|
||||||
Long lines can be continued with a backslash
|
Leading white space is removed from the beginning of lines.
|
||||||
.Pq Ql \e
|
|
||||||
as the last character on the line.
|
|
||||||
Note that leading white space is removed from the beginning of lines
|
|
||||||
even when the continuation character is used.
|
|
||||||
.Bl -tag -width 4n
|
.Bl -tag -width 4n
|
||||||
.It Sy BIND_TIMELIMIT Ar seconds
|
.It Sy BIND_TIMELIMIT Ar seconds
|
||||||
The
|
The
|
||||||
|
@@ -2024,7 +2024,7 @@ sudo_ldap_read_config(void)
|
|||||||
if ((fp = fopen(path_ldap_conf, "r")) == NULL)
|
if ((fp = fopen(path_ldap_conf, "r")) == NULL)
|
||||||
debug_return_bool(false);
|
debug_return_bool(false);
|
||||||
|
|
||||||
while (sudo_parseln(&line, &linesize, NULL, fp, PARSELN_COMM_BOL) != -1) {
|
while (sudo_parseln(&line, &linesize, NULL, fp, PARSELN_COMM_BOL|PARSELN_CONT_IGN) != -1) {
|
||||||
if (*line == '\0')
|
if (*line == '\0')
|
||||||
continue; /* skip empty line */
|
continue; /* skip empty line */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user