KB Article #180835

"Cannot set home folder for user" error when trying to log in using LDAP on Windows

Problem

SecureTransport services are started as local system account. The user set in SecureTransport's Password Vault to access the home folder share belongs to a separate domain. SecureTransport can not access the file share and may encounter permissions issues either at user login OR during file upload. The server log is showing:


Cannot set home folder for user


Resolution

Ideally, if SecureTransport and the file share use different domains, SecureTransport services must start as file share domain user.


  1. Change SecureTransport Windows Services to run with a domain user instead of a local system account
  2. Add the domain user to SecureTransport’s Password Vault (Accounts → System → Add Vault Entry)
  3. Set the same domain user in the Account or Account Template setup in the Real User attribute
  4. If using LDAP and Account Templates, set the same domain user in LDAP User Settings in the System user attribute.