summaryrefslogtreecommitdiffstats
path: root/templates/sysconfig
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-04 19:03:53 +0200
committerSimon Rettberg2015-09-04 19:03:53 +0200
commit5435b8d135d2003945e2361d1c82f583570dfdde (patch)
treeee324f7754e9d9fd1fe4a5b3f3def1e56b8eeb30 /templates/sysconfig
parentFix db update by adding missing return statement... (diff)
downloadslx-admin-5435b8d135d2003945e2361d1c82f583570dfdde.tar.gz
slx-admin-5435b8d135d2003945e2361d1c82f583570dfdde.tar.xz
slx-admin-5435b8d135d2003945e2361d1c82f583570dfdde.zip
Many changes
Diffstat (limited to 'templates/sysconfig')
-rw-r--r--templates/sysconfig/ad-checkconnection.html8
-rw-r--r--templates/sysconfig/ad-checkcredentials.html3
2 files changed, 7 insertions, 4 deletions
diff --git a/templates/sysconfig/ad-checkconnection.html b/templates/sysconfig/ad-checkconnection.html
index 1c3a1091..f5fcb2a8 100644
--- a/templates/sysconfig/ad-checkconnection.html
+++ b/templates/sysconfig/ad-checkconnection.html
@@ -51,13 +51,15 @@
var ports = task.data.ports;
for (var i = 0; i < ports.length; ++i) {
if (ports[i].open && ports[i].port && (!ssl || ports[i].certFingerprint.length > 10)) {
+ if ($.isNumeric($('#port').val()) && $('#port').val() < ports[i].port) continue; // Prefer the global LDAP ports over the specific AD ports
$('#port').val(ports[i].port);
if (ssl) $('#fingerprint').val(ports[i].certFingerprint);
- $('#nextbutton').show();
- $('#nextform').submit();
- return;
}
}
+ if ($('#port').val() > 0) {
+ $('#nextbutton').show();
+ $('#nextform').submit();
+ }
}
}
</script>
diff --git a/templates/sysconfig/ad-checkcredentials.html b/templates/sysconfig/ad-checkcredentials.html
index e1d15678..9378adad 100644
--- a/templates/sysconfig/ad-checkcredentials.html
+++ b/templates/sysconfig/ad-checkcredentials.html
@@ -6,7 +6,8 @@
<div data-tm-id="{{self-search}}" data-tm-log="messages" data-tm-callback="selfCb">LDAP Self-Query</div>
<div data-tm-id="{{tm-search}}" data-tm-log="messages" data-tm-callback="ldapCb">LDAP Test-Query</div>
</div>
-<br>
+<i>{{lang_onProblemSearchBase}}</i>
+<br><br>
<div class="pull-left">
<form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step=AdAuth_Start">
<input type="hidden" name="token" value="{{token}}">