add LDAP authentication support

This commit is contained in:
Oliver Gorwits
2013-08-23 10:55:18 +01:00
parent 1c5de08f41
commit 351617fcdc
5 changed files with 188 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
<th class="nd_center-cell">Full Name</th>
<th class="nd_center-cell">Username</th>
<th class="nd_center-cell">Password</th>
<!-- <th class="nd_center-cell">External Auth</th> -->
<th class="nd_center-cell">LDAP Auth</th>
<th class="nd_center-cell">Port Control</th>
<th class="nd_center-cell">Administrator</th>
<th class="nd_center-cell">Action</th>
@@ -15,6 +15,7 @@
<td class="nd_center-cell"><input data-form="add" name="fullname" type="text"></td>
<td class="nd_center-cell"><input data-form="add" name="username" type="text"></td>
<td class="nd_center-cell"><input data-form="add" name="password" type="text"></td>
<td class="nd_center-cell"><input data-form="add" type="checkbox" name="ldap"></td>
<td class="nd_center-cell"><input data-form="add" type="checkbox" name="port_control"></td>
<td class="nd_center-cell"><input data-form="add" type="checkbox" name="admin"></td>
<td class="nd_center-cell">
@@ -33,6 +34,9 @@
<td class="nd_center-cell">
<input data-form="update" name="password" type="text" value="********">
</td>
<td class="nd_center-cell">
<input data-form="update" name="ldap" type="checkbox" [% 'checked="checked"' IF row.ldap %]>
</td>
<td class="nd_center-cell">
<input data-form="update" name="port_control" type="checkbox" [% 'checked="checked"' IF row.port_control %]>
</td>