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

An invalid dn syntax has been specified #1

Open
babak-f opened this issue Jan 16, 2019 · 1 comment
Open

An invalid dn syntax has been specified #1

babak-f opened this issue Jan 16, 2019 · 1 comment

Comments

@babak-f
Copy link

babak-f commented Jan 16, 2019

I'm trying to connect to the AD server from my host computer, via .NET. But when I try any of the connection strings below, it fails with the error "an invalid dn syntax has been specified".

LDAP://localhost:32769/dc=wimpi,dc=net
LDAP://localhost:32769/ou=users,dc=wimpi,dc=net
LDAP://localhost:32769/uid=test,ou=users,dc=wimpi,dc=net

The DNs are copied from the default LDIF file. Also tried specifying username and password, but didn't help.

(32769 is the host port mapped to the AD server in the container.)

@kinow
Copy link

kinow commented Jul 8, 2020

Here's my Java settings in a LDAP client

image

Not sure if you need to pass anything other than the protocol, host, and port in the URL. But when you run the container, it prints its configuration/settings that can be used for connecting to it. In Java the client (API, not the one from screenshot) takes only protocol, URL, port, then extra parameters are entered via other methods to specify user, pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants