diff options
author | Simon Rettberg | 2015-11-10 11:04:15 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-11-10 11:04:15 +0100 |
commit | b65db7eb93773a828bb5be76799b46cdaab56dc1 (patch) | |
tree | d53cfd8cfc220ae07a91803b6f353f1b25b432a5 /templates/sysconfig/ad_ldap-checkcredentials.html | |
parent | [news.inc.php] fix newline not beeing escaped properly (diff) | |
download | slx-admin-b65db7eb93773a828bb5be76799b46cdaab56dc1.tar.gz slx-admin-b65db7eb93773a828bb5be76799b46cdaab56dc1.tar.xz slx-admin-b65db7eb93773a828bb5be76799b46cdaab56dc1.zip |
[adauth] Add intermediate step to determine binddn if windows style domain is given
Diffstat (limited to 'templates/sysconfig/ad_ldap-checkcredentials.html')
-rw-r--r-- | templates/sysconfig/ad_ldap-checkcredentials.html | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/templates/sysconfig/ad_ldap-checkcredentials.html b/templates/sysconfig/ad_ldap-checkcredentials.html index 5a9d6b38..9f5ccf01 100644 --- a/templates/sysconfig/ad_ldap-checkcredentials.html +++ b/templates/sysconfig/ad_ldap-checkcredentials.html @@ -3,7 +3,6 @@ </p> <div id="zeug"> - {{#self-search}}<div data-tm-id="{{self-search}}" data-tm-log="messages" data-tm-callback="selfCb">LDAP Self-Query</div>{{/self-search}} <div data-tm-id="{{tm-search}}" data-tm-log="messages" data-tm-callback="ldapCb">LDAP Test-Query</div> </div> <i>{{lang_onProblemSearchBase}}</i> @@ -33,7 +32,7 @@ <input name="server" value="{{server}}" type="hidden"> <input name="searchbase" value="{{searchbase}}" type="hidden"> <input id="setbase" name="somedn" value="" type="hidden"> - <input id="setdn" name="binddn" value="{{binddn}}" type="hidden"> + <input name="binddn" value="{{binddn}}" type="hidden"> <input name="bindpw" value="{{bindpw}}" type="hidden"> <input name="home" value="{{home}}" type="hidden"> {{#ssl}} @@ -63,14 +62,4 @@ $('#nextbutton').show(); } } - function selfCb(task) - { - if (!task || !task.statusCode) - return; - if (task.statusCode === 'TASK_FINISHED' && task.data && task.data.dn) { - $('#setdn').val(task.data.dn); - } else { - $('#nextbutton').html('Trotzdem weiter »'); - } - } </script> |