Hi,
I'm trying to implement LDAP with OTP for vCenter using the new LDAP bridge. I also i want to use the default RCDevs Directory as the backend LDAP directory and i'm running into a problem: ldap requests are not forwarded to the rcdevs directory but authentication goes to the OTP service regardless of the openotp-ignored_dn setting. I've created a LDAP user with read only access to the directory and tested with ldapsearch:
ldapsearch -x -D "cn=ldproxy,o=Root" -w 123 -H ldap://0.0.0.0:389 Searching via the LDAP proxy does not work:
ldapsearch -D "cn=ldproxy,o=Root" -w 123 -H ldap://0.0.0.0:10389 -b o=Root
The authentication request goes to the OpenOTP service which it cannot access because it is a LDAP account and not a webadm account.
These are settings in slapd.conf:
# IP address or hostname of your LDAP back-end.
uri ldap://0.0.0.0/
# Proxy user used to proxy queries to the LDAP back-end.
acl-bind bindmethod="simple"
binddn="cn=ldproxy,o=Root"
credentials="123"
# Proxy user used for OTP user binds to the LDAP back-end.
openotp-bind_dn "cn=ldproxy,o=Root"
openotp-bind_pw "123"
openotp-ignored_dn "cn=ldproxy,o=Root"
The authentication log, this user should not be authenticated by the webservice but should go directly to
2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] New openotpSimpleLogin SOAP request
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] > Username: ldproxy
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] > Domain: mydomain
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] > Password: xxxxxxxxxxxx
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] > Client ID: ldproxy
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] > Source IP: 127.0.0.1
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] > Settings: ChallengeMode=No
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] > Options: -U2F
[2015-12-04 12:21:49] [127.0.0.1] [OpenOTP:D1619830] Enforcing client policy: ldproxy
Did i configure it correctly, and is this setup possible? Also what is the difference between the acl-bind user and the openotp-bind user? Do i need to create separate accounts for these options?