[GH-ISSUE #7295] Add username field to user account (after LDAP implementation, sAMAccountname) instead of using 'name'-Field #14691

Closed
opened 2026-04-19 20:59:40 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @TheMasterFX on GitHub (Nov 23, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7295

Feature Request

After the integration of LDAP authentication (thanks for that!), a new field ‘username’ should be implemented, since the LDAP user name usually does not correspond to the readable user name and also does not contain any spaces. e.g. Normally the uid/sAMAccountname is e.g. like lastname_firstname.
Now we have

0|id|VARCHAR(255)|1||0
1|name|VARCHAR(255)|1||0
2|email|VARCHAR(255)|1||0
3|role|VARCHAR(255)|1||0
4|profile_image_url|TEXT|1||0
5|api_key|VARCHAR(255)|0||0
6|created_at|INTEGER|1||0
7|updated_at|INTEGER|1||0
8|last_active_at|INTEGER|1||0
9|settings|TEXT|0||0
10|info|TEXT|0||0
11|oauth_sub|TEXT|0||0

Maybe the uid should be a new field instead of the "name" which is the Full Name with email-login/registration. The Full name ('name') field is in Active Directory most times something like the givenName (sometimes givenName + sn)

Originally created by @TheMasterFX on GitHub (Nov 23, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7295 # Feature Request After the integration of LDAP authentication (thanks for that!), a new field ‘username’ should be implemented, since the LDAP user name usually does not correspond to the readable user name and also does not contain any spaces. e.g. Normally the uid/sAMAccountname is e.g. like lastname_firstname. Now we have ``` 0|id|VARCHAR(255)|1||0 1|name|VARCHAR(255)|1||0 2|email|VARCHAR(255)|1||0 3|role|VARCHAR(255)|1||0 4|profile_image_url|TEXT|1||0 5|api_key|VARCHAR(255)|0||0 6|created_at|INTEGER|1||0 7|updated_at|INTEGER|1||0 8|last_active_at|INTEGER|1||0 9|settings|TEXT|0||0 10|info|TEXT|0||0 11|oauth_sub|TEXT|0||0 ``` Maybe the uid should be a new field instead of the "name" which is the Full Name with email-login/registration. The Full name ('name') field is in Active Directory most times something like the givenName (sometimes givenName + sn)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#14691