TremoloSecurity / MyVirtualDirectory

Open Source LDAP Virtual Directory
Apache License 2.0
45 stars 18 forks source link

Cannot authenticate (bind) via proxy to remote server #146

Open one-bit opened 2 years ago

one-bit commented 2 years ago

I have a very simple setup where MyVD is configured as a proxy to a remote LDAP server. If I don't use authentication, I can successfully connect to MyVD (e.g. using Apache DS Studio) and search and list all entries in the remote server through my MyVD server. However, if I try to authenticate/bind to MyVD I always get an error:

INFO DumpTransaction - [Global] Error Running Bind com.novell.ldap.LDAPException: No Such Object

For reference the remote LDAP server is an IBM Tivoli Directory Server, Version 6.3 server. And I've tried this same config with MyVD v1.0.11 and v1.0.9.

And the DN of the user used to authenticate/bind against the remote server is somehow uncommon: os400-profile=myuser so I'm not sure if there's something I still need to add to my conf file in order to allow the authentication based on this DN.

My config file: myvd.conf.txt

And here's a snippet of the error in my log file: myvd.log.log

Thanks in advance for any help on this.