AliAllomani / pam_aad

Azure Active Directory PAM Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Azure Active Directory PAM Module

License:GNU General Public License v3.0


Languages

Language:C 61.0%Language:Dockerfile 23.1%Language:M4 7.2%Language:Shell 4.7%Language:Makefile 4.1%