Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
d0f13284
Commit
d0f13284
authored
Dec 05, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ldap: pretty up config and fix a help string
parent
2e4ecd3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
18 deletions
+16
-18
system_authservers.php
src/www/system_authservers.php
+16
-18
No files found.
src/www/system_authservers.php
View file @
d0f13284
...
...
@@ -548,21 +548,20 @@ endif; ?>
<tr
class=
"auth_ldap auth_options hidden"
>
<td><i
class=
"fa fa-info-circle text-muted"
></i>
<?=
gettext
(
"Search scope"
);
?>
</td>
<td>
<div>
<?=
gettext
(
"Level:"
);
?>
<br/>
<select
name=
'ldap_scope'
id=
'ldap_scope'
class=
"formselect selectpicker"
data-style=
"btn-default"
>
<option
value=
"one"
<?=
$pconfig
[
'ldap_scope'
]
==
'one'
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
gettext
(
'One Level'
);
?>
</option>
<option
value=
"subtree"
<?=
$pconfig
[
'ldap_scope'
]
==
'subtree'
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
gettext
(
'Entire Subtree'
);
?>
</option>
</select>
</div>
<div>
<?=
gettext
(
"Base DN:"
);
?>
<br/>
<input
name=
"ldap_basedn"
type=
"text"
id=
"ldap_basedn"
size=
"40"
value=
"
<?=
$pconfig
[
'ldap_basedn'
];
?>
"
/>
</div>
<select
name=
'ldap_scope'
id=
'ldap_scope'
class=
"formselect selectpicker"
data-style=
"btn-default"
>
<option
value=
"one"
<?=
$pconfig
[
'ldap_scope'
]
==
'one'
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
gettext
(
'One Level'
);
?>
</option>
<option
value=
"subtree"
<?=
$pconfig
[
'ldap_scope'
]
==
'subtree'
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
gettext
(
'Entire Subtree'
);
?>
</option>
</select>
</td>
</tr>
<tr
class=
"auth_ldap auth_options hidden"
>
<td><i
class=
"fa fa-info-circle text-muted"
></i>
<?=
gettext
(
"Base DN"
);
?>
</td>
<td>
<input
name=
"ldap_basedn"
type=
"text"
id=
"ldap_basedn"
size=
"40"
value=
"
<?=
$pconfig
[
'ldap_basedn'
];
?>
"
/>
</td>
</tr>
<tr
class=
"auth_ldap auth_options hidden"
>
...
...
@@ -574,9 +573,8 @@ endif; ?>
</ul>
<br/>
<div
class=
"hidden"
for=
"help_for_ldapauthcontainers"
>
<br/>
<?=
gettext
(
"Semicolon separated. This will be prepended to the search base DN above or you can specify full container path containing a DC= component."
);
?>
<br
/>
<?=
gettext
(
"Example:"
);
?>
CN=Users;DC=example,DC=com
<br
/>
<?=
gettext
(
"Example:"
);
?>
OU=Staff;OU=Freelancers
<br/>
<?=
gettext
(
"Semicolon-separated list of distinguished names or a path containing a DC= component."
);
?>
<br/>
<?=
gettext
(
"Example:"
);
?>
CN=Users,OU=Staff,O=Company;OU=Freelancers,O=Company;DC=example,DC=com
</div>
</td>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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