10

We're trialling using a Ubuntu 14.04 desktop environment for a few of our developers and I've hooked the machines into the domain with SSSD. This has been working fine. However the system recognises the domain users as [email protected], so 'ls -l' output is quite messy. It also turns out they have some test scripts that have username hardcoded and so this @DOMAIN.COM breaks them.

Is there a way to make SSSD show the domain users as just 'username' instead of '[email protected]'? If not, is there a system that will allow me to do this?

Thanks

2 Answers 2

11

The 'default_domain_suffix' answer is valid for users from a trusted domain (i.e. IPA-AD trust is in place).

However, if your setup only has one domain, then removing "use_fully_qualified_names=True" from the config is an easier way.

3
  • Whilst I didn't have 'use_fully_qualified_names' enabled. This put me on my way to working out how to completely eliminate the 'SMALLBUSINESS.LAN' component. Jan 8, 2015 at 12:44
  • Correction; this did entirely do what I needed. There was just some strange things going on with my test system after all the options I'd changed. Jan 8, 2015 at 14:06
  • @jhrozek I have no sssd.conf file. Is there another way to achieve that ?
    – SebMa
    Jan 6, 2023 at 16:43
2

you need to add default_domain_suffix to your sssd.conf file. Bear in mind it only works under [sssd] section.

e.g.:

[sssd]
domains = YOURDOMAIN
config_file_version = 2
services = nss, pam
default_domain_suffix = YOURDOMAIN

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .