As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
How to integrate active directory with alfresco community edition. Installed on Ubuntu 17 server
You can read the official documentation on the topic.
Example: authentication and synchronization with one ldap-ad subsystem | Alfresco Documentation