lib/Auth
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Mon Sep 3 16:55:18 CEST 2012
lib/Auth/LDAP.php | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1c7e3b13cc6b4d2a8331b2c71778733d59ecb69d
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Mon Sep 3 15:55:02 2012 +0100
Make sure we are bound to LDAP when adding a user
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index 33214e5..c2940df 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -740,6 +740,7 @@ class LDAP extends Net_LDAP3 {
}
public function user_add($attrs, $typeid = null) {
+ $this->bind($_SESSION['user']->user_bind_dn, $_SESSION['user']->user_bind_pw);
if ($typeid == null) {
$type_str = 'user';
}
More information about the commits
mailing list