Skip to content

Commit

Permalink
LdapUserGroupBackend: We need a datasource, actually
Browse files Browse the repository at this point in the history
Forgot to add this when disabling LdapRepository inheritance...

refs #7343
  • Loading branch information
Johannes Meyer committed Jun 3, 2015
1 parent d9eb8f9 commit 90d946f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
Expand Up @@ -99,6 +99,23 @@ class LdapUserGroupBackend /*extends LdapRepository*/ implements UserGroupBacken
*/
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
*
Expand Down

0 comments on commit 90d946f

Please sign in to comment.