Changeset 5237 in subversion
- Timestamp:
- Sep 19, 2011 5:06:49 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_ldap.php
r5214 r5237 223 223 if (!empty($bind_pass)) { 224 224 if (!empty($bind_dn)) { 225 $this->ready = $this-> _bind($bind_dn, $bind_pass);225 $this->ready = $this->bind($bind_dn, $bind_pass); 226 226 } 227 227 else if (!empty($this->prop['auth_cid'])) { 228 $this->ready = $this-> _sasl_bind($this->prop['auth_cid'], $bind_pass, $bind_user);228 $this->ready = $this->sasl_bind($this->prop['auth_cid'], $bind_pass, $bind_user); 229 229 } 230 230 else { 231 $this->ready = $this-> _sasl_bind($bind_user, $bind_pass);231 $this->ready = $this->sasl_bind($bind_user, $bind_pass); 232 232 } 233 233 } … … 254 254 * @return boolean True on success, False on error 255 255 */ 256 p rivate function _sasl_bind($authc, $pass, $authz=null)256 public function sasl_bind($authc, $pass, $authz=null) 257 257 { 258 258 if (!$this->conn) { … … 305 305 * @return boolean True on success, False on error 306 306 */ 307 p rivate function _bind($dn, $pass)307 public function bind($dn, $pass) 308 308 { 309 309 if (!$this->conn) {
Note: See TracChangeset
for help on using the changeset viewer.
