mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
LdapUserGroupBackend: We need a datasource, actually
Forgot to add this when disabling LdapRepository inheritance... refs #7343
This commit is contained in:
parent
d9eb8f9e8d
commit
90d946f149
@ -99,6 +99,23 @@ class LdapUserGroupBackend /*extends LdapRepository*/ implements UserGroupBacken
|
|||||||
*/
|
*/
|
||||||
protected $name;
|
protected $name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The datasource being used
|
||||||
|
*
|
||||||
|
* @var Connection
|
||||||
|
*/
|
||||||
|
protected $ds;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new LDAP repository object
|
||||||
|
*
|
||||||
|
* @param Connection $ds The data source to use
|
||||||
|
*/
|
||||||
|
public function __construct($ds)
|
||||||
|
{
|
||||||
|
$this->ds = $ds;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the given attribute name normed to known LDAP enviroments, if possible
|
* Return the given attribute name normed to known LDAP enviroments, if possible
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user