Closed
Description
Description
When LDAP Authentication configured only with required fields, sync_external_users not creating accounts.
Enable user synchronization option is checked.
When trying to login with user from connected LDAP, new user is created with username taken from uid probably.
On the next sync this user is marked as inactive.
It either documentation problem or a bug.
Gitea Version
1.17.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Using compose file
---
version: "2"
services:
db:
image: bitnami/postgresql:latest
user: 1001
environment:
- POSTGRESQL_USER=gitea
- POSTGRESQL_PASSWORD=gitea
- POSTGRESQL_DATABASE=gitea
networks:
- gitea-network
gitea:
image: gitea/gitea:1.17.1-rootless
user: 1000:1000
environment:
- DB_TYPE=postgres
- DB_HOST=db:5432
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWD=gitea
volumes:
- ./gitea-config:/etc/gitea
- ./gitea-data:/var/lib/gitea
ports:
- "3000:3000"
depends_on:
- db
networks:
- gitea-network
ldap1:
image: glauth/glauth
user: 1000
volumes:
- ./ldap-config.cfg:/app/config/config.cfg
networks:
- gitea-network
Database
PostgreSQL