# ODK-X sync set up, cannot log in to phpLDAPadmin

**URL:** <https://forum.odk-x.org/t/odk-x-sync-set-up-cannot-log-in-to-phpldapadmin/1164>\
**Category:** Support\
**Tags:** odk-x-sync-endpoint\
**Created:** [March 7, 2021, 2:43am UTC](https://forum.odk-x.org/t/odk-x-sync-set-up-cannot-log-in-to-phpldapadmin/1164 "2021-03-07T02:43:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwrozelle](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/jwrozelle/32/751_2.png) [@jwrozelle](https://forum.odk-x.org/u/jwrozelle)\
**Post date:** [March 7, 2021, 2:43am UTC](https://forum.odk-x.org/t/odk-x-sync-set-up-cannot-log-in-to-phpldapadmin/1164/1 "2021-03-07T02:43:30Z")

</div>

I’ve redeployed this a few times, and just can’t quite crack it. Every time I get to the login section for phpLDAPadmin login, I get the following error:

**Unable to connect to LDAP server ldap-service**  
**Error** : Can’t contact LDAP server (-1) for **user**  
**Failed to Authenticate to server**  
Invalid Username or Password.

I’ve done a fair bit of googling to get to the bottom of the issue, but the phpLDAPadmin directory under /etc/ that others seem to have doesn’t appear to exist.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![jwrozelle](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/jwrozelle/32/751_2.png) [@jwrozelle](https://forum.odk-x.org/u/jwrozelle)\
**Post date:** [March 7, 2021, 3:06am UTC](https://forum.odk-x.org/t/odk-x-sync-set-up-cannot-log-in-to-phpldapadmin/1164/2 "2021-03-07T03:06:30Z")

</div>

False alarm. After digging through the forum here, I saw [someone else with the same issue](https://forum.odk-x.org/t/problems-in-configuring-sync-endpoint-on-local-machine/402), and realized that I had set mine up on the cheapest droplet (partly as a result of the [size slug issue](https://forum.odk-x.org/t/update-size-slug-for-python-script/1163)).

Rather than upgrading, since this is just an experiment, I added a 3GB swapfile, and that seemed to do the trick. Hopefully the rest of setup is smoother sailing!
