Skip to content

CyberNinjas/pam_aad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a1429f9 · May 6, 2020
Jun 19, 2019
Aug 15, 2019
Jun 19, 2019
Jun 19, 2019
Jun 27, 2019
Jun 27, 2019
Jun 19, 2019
Jun 19, 2019
May 31, 2019
Dec 3, 2019
Jun 19, 2019
Dec 6, 2018
Mar 21, 2019
May 6, 2020
Jul 26, 2019
Dec 6, 2018
Aug 16, 2019
Aug 15, 2019

Repository files navigation

pam_aad Build Status GPL-3.0-or-later Download

Azure Active Directory PAM Module

This PAM module aims to provide Azure Active Directory authentication for Linux.

Installation

./bootstrap.sh
./configure --with-pam-dir=/lib/x86_64-linux-gnu/security/
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}}"
  },
  "smtp_server": "{{smtp_server}}",
  "tenant": {
    "name": "{{organization}}.onmicrosoft.com",
    "address": "{{organization_email_address}}"
  }
}

Current Behavior

asciicast

See also