Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: short user and primary group names #508

Open
2 tasks done
aussielunix opened this issue Sep 2, 2024 · 0 comments
Open
2 tasks done

Feature: short user and primary group names #508

aussielunix opened this issue Sep 2, 2024 · 0 comments
Labels
enhancement New feature or request medium Medium importance bug

Comments

@aussielunix
Copy link

aussielunix commented Sep 2, 2024

Is there an existing request for this feature?

  • I have searched the existing issues and found none that matched mine

Describe the feature

Having the full email mapped to uid / gid results in a lot of wasted screen realestate.

[email protected]@authd-01:~$ id
uid=67290([email protected]) gid=67290([email protected]) 
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Desktop
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Documents
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Downloads
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Music
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Pictures
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Public
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Templates
drwxr-xr-x  2 [email protected] [email protected] 4.0K Aug 30 06:36 Videos

Describe the ideal solution

I am not sure of how this could be implemented but a couple of thoughts:

  • adding a way to allow to strip the domain part for the uid/gid number to name mapping OR
  • adding an 'alias' field to the broker and use that when displaying username - mick.pollard@brokeralias

Alternatives and current workarounds

I have no work around or alternative to offer at this stage.

System information and logs

Environment

  • broker version: 0.1
  • authd version: authd 0.3.3
  • gnome shell version: 46.3.1-1ubuntu1~24.04.1
  • Distribution: Ubuntu
  • Distribution version: 24.04

Log files

n/a

Authd entries:

journalctl -u authd.service

MS Entra ID broker entries:

journalctl -u snap.authd-msentraid.authd-msentraid.service

Application settings

Broker configuration:

# /var/snap/authd-msentraid/current/broker.conf
[oidc]
issuer = "https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/v2.0"
client_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

[users]
home_base_dir = "/home"
ssh_allowed_suffixes = "@example.com"

Broker authd configuration:

# /etc/authd/brokers.d/msentraid.conf
[authd]
name = Microsoft Entra ID
brand_icon = /snap/authd-msentraid/current/broker_icon.png
dbus_name = com.ubuntu.authd.MSEntraID
dbus_object = /com/ubuntu/authd/MSEntraID

Relevant information

No response

Double check your logs

  • I have redacted any sensitive information from the logs
@jibel jibel added enhancement New feature or request medium Medium importance bug labels Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium Medium importance bug
Projects
None yet
Development

No branches or pull requests

2 participants