Last night I tried upgrading from 1.3.2 to 1.7.0 by simply replacing the binary file. Vault started fine, however, we saw the below error after upgrade:
[root@isipl5jmp01 bin]# vault login -method ldap username=
Password (will be hidden):
Error authenticating: Error making API request.
Looks like there were some bug fixes for LDAP auth per the release notes. I’m not sure if any of them would change behavior. It’s also been a while since I’ve used LDAP auth so I’m a little rusty on what to look for these days.
However, I’d look at a few things based on your config:
Looks like you’re using a bind account - make sure the password is correct
Depending what you’re attempting to do with the groupfilter you may want to review the recommended defaults and see if your setting needs any adjustment
Looks like you’re using unencrypted LDAP connections, you might need to use encrypted (port 636)
Is the UPN domain correct? Are your user’s UPNs formatted as ${username}@flahca or ${username}@flahca.local?
Thanks for the reply. Answers to your questions inline below:
Looks like you’re using a bind account - make sure the password is correct
-I wonder if it needs to be re-entered after an upgrade? Not 100% sure.
Depending what you’re attempting to do with the groupfilter you may want to review the recommended defaults and see if your setting needs any adjustment
-The particular error I received seemed to indicate it was an issue with the bind user.
Looks like you’re using unencrypted LDAP connections, you might need to use encrypted (port 636)
-I’m not sure what this involves to get set up or how it would help my current issue.
Is the UPN domain correct? Are your user’s UPNs formatted as ${username}@flahca or ${username}@flahca.local ?
-Yes. The user’s UPN’s are formatted as ${username}@flahca.local.
I don’t believe the password needs to be updated after an upgrade, but it may be worth re-applying or resetting just to rule that out
Fair, but might be something to look at as you progress
Certain activities within Active Directory require leveraging an encrypted connection. I know changing password does, but I don’t recall if authentication requires it offhand. This, of course, assumes you’re using AD. This guide might be helpful to set up LDAPS or to verify it’s already configured.
Per your config, the “upndomain”: “flahca” parameter may need to be updated to “upndomain”: “flahca.local”.