Cannot derive UserBindDN

Hi,

Trying to set up vault on our windows environment and configure the AD secrets engine. When trying to bind we get the following:

"vault : Error writing data to ad/config: Error making API request.
At line:1 char:1

  • vault write ad/config "binddn='CN=Vault,OU=Users,DC=TEST,DC=LOCAL, …
  •   + CategoryInfo          : NotSpecified: (Error writing d...ng API request.:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

URL: PUT http://127.
0
.0.1:8200/v1/ad/conf
i
g
Code:
500
.
Errors:

  • 1 error occurred:
    • cannot derive UserBindDN"

This is the command I’m running in Powershell:

vault write ad/config “binddn=CN=Vault,OU=Users,DC=TEST,DC=LOCAL
bindpass=PasswordHere
url=ldap://127.0.0.1:389
userdn=OU=Users,DC=TEST,DC=LOCAL
insecure_tls=true”

Does anyone have any ideas?