Logo Search packages:      
Sourcecode: dacode version File versions  Download package

Ldap::cat ( dn  ) 

Read an entry in the directory, never used

Parameters:
string the dn of the object
Returns:
integer a search result identifier or 0 on error. public

Definition at line 516 of file ldap.php3.

References connect(), and resetResult().

      {
            $e = error_reporting(0);
            $result = array();
            if (!$this->connect())
            {
                  error_reporting($e);
                  return(0);
            }
            $filter = "(objectclass=*)";

            $this->sr = ldap_read($this->cid, $dn, $filter);
            $ldap->error = ldap_error($this->cid);
            $this->resetResult();
            error_reporting($e);
            return($this->sr);
      }


Generated by  Doxygen 1.6.0   Back to index