Added server info
This commit is contained in:
@@ -12,4 +12,14 @@ class Entry extends Model
|
||||
* @var array
|
||||
*/
|
||||
public static $objectClasses = [];
|
||||
|
||||
public function rootDSE($connection = null)
|
||||
{
|
||||
return static::on($connection ?? (new static)->getConnectionName())
|
||||
->in(null)
|
||||
->read()
|
||||
->select(['+'])
|
||||
->whereHas('objectclass')
|
||||
->firstOrFail();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user