This is probably a simple change, but a few weeks ago after an update of my fedora 31
freeipa server and clients, usernames are now displaying with the freeipa domain in the
standard email format (username(a)sample.com), minus the () obviously. This caused some
issues with processes that were looking for the previous format (username), looking at you
cron... Anyway, I'd like to restore the previous username format to (username).
I attempted to track down the change / update that did this, but was unable to. I've
attempted to set a default domain in sssd which did not change the behavior. Not sure if
this is a change in data returned from freeipa / ldap / kerberos or something in PAM.
I can login with just the username, minus the domain, but all command prompts and
environment variables contain (username(a)sample.com) as the username.
What changed and how do I restore the previous username format?
Thanks!
Chris
Show replies by date
Not sure how I missed this before...
SSD was adding the domain to the user when doing a nss user lookup. You can see this by
viewing the output of
sssctl user-checks <USERNAME>
Changing the default full name format via the sssd.conf removes this behavior, which in my
case is desirable. You may not want to if you are in a multi domain environment. Buyer be
ware.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/...