Changeset 56651c1 in github
- Timestamp:
- May 4, 2011 3:31:42 PM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 7c141cc
- Parents:
- 630f0e4
- File:
-
- 1 edited
-
program/include/rcube_ldap.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_ldap.php
rd476d3a r56651c1 128 128 if (!function_exists('ldap_connect')) 129 129 raise_error(array('code' => 100, 'type' => 'ldap', 130 'file' => __FILE__, 'line' => __LINE__, 131 'message' => "No ldap support in this installation of PHP"), true); 130 'file' => __FILE__, 'line' => __LINE__, 131 'message' => "No ldap support in this installation of PHP"), 132 true, true); 132 133 133 134 if (is_resource($this->conn)) … … 252 253 253 254 if (!function_exists('ldap_sasl_bind')) { 254 raise_error(array( 255 'code' => 100, 'type' => 'ldap', 255 raise_error(array('code' => 100, 'type' => 'ldap', 256 256 'file' => __FILE__, 'line' => __LINE__, 257 257 'message' => "Unable to bind: ldap_sasl_bind() not exists"), 258 true, true);258 true, true); 259 259 } 260 260 … … 311 311 $this->_debug("S: ".ldap_error($this->conn)); 312 312 313 $error =array(314 'code' => ldap_errno($this->conn), 'type' => 'ldap',315 'file' => __FILE__, 'line' => __LINE__,316 'message' => "Bind failed for dn=$dn: ".ldap_error($this->conn));317 raise_error($error,true);313 raise_error(array( 314 'code' => ldap_errno($this->conn), 'type' => 'ldap', 315 'file' => __FILE__, 'line' => __LINE__, 316 'message' => "Bind failed for dn=$dn: ".ldap_error($this->conn)), 317 true); 318 318 319 319 return false;
Note: See TracChangeset
for help on using the changeset viewer.
