Skip to content
Snippets Groups Projects
Commit d1269f86 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Update Logger class usage to new namespace

parent 981de790
No related branches found
No related tags found
No related merge requests found
...@@ -116,12 +116,12 @@ class sspmod_ldap_Auth_Process_AttributeAddUsersGroups extends sspmod_ldap_Auth_ ...@@ -116,12 +116,12 @@ class sspmod_ldap_Auth_Process_AttributeAddUsersGroups extends sspmod_ldap_Auth_
case 'OPENLDAP': case 'OPENLDAP':
// Log the OpenLDAP specific search // Log the OpenLDAP specific search
SimpleSAML_Logger::debug( SimpleSAML\Logger::debug(
$this->title . 'Searching LDAP using OpenLDAP specific method.' $this->title . 'Searching LDAP using OpenLDAP specific method.'
); );
// Print group search string and search for all group names // Print group search string and search for all group names
$openldap_base = $this->config->getString('ldap.basedn','ou=groups,dc=example,dc=com'); $openldap_base = $this->config->getString('ldap.basedn','ou=groups,dc=example,dc=com');
SimpleSAML_Logger::debug( SimpleSAML\Logger::debug(
$this->title . "Searching for groups in ldap.basedn ".$openldap_base." with filter (".$map['memberof']."=".$attributes['uid'][0].") and attributes ".$map['member'] $this->title . "Searching for groups in ldap.basedn ".$openldap_base." with filter (".$map['memberof']."=".$attributes['uid'][0].") and attributes ".$map['member']
); );
$groups = array(); $groups = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment