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

Add SSH keys on login from LDAP #5545

Closed
2 of 7 tasks
NomAnor opened this issue Dec 14, 2018 · 3 comments
Closed
2 of 7 tasks

Add SSH keys on login from LDAP #5545

NomAnor opened this issue Dec 14, 2018 · 3 comments
Labels
type/enhancement An improvement of existing functionality

Comments

@NomAnor
Copy link

NomAnor commented Dec 14, 2018

  • Gitea version (or commit ref): master
  • Git version: 2.20.0
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

The SSH keys in the LDAP directory are only added to the user accounts when the synchronization task is run not when a user first logs in.

This means that a user can't push as soon as he is logged in and he needs to add the key himself making the key storage in LDAP not so useful.

Is it possible to add the keys when the user is created on first login?

@zeripath
Copy link
Contributor

Hi @NomAnor I wonder if you could test #5557 and see if that fixes your issue?

@zeripath
Copy link
Contributor

zeripath commented Jan 2, 2019

@NomAnor, #5557 has been merged into the master branch. Does that solve your issue? If so, could you close this.

@lafriks
Copy link
Member

lafriks commented Jan 5, 2019

Closing as fixed

@lafriks lafriks closed this as completed Jan 5, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants