This repository was archived by the owner on Sep 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ All notable changes to this project will be documented in this file.
1818 - Function unauthorize in PerunIdentity is now public
1919 - Changed the login and registration process
2020
21+ [ Fixed]
22+ - Fixed the problem with access to non-secured LDAP
23+ - Fixed the bad call of function 'searchForEntity(...)' in function getVoById() in AdapterLdap.php
24+
2125 ## [ v1.0.0]
2226
2327 [ Unreleased ] : https://github.com/CESNET/perun-simplesamlphp-module/tree/master
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ public function __construct ($configFileName = null)
3535 $ conf = SimpleSAML_Configuration::getConfig ($ configFileName );
3636
3737 $ this ->ldapHostname = $ conf ->getString (self ::LDAP_HOSTNAME );
38- $ this ->ldapUser = $ conf ->getString (self ::LDAP_USER );
39- $ this ->ldapPassword = $ conf ->getString (self ::LDAP_PASSWORD );
38+ $ this ->ldapUser = $ conf ->getString (self ::LDAP_USER , null );
39+ $ this ->ldapPassword = $ conf ->getString (self ::LDAP_PASSWORD , null );
4040 $ this ->ldapBase = $ conf ->getString (self ::LDAP_BASE );
4141
4242
@@ -155,7 +155,7 @@ public function getVoByShortName($voShortName)
155155
156156 public function getVoById ($ id )
157157 {
158- $ vo = sspmod_perun_LdapConnector:: searchForEntity ($ this ->ldapBase ,
158+ $ vo = $ this -> connector -> searchForEntity ($ this ->ldapBase ,
159159 "(&(objectClass=perunVo)(perunVoId= $ id)) " ,
160160 array ("o " , "description " )
161161 );
You can’t perform that action at this time.
0 commit comments