Fatal error after login and suffix question
-
Hi,
try / catch clause missing in NextADInt_Adi_Authentication_LoginService::authenticate()
[15-Sep-2016 09:09:20 UTC] PHP Fatal error: Uncaught Exception: sAMAccountName must not be empty in next-active-directory-integration\classes\Core\Assert.php:70 Stack trace: #0 next-active-directory-integration\classes\Adi\User\Manager.php(101): NextADInt_Core_Assert::notEmpty('', 'sAMAccountName ...') #1 next-active-directory-integration\classes\Adi\User\Manager.php(161): NextADInt_Adi_User_Manager->findByActiveDirectoryUsername('', 'john.wayne...') #2 next-active-directory-integration\classes\Adi\Authentication\LoginService.php(479): NextADInt_Adi_User_Manager->createAdiUser(Object(NextADInt_Adi_Authentication_Credentials), Object(NextADInt_Ldap_Attributes)) #3 next-active-directory-integration\classes\Adi\Authentication\LoginService.php(448): NextADInt_Adi_Authentication_LoginService->createOrUpdateUser(Object(NextADInt_Adi_Auth in next-active-directory-integration\classes\Core\Assert.php on line 70
This was revealed with my SSO login problem:
– Usernames people use to log in to their workstations don’t (necessarily) have suffixes, (eg. EX\jwayne), so I can’t set account suffixes to ADI profile otherwise SSO won’t work.
– Now the user gets their data from AD and authenticate procedure at NextADInt_Adi_Authentication_LoginService::authenticate() calls NextADInt_Adi_Authentication_LoginService::tryAuthenticatableSuffixes() which with the users credentials that now got a suffix (UPN) from AD.So a guestion emberges: How can I add two ADI profiles to the system? Both with same settings but other with suffixes and the other without? Reading the source this seems possible but one cannot add multiple profiles from dashboard?
OR, could it be possible to add “empty suffix” to a ADI profile along with actual suffixes?
Thanks
- The topic ‘Fatal error after login and suffix question’ is closed to new replies.