lib/Auth
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Fri Oct 5 16:00:47 CEST 2012
lib/Auth/LDAP.php | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d1f831a9e400bca506ab9a8ebfda70c3242589f8
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Fri Oct 5 14:57:43 2012 +0100
Add a bind() call to group_add() (#1078)
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index b73c2a2..41b1bfa 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -270,6 +270,8 @@ class LDAP extends Net_LDAP3 {
// Use [$type_str . "_"]user_rdn_attr
$dn = "cn=" . $attrs['cn'] . "," . $base_dn;
+ $this->bind($_SESSION['user']->user_bind_dn,$_SESSION['user']->user_bind_pw);
+
return $this->add_entry($dn, $attrs);
}
More information about the commits
mailing list