Skip to content

UserPrincipalName support as User attribute #129

Closed

Description

@im4kv

Hi,
In Active Directory we have UserPrincipalName attribute for the User object which is the actual logon name for the user (Ex: [email protected]). based on this feature some applications use this attribute for Active Directory authentication.
So the question is, could we have it as an attribute for user object in glauth?

Thanks in advance

Activity

  1. butonic commented on May 15, 2020

    @butonic
    Collaborator

    yes ... and I also want to add displayName. The question is do we went to treat them as distinct attributes?

    cn actually is just a name, like displayname, so we could reuse the Name property from the user struct.
    Name however is also used for uid which for the posixaccount is the login ... those should be different.

    Which brings us to userPrincipalName. MS recomments it to be the same as the email address. if so we can just reuse the Email property from the user struct.

    I'd like to keep the number of attributes that have to be set small.

    I might fill userPrincipalName with the emaul but allow overwriting it...

  2. self-assigned this
    on May 15, 2020
  3. added
    enhancement
    on May 15, 2020
  4. added this to the v2.0.0 milestone on May 15, 2020
  5. Fusion commented on Aug 12, 2021

    @Fusion
    Collaborator

    userPrincipalName definitely fits the mission of GLAuth. It is now possible to use this field on its own to bind to the server. This builds on top of the "groupless" authentication change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions