jenkinsci / jenkinsci/ldap-plugin
[JENKINS-71511] LDAPS tries to connect to DomainDnsZones instead of specified Server
- Dominant language
- Java
- Stars
- 51
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
LDAPS tries to connect to DomainDnsZones instead of specified server
Without ldaps it works fine, but with ldaps://servername:636 the following error is returned
java.net.ConnectException: Connection timed out: connect
Caused: javax.naming.CommunicationException: DomainDnsZones.*:636 [Root exception is java.net.ConnectException: Connection timed out: connect]

---
Originally reported by loojo, imported from: LDAPS tries to connect to DomainDnsZones instead of specified Server
Raw content of original issue
LDAPS tries to connect to DomainDnsZones instead of specified server
Without ldaps it works fine, but with ldaps://servername:636 the following error is returned
java.net.ConnectException: Connection timed out: connect
Caused: javax.naming.CommunicationException: DomainDnsZones.*:636 [Root exception is java.net.ConnectException: Connection timed out: connect]
environment
```
Jenkins 2.387.3
LDAP Plugin Version 682.v7b_544c9d1512
```
1 attachment
- [image-2023-06-21-22-22-24-939.png](https://issues.jenkins.io/secure/attachment/60634/image-2023-06-21-22-22-24-939.png)
> 
Contributor guide
Research direction
No file or test is named. Start by reproducing the issue with Jenkins 2.387.3 and LDAP Plugin 682.v7b_544c9d1512, comparing ldaps://servername:636 with the working non-LDAPS path. Trace why the connection target becomes DomainDnsZones; done means LDAPS connects to the specified server and the behavior has regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100