DependencyTrack / DependencyTrack/dependency-track
LDAP Configuration Issue: Invalid Distinguished Name
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
You have configured Microsoft LDAP, but when creating a user from the system settings LDAP users, the distinguished name (DN) always shows as INVALID. Here is your configuration:
ALPINE_LDAP_ENABLED: "true"
ALPINE_LDAP_SERVER_URL: "ldap://xxx:3268"
ALPINE_LDAP_BASEDN: "DC=xxx,DC=cn"
ALPINE_LDAP_SECURITY_AUTH: "simple"
ALPINE_LDAP_BIND_USERNAME: "CN=jamessong,OU=xxx,DC=xxxx,DC=cn"
ALPINE_LDAP_BIND_PASSWORD: "xxx"
I mentioned that ldapsearch can successfully retrieve users, but the distinguished name is still showing as INVALID.
### Steps to Reproduce
1.
### Expected Behavior
can log in using Microsoft LDAP.
### Dependency-Track Version
4.13.6
### Dependency-Track Distribution
Container Image
### Database Server
PostgreSQL
### Database Server Version
postgres:17-alpine
### Browser
Google Chrome
### Checklist
- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported
Contributor guide
Assessment
This issue has not been assessed yet.