aad-for-linux / pam_aad

Azure Active Directory PAM Module
GNU General Public License v3.0
22 stars 9 forks source link

Allow custom usernames (other than user principal name) #30

Closed robin-wayve closed 1 year ago

robin-wayve commented 1 year ago

Having an @ in the username has caused some issues in software I'm using. I thought since --oid (object ID) is a separate flag to the LOGIN argument, that I'd be able to make my login whatever I wanted but instead I get

aaduseradd: invalid user UPN 'robin'. Use useradd instead.
oxr463 commented 1 year ago

The aaduseradd utility is not part of this project. We curently only provide a PAM module, an NSS module, and an OpenVPN plugin.

Relates to https://github.com/aad-for-linux/pam_aad/issues/25