For the chapter - “LDAP Authorization Setup”, I spun up both vagrant machines m034 and ldap and then I tried to check ldap settings using mongoldap and got below error. I am new to LDAP and know nothing! So, please help me what I need to to on ldap vagrant box to resolve this issue.
vagrant@m034:/shared$ mongoldap --user alice --password secret -f /shared/mongod.cnf
Running MongoDB LDAP authorization validation checks…
Checking that an LDAP server has been specified…
[OK] LDAP server found
Connecting to LDAP server…
[FAIL] Could not connect to any of the specified LDAP servers
* Error: UnknownError: LDAP Operation <ldap_search_ext_s>, Failed to perform query: Can’t contact LDAP server’ Query was: 'BaseDN: “”, Scope: “base”, Filter: “(objectclass=*)”, Attributes: “supportedSASLMechanisms”, '". (-1/Can’t contact LDAP server)
* The server may be down, or ‘security.ldap.servers’ or ‘security.ldap.transportSecurity’ may be incorrectly configured.
* Alternatively the server may not allow anonymous access to the RootDSE.