public function rename($dn, $newdn, $newparent, $deleteolddn)
	{
		return @ldap_rename($this->resource, $dn, $newdn, $newparent, $deleteolddn);
	}
public function rename($dn, $newdn, $newparent, $deleteolddn)
	{
		return @ldap_rename($this->resource, $dn, $newdn, $newparent, $deleteolddn);
	}
public function rename ( $ dn , $ newdn , $ newparent , $ deleteolddn ) { return @ ldap_rename ( $ this -> resource , $ dn , $ newdn , $ newparent , $ deleteolddn ) ; }
Rename the entry

@param   string   $dn           The DN of the entry at the moment
@param   string   $newdn        The DN of the entry should be (only cn=newvalue)
@param   string   $newparent    The full DN of the parent (null by default)
@param   boolean  $deleteolddn  Delete the old values (default)

@return  boolean  Result of operation

@since   1.0
Rename the entry