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

Loose user admin after new connexion and create a new user LDAP #189

Open
rodinux opened this issue Jul 9, 2024 · 1 comment
Open

Loose user admin after new connexion and create a new user LDAP #189

rodinux opened this issue Jul 9, 2024 · 1 comment

Comments

@rodinux
Copy link

rodinux commented Jul 9, 2024

Describe the bug

Sign in again with the admin user LDAP create a new user changing last name letter

Context

  • Hardware: VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...
  • YunoHost version: 11.2.20.1
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 2.8.14~ynh4

Steps to reproduce

  • If the error occurs in your browser, explain what you did:
    1. Go to 'Sign in'
    2. Click on 'sign with LDAP'
    3. Put my admin user user_foo LDAP and password (this not the first time and I have get and edit adminsettings yet with it'
    4. Discourse show me Welcome message and create a new user with a different nick name like user_fo1
    5. I can no more login with my admin user
    6. Try to change the nickname with user_foo
    7. *The user yet exist, so I can't *

Expected behavior

Keep my admin user LDAP safe, when login again it should have recognize it

Logs

/var/log/nginx/discourse.domain.tld-access.log

XX.XXX.XX.XXX - - [09/Jul/2024:17:35:41 +0000] "GET /u/check_username?username=&email=user_foo%40habicoop.fr HTTP/2.0" 200 16 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:35:41 +0000] "GET /u/check_username?username=technique_numericoo1&email=user_foo%40habicoop.fr HTTP/2.0" 200 39 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:06 +0000] "GET /session/csrf HTTP/2.0" 200 99 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:06 +0000] "GET /u/check_username?username=&email=user_foo%40habicoop.fr HTTP/2.0" 200 16 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:08 +0000] "POST /u HTTP/2.0" 200 101 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:08 +0000] "POST /login HTTP/2.0" 302 109 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:09 +0000] "GET /u/account-created HTTP/2.0" 302 92 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:09 +0000] "GET / HTTP/2.0" 200 51607 "https://discourse.domain.tld/login" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:12 +0000] "GET /images/discourse-logo-sketch-small.png HTTP/2.0" 200 62655 "https://discourse.domain.tld/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
194.11.20.66 - - [09/Jul/2024:17:36:13 +0000] "GET /plugins/discourse-narrative-bot/images/font-awesome-ellipsis.png HTTP/1.1" 200 822 "-" "Ruby"
194.11.20.66 - - [09/Jul/2024:17:36:13 +0000] "GET /plugins/discourse-narrative-bot/images/font-awesome-bookmark.png HTTP/1.1" 200 733 "-" "Ruby"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:17 +0000] "GET /notifications?recent=true&limit=30 HTTP/2.0" 200 406 "https://discourse.domain.tld/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:20 +0000] "GET /notifications?recent=true&limit=30 HTTP/2.0" 200 406 "https://discourse.domain.tld/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:22 +0000] "GET /notifications?recent=true&limit=30 HTTP/2.0" 200 406 "https://discourse.domain.tld/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:22 +0000] "GET /letter_avatar_proxy/v4/letter/t/c89c15/32.png HTTP/2.0" 500 0 "https://discourse.domain.tld/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
XX.XXX.XX.XXX - - [09/Jul/2024:17:36:25 +0000] "DELETE /session/user_fo1 HTTP/2.0" 200 20 "https://discourse.domain.tld/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
@rodinux
Copy link
Author

rodinux commented Jul 9, 2024

well, after been a little discouraged I try remove an reinstall now I have another issue...

https://paste.yunohost.org/raw/ipebonoqur

another test. It seems a problem with dependencies allowed at app collabora, I am right ?

https://paste.yunohost.org/raw/atupesuduy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant