-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
It would be great if libphremoteuser could optionally fetch the real name from the system, via posix_getpwnam(string $username) (field gecos).
The administrator would have to choose how to interpret that string, since it is not well defined. But you could interpret it as surname, given name by default, which seems to be common these days.
To allow for this, you might need to extract the actual username from the REMOTE_USER string. In case of Kerberos authentication this is usually username@MYDOMAIN. Simple string matching should suffice.
And when you are at it, you can even generate a default for the email address from this, by letting the administrator define a default domain, and then just concatenating username@default-domain.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels