packages: ldap-account-manager/loginbysearch.patch (NEW) - fix login by sea...

glen glen at pld-linux.org
Tue Nov 10 10:06:46 CET 2009


Author: glen                         Date: Tue Nov 10 09:06:46 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix login by search:
  as this search mode does: binds as anonymous, searches for user's DN from given username, binds with this DN
  don't know how it could work without allowing anonymous binds

---- Files affected:
packages/ldap-account-manager:
   loginbysearch.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ldap-account-manager/loginbysearch.patch
diff -u /dev/null packages/ldap-account-manager/loginbysearch.patch:1.1
--- /dev/null	Tue Nov 10 10:06:46 2009
+++ packages/ldap-account-manager/loginbysearch.patch	Tue Nov 10 10:06:41 2009
@@ -0,0 +1,11 @@
+--- /usr/share/ldap-account-manager/lib/ldap.inc~	2009-10-28 18:35:23.000000000 +0200
++++ /usr/share/ldap-account-manager/lib/ldap.inc	2009-11-10 11:04:34.889151265 +0200
+@@ -166,7 +166,7 @@
+ 	function server() {
+ 		if (!$this->is_connected) {
+ 			$data = $this->decrypt_login();
+-			$this->connect($data[0], $data[1]);
++			$this->connect($data[0], $data[1], true);
+ 			$this->is_connected = true;
+ 		}
+ 		return $this->server;
================================================================


More information about the pld-cvs-commit mailing list