Update auth_type to authldap to squelch deprecation warning, fix typo in user_tree

This commit is contained in:
2014-11-23 23:46:11 +00:00
parent 7a7a305540
commit 077b087e58
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ $conf['updatecheck'] = <%= @updatecheck ? 1 : 0 %>;
# Authentication
$conf['openregister'] =
$conf['authtype'] = '<%= @auth_type %>';
<%- if @auth_type == 'ldap' -%>
<%- if @auth_type == 'authldap' -%>
$conf['auth']['ldap']['version'] = '<%= @ldap_version %>';
$conf['auth']['ldap']['server'] = 'ldap://<%= @ldap_servers.join(" ") %>:389';
$conf['auth']['ldap']['usertree'] = '<%= @ldap_user_tree %>';