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
|
||||
case but are parsed in a case-independent manner.
|
||||
|
||||
Lines beginning with a pound sign (`#') are ignored. Long lines can be
|
||||
continued with a backslash (`\') 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.
|
||||
Lines beginning with a pound sign (`#') are ignored. Leading white space
|
||||
is removed from the beginning of lines.
|
||||
|
||||
BBIINNDD__TTIIMMEELLIIMMIITT _s_e_c_o_n_d_s
|
||||
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
|
||||
(\(oq#\(cq)
|
||||
are ignored.
|
||||
Long lines can be continued with a backslash
|
||||
(\(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.
|
||||
Leading white space is removed from the beginning of lines.
|
||||
.TP 6n
|
||||
\fBBIND_TIMELIMIT\fR \fIseconds\fR
|
||||
The
|
||||
|
@@ -534,11 +534,7 @@ in a case-independent manner.
|
||||
Lines beginning with a pound sign
|
||||
.Pq Ql #
|
||||
are ignored.
|
||||
Long lines can be continued with a backslash
|
||||
.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.
|
||||
Leading white space is removed from the beginning of lines.
|
||||
.Bl -tag -width 4n
|
||||
.It Sy BIND_TIMELIMIT Ar seconds
|
||||
The
|
||||
|
@@ -2024,7 +2024,7 @@ sudo_ldap_read_config(void)
|
||||
if ((fp = fopen(path_ldap_conf, "r")) == NULL)
|
||||
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')
|
||||
continue; /* skip empty line */
|
||||
|
||||
|
Reference in New Issue
Block a user