Vault 0.10.2--Trying to set up ldap user authentication to use FreeIPA and can't even get started.Tried an initial config via the Gui but once saved, it cannot be deleted, edited or even viewed in the Gui. Disable also seems to have no effect. (Very frustrating). I assume this is simplySo switched to command line and tried to follow the official doc https://www.vaultproject.io/docs/auth/ldap.html and then https://shapeshed.com/hashicorp-vault-ldap/.But can't even get started.vault auth-enable -tls-skip-verify ldapWARNING! The "vault auth-enable" command is deprecated. Please use "vault authenable" instead. This command will be removed in Vault 0.11 (or later).Error enabling ldap auth: Error making API request.URL: POST https://127.0.0.1:8200/v1/sys/auth/ldapCode: 400. Errors:Presumably this means it's already there following the above?So I tried to overwrite with a new dummy config.[ec2-user@ip-10-10-20-215 ~]$ vault write -tls-skip-verify auth/ldap/config \> url="ldaps://ldap01.foo.net" \> binddn="cn=readonly,dc=foo,dc=net" \> bindpass="098765432" \> userdn="ou=people,dc=foo,dc=net" \> userattr="uid" \> groupdn="ou=group,dc=foo,dc=net" \> groupattr="cn" \> insecure_tls=falseError writing data to auth/ldap/config: Error making API request.Code: 404. Errors:* no handler for route 'auth/ldap/config'Which implies it isn't.As I can't enable, disable or write any config, how can I set it up?Is my Vault install broken and how can I fix it?Additionally, (if I ever get that far) my Freeipa is SSLd on a self signed cert. I have the public pem file which I've used successfully elsewhere but the docs say, to reference the cert in the config, you use a line likecertificate = @ldap_cert.pemThere is however, no mention of where it will look to pick up that file - is it just the pwd?
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/d8e8ff0a-ff09-46a4-b362-ca53d061d6a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/c3f6d199-396d-467d-bbca-7958d3d79665%40googlegroups.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/d10202b9-e80b-43fe-b778-89be399d8070%40googlegroups.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/45a3c0a0-e2b4-4ec0-bfda-7587243f295c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/9ff7724c-0fce-4dd9-9051-1faeb1623d0e%40googlegroups.com.
Using FreeIPA out of the box (with nothing clever done to the structure), my config is
vault write -tls-skip-verify auth/ldap/config \
url="ldaps://ldap.foo.com" \
userattr="uid" \
userdn="cn=users,cn=accounts,dc=foo,dc=com" \
discoverdn=true \
groupdn="cn=groups,cn=compat,dc=foo,dc=com" \
certificate=@ldap_cert.pem \
insecure_tls=false \
starttls=true