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

After upgrading my docker and os, LDAP->ldap_server always lost its data. #104

Open
semaphor34 opened this issue Apr 12, 2023 · 0 comments
Assignees
Labels

Comments

@semaphor34
Copy link

Description:
OS: Ubuntu Server 20.04 lts
Docker
After upgrading patching my os and docker , the protected member ldap_server of class LDAP always looses its data.
The member function checklogin() from class **LDAP **is always failing. I am not sure, what the problem is. But i think, the way it looses the data is when redirect happens. ".../oauth/authorize.php 302"

My testldap.php is written on similar code to LDAP.php but without any object oriented programming.
And this is working. And all was fine before the patches and upgrade.

I always setup the extra host ip for docker-compose of each conatiner, so that container "mattermost" contains the ip of container "webserver"

I am very sure with my Gitlab section in config.json of Mattermost-Server.

        "AuthEndpoint": "http://webserver-ip/oauth/authorize",
        "TokenEndpoint": "http://webserver-ip/oauth/token.php",
        "UserAPIEndpoint": "http://webserver-ip/oauth/resource.php",

Error: LDAP Operation error ".../oauth/LDAP/LDAP.php - 118"

To Reproduce
Steps to reproduce the behavior: look to the description.

Workaround: Temporarily away from OOP. That works!

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

2 participants