Active Directory is a directory services implementation that provides all sorts of functionality like authentication, group and user management, policy administration and more.
Active Directory (AD) supports both Kerberos and LDAP – Microsoft AD is by far the most common directory services system in use today. AD provides Single-Sign On (SSO) and works well in the office and over VPN.
Active Directory is just one example of a directory service that supports LDAP. There are other flavors, too: Red Hat Directory Service, OpenLDAP, Apache Directory Server, and more
This short demo demonstrate how to setup Active Directory to authenticate with Postgres running on Linux
You can take some time to read more on LDAP and Kerberos authentication
Some key configuration could be seen as below but will advise to follow the video for a full understanding