Open Jnchi opened 5 years ago
Currently defined in the source as,
#define USER_PROMPT "An email with a one-time passcode was sent to your email." \ "\nEnter the code at https://aka.ms/devicelogin, then press enter.\n"
Template should be stored in /etc/aad/template.d/, (See: https://github.com/CyberNinjas/libnss_aad/issues/5); or similar; add this to the config file via template_dir.
/etc/aad/template.d/
template_dir
Example
Contents of /etc/pam_aad.conf:
/etc/pam_aad.conf
{ "client": { "id": "{{client_id}}" }, "domain": "{{domain}}", "group": { "id": "{{group_id}}" }, "smtp_server": "{{smtp_server}}", "tenant": { "name": "{{organization}}.onmicrosoft.com", "address": "{{organization_email_address}}" }, "template_dir": "{{template_dir}}" }
@eredisg, see the new description.
Currently defined in the source as,
Template should be stored in
/etc/aad/template.d/
, (See: https://github.com/CyberNinjas/libnss_aad/issues/5); or similar; add this to the config file viatemplate_dir
.Example
Contents of
/etc/pam_aad.conf
: