diff options
author | Simon Rettberg | 2015-09-18 16:59:23 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-18 16:59:23 +0200 |
commit | 05ed28bbcbe9abe242c19fc7088cfd383db52588 (patch) | |
tree | 1ff589012cc5d58a9d98957ce8486ceefd7da6f3 /templates/sysconfig/ad-checkcredentials.html | |
parent | Change some wording, add deletion reminder to main page (diff) | |
download | slx-admin-05ed28bbcbe9abe242c19fc7088cfd383db52588.tar.gz slx-admin-05ed28bbcbe9abe242c19fc7088cfd383db52588.tar.xz slx-admin-05ed28bbcbe9abe242c19fc7088cfd383db52588.zip |
[ldap/ad] Figure out proper spelling of search base
Diffstat (limited to 'templates/sysconfig/ad-checkcredentials.html')
-rw-r--r-- | templates/sysconfig/ad-checkcredentials.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/sysconfig/ad-checkcredentials.html b/templates/sysconfig/ad-checkcredentials.html index 9378adad..dbd09d58 100644 --- a/templates/sysconfig/ad-checkcredentials.html +++ b/templates/sysconfig/ad-checkcredentials.html @@ -11,6 +11,7 @@ <div class="pull-left"> <form role="form" method="post" action="?do=SysConfig&action=addmodule&step=AdAuth_Start"> <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="edit" value="{{edit}}"> <input name="title" value="{{title}}" type="hidden"> <input name="server" value="{{server}}" type="hidden"> <input name="searchbase" value="{{searchbase}}" type="hidden"> @@ -30,6 +31,7 @@ <input name="title" value="{{title}}" type="hidden"> <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="bindpw" value="{{bindpw}}" type="hidden"> <input name="home" value="{{home}}" type="hidden"> @@ -47,6 +49,9 @@ if (!task || !task.statusCode) return; if (task.statusCode === 'TASK_FINISHED') { + if (task.data && task.data.dn) { + $('#setbase').val(task.data.dn); + } $('#nextbutton').html('Weiter »').show(); } if (task.statusCode === 'TASK_ERROR' || task.statusCode === 'PARENT_FAILED') { |