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
f13a8d77
Commit
f13a8d77
authored
Jul 29, 2015
by
chrisch1974
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ldap: auth servers: move bind credentials up on the screen
parent
18638a90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
34 deletions
+34
-34
system_authservers.php
src/www/system_authservers.php
+34
-34
No files found.
src/www/system_authservers.php
View file @
f13a8d77
...
@@ -629,6 +629,40 @@ endif; ?>
...
@@ -629,6 +629,40 @@ endif; ?>
</select>
</select>
</td>
</td>
</tr>
</tr>
<tr>
<td
width=
"22%"
valign=
"top"
class=
"vncell"
>
<?=
gettext
(
"Bind credentials"
);
?>
</td>
<td
width=
"78%"
class=
"vtable"
>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"2"
summary=
"bind credentials"
>
<tr>
<td>
<input
name=
"ldap_anon"
type=
"checkbox"
id=
"ldap_anon"
value=
"yes"
<?php
if
(
$pconfig
[
'ldap_anon'
])
{
echo
"checked=
\"
checked
\"
"
;
}
?>
onclick=
"ldap_bindchange()"
/>
</td>
<td>
<?=
gettext
(
"Use anonymous binds to resolve distinguished names"
);
?>
</td>
</tr>
</table>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"2"
id=
"ldap_bind"
summary=
"bind"
>
<tr>
<td
colspan=
"2"
></td>
</tr>
<tr>
<td>
<?=
gettext
(
"User DN:"
);
?>
</td>
<td>
<input
name=
"ldap_binddn"
type=
"text"
class=
"formfld unknown"
id=
"ldap_binddn"
size=
"40"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'ldap_binddn'
]);
?>
"
/><br
/>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Password:"
);
?>
</td>
<td>
<input
name=
"ldap_bindpw"
type=
"password"
class=
"formfld pwd"
id=
"ldap_bindpw"
size=
"20"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'ldap_bindpw'
]);
?>
"
/><br
/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<tr>
<td
width=
"22%"
valign=
"top"
class=
"vncell"
>
<?=
gettext
(
"Search scope"
);
?>
</td>
<td
width=
"22%"
valign=
"top"
class=
"vncell"
>
<?=
gettext
(
"Search scope"
);
?>
</td>
<td
width=
"78%"
class=
"vtable"
>
<td
width=
"78%"
class=
"vtable"
>
...
@@ -700,40 +734,6 @@ endif; ?>
...
@@ -700,40 +734,6 @@ endif; ?>
</table>
</table>
</td>
</td>
</tr>
</tr>
<tr>
<td
width=
"22%"
valign=
"top"
class=
"vncell"
>
<?=
gettext
(
"Bind credentials"
);
?>
</td>
<td
width=
"78%"
class=
"vtable"
>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"2"
summary=
"bind credentials"
>
<tr>
<td>
<input
name=
"ldap_anon"
type=
"checkbox"
id=
"ldap_anon"
value=
"yes"
<?php
if
(
$pconfig
[
'ldap_anon'
])
{
echo
"checked=
\"
checked
\"
"
;
}
?>
onclick=
"ldap_bindchange()"
/>
</td>
<td>
<?=
gettext
(
"Use anonymous binds to resolve distinguished names"
);
?>
</td>
</tr>
</table>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"2"
id=
"ldap_bind"
summary=
"bind"
>
<tr>
<td
colspan=
"2"
></td>
</tr>
<tr>
<td>
<?=
gettext
(
"User DN:"
);
?>
</td>
<td>
<input
name=
"ldap_binddn"
type=
"text"
class=
"formfld unknown"
id=
"ldap_binddn"
size=
"40"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'ldap_binddn'
]);
?>
"
/><br
/>
</td>
</tr>
<tr>
<td>
<?=
gettext
(
"Password:"
);
?>
</td>
<td>
<input
name=
"ldap_bindpw"
type=
"password"
class=
"formfld pwd"
id=
"ldap_bindpw"
size=
"20"
value=
"
<?=
htmlspecialchars
(
$pconfig
[
'ldap_bindpw'
]);
?>
"
/><br
/>
</td>
</tr>
</table>
</td>
</tr>
<?php
if
(
!
isset
(
$id
))
:
<?php
if
(
!
isset
(
$id
))
:
?>
?>
<tr>
<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