Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing meta_key "domainsid" results in TypeError or NextADInt_ActiveDirectory_Context::isMember #138

Closed
schakko opened this issue Apr 16, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@schakko
Copy link
Member

schakko commented Apr 16, 2021

Under specific circumstances (e.g. if a user has been synchronized long before but the meta_key "domainsid" for the user is missing), NextADInt_ActiveDirectory_Context::isMember fails with

PHP Fatal error: Uncaught TypeError: Argument 1 passed to NextADInt_ActiveDirectory_Context::isMember() must be an instance of NextADInt_ActiveDirectory_Sid, null given, called in plugins/next-active-directory-integration/classes/Adi/Synchronization/Abstract.php on line 171
@schakko schakko added the bug label Apr 16, 2021
@schakko schakko added this to the 2.2.1 milestone Apr 16, 2021
@schakko schakko self-assigned this Apr 16, 2021
@schakko schakko changed the title Missing "domainkey" results in TypeError or NextADInt_ActiveDirectory_Context::isMember Missing meta_key "domainkey" results in TypeError or NextADInt_ActiveDirectory_Context::isMember Apr 16, 2021
@schakko schakko changed the title Missing meta_key "domainkey" results in TypeError or NextADInt_ActiveDirectory_Context::isMember Missing meta_key "domainsid" results in TypeError or NextADInt_ActiveDirectory_Context::isMember Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant