Useful cool solution for Alfresco here by Denissen.
LDAP auth also needs this cool solution. The suggested test command is particularly helpful.
Putting the two together requires these additional lines in the first solution, in file
Without above, Alfresco tries to authenticate against LDAP as cn=Manager,dn=company,dn=com with error Reason [LDAP: error code 49 - Invalid Credentials -
Adding this line to the bottom of solution would be helpful...
Restart Alfresco, which will automagically run authentication subsystem and user import.
Also the last line of solution has a bad typo that may cause confusion
Users from the LDAP are not synced into the Alfresco database
Users from LDAP are now synced into the Alfresco database