src/Adldap.php
public function getRootDse($attributes = ['*', '+'])
    {
        return $this->search()
            ->setDn(null)
            ->read(true)
            ->select($attributes)
            ->where('objectClass', '*')
            ->first();
    }
public function getRootDse($attributes = ['*', '+'])
    {
        return $this->search()
            ->setDn(null)
            ->read(true)
            ->select($attributes)
            ->where('objectClass', '*')
            ->first();
    }
public function getRootDse ( $ attributes = [ '*' , '+' ] ) { return $ this -> search ( ) -> setDn ( null ) -> read ( true ) -> select ( $ attributes ) -> where ( 'objectClass' , '*' ) -> first ( ) ; }
Get the RootDSE properties from a domain controller.

@param array $attributes The attributes you wish to query e.g. defaultnamingcontext

@return array|bool
Get the RootDSE properties from a domain controller .