Installing ODK Sync Endpoint on a Ubuntu 18.04 VM, and following the instructions at https://docs.opendatakit.org/odk-x/sync-endpoint/, it says the following:
The default admin account is cn=admin,dc=example,dc=org. The default password is admin - it can be changed with the LDAP_ADMIN_PASSWORD environment variable in ldap.env The default readonly account is cn=readonly,dc=example,dc=org. The default password is readonly - it can be changed with the LDAP_READONLY_USER_PASSWORD environment variable in ldap.env. This account is used by the Sync Endpoint to retrieve user information.
My question: now that I've done this by editing ldap.env (in the sync-endpoint-default-setup directory), and stopped the stack with
docker stack rm syncldap
and restarted it with
docker stack deploy -c docker-compose.yml syncldap,
I find that the credentials have not actually changed -- I must still use the old default admin and readonly passwords for LDAP commands. Is there something else I need to do, like rebuild? and if so, is there any way to do that without overwriting the LDAP entries I've added and modified?
Thanks in advance.