Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

aad-for-linux/pam_aad

Repository files navigation

pam_aad

GPL-3.0-or-later GitHub Actions

Azure Active Directory PAM Module.

Installation

./bootstrap.sh
./configure
make
sudo make install

Configuration

Edit /etc/pam.d/{{service}} and add the following line:

auth required pam_aad.so

Configuration File

Create the file /etc/pam_aad.conf and fill it with:

{ 
  "client": {
    "id": "{{client_id}}"
  },
  "domain": "{{domain}}",
  "group": {
    "id": "{{group_id}}"
  },
  "tenant": {
    "name": "{{organization}}.onmicrosoft.com",
    "address": "{{organization_email_address}}"
  }
}

Current Behavior

asciicast

See also