User name reserved #7263

Closed
opened 2025-11-02 07:21:15 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @jscolaire on GitHub (Apr 28, 2021).

  • Gitea version (or commit ref): docker image gitea/gitea:1.14.1 but fails in some versions (1.11.0+dev-11-g1e9b33052 1.12.6 )
  • Git version:
  • Operating system: linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

2021/04/28 09:23:18 ...dels/login_source.go:717:UserSignIn() [W] Failed to login 'js' via 'ipa': name is reserved [name: js]

Description

User name js is reserved. It's indifferent if authetication source is LDAP or local. I have an user with js as user name.
...

Screenshots

2021-04-28_12-16

Originally created by @jscolaire on GitHub (Apr 28, 2021). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq) 5. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): docker image gitea/gitea:1.14.1 but fails in some versions (1.11.0+dev-11-g1e9b33052 1.12.6 ) - Git version: - Operating system: linux <!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package --> <!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. ---> <!-- If you are using a package or systemd tell us what distribution you are using --> - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> 2021/04/28 09:23:18 ...dels/login_source.go:717:UserSignIn() [W] Failed to login 'js' via 'ipa': name is reserved [name: js] ## Description <!-- If using a proxy or a CDN (e.g. CloudFlare) in front of gitea, please disable the proxy/CDN fully and connect to gitea directly to confirm the issue still persists without those services. --> User name *js* is reserved. It's indifferent if authetication source is LDAP or local. I have an user with js as user name. ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![2021-04-28_12-16](https://user-images.githubusercontent.com/1184251/116389229-023cf780-a81d-11eb-842b-9c89ab2dfa0d.png)
Author
Owner

@a1012112796 commented on GitHub (Apr 28, 2021):

waiting https://github.com/go-gitea/gitea/pull/15219

@a1012112796 commented on GitHub (Apr 28, 2021): waiting https://github.com/go-gitea/gitea/pull/15219
Author
Owner

@richmahn commented on GitHub (Apr 28, 2021):

Fixed via #15219

@richmahn commented on GitHub (Apr 28, 2021): Fixed via #15219
Author
Owner

@jscolaire commented on GitHub (Apr 28, 2021):

I don't understand, I'm sorry. In #15219 I don't read about reserved user names, only about root or admin.

In this case I'm speaking about an user name called js. Why is it reserved word?.

Thanks

@jscolaire commented on GitHub (Apr 28, 2021): I don't understand, I'm sorry. In #15219 I don't read about reserved user names, only about root or admin. In this case I'm speaking about an user name called *js*. Why is it reserved word?. Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7263