summaryrefslogtreecommitdiff
path: root/inc/auth
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2011-01-26 09:49:50 +0100
committerAndreas Gohr <gohr@cosmocode.de>2011-01-26 09:49:50 +0100
commit6c3ec20e45addc534ed8337b9b4733df1d51ff02 (patch)
treed08887f098192a0bc9fd30a3c11c96893953bf83 /inc/auth
parent48176364390fb988f2194074842d84d8a0b8b73e (diff)
downloadrpg-6c3ec20e45addc534ed8337b9b4733df1d51ff02.tar.gz
rpg-6c3ec20e45addc534ed8337b9b4733df1d51ff02.tar.bz2
AD auth: password changing works via TLS as well
Diffstat (limited to 'inc/auth')
-rw-r--r--inc/auth/ad.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/auth/ad.class.php b/inc/auth/ad.class.php
index 7c4f69c67..93186d9a1 100644
--- a/inc/auth/ad.class.php
+++ b/inc/auth/ad.class.php
@@ -24,6 +24,7 @@
* $conf['auth']['ad']['ad_password'] = 'pass';
* $conf['auth']['ad']['real_primarygroup'] = 1;
* $conf['auth']['ad']['use_ssl'] = 1;
+ * $conf['auth']['ad']['use_tls'] = 1;
* $conf['auth']['ad']['debug'] = 1;
*
* // get additional information to the userinfo array
@@ -52,7 +53,7 @@ class auth_ad extends auth_basic {
$this->cnf = $conf['auth']['ad'];
// we can change the password if SSL is set
- if($this->cnf['use_ssl']){
+ if($this->cnf['use_ssl'] || $this->cnf['use_tls']){
$this->cando['modPass'] = true;
}
$this->cando['modName'] = true;