Skip to main content

configure realmd to allow login without domain name [Resolved]

Is it possible to configure realmd to allow users to login via a domain without specifying it?

I've used the "fully-qualified-names = no" option so that usernames don't show the domain name, but they still need to enter the domain (e.g. "user@domain.foo.com") to log in. Ideally I'd like the log in to check local users first, and then try the domain if it fails.

I'm using gnome user chooser on a Debian (jessie) based system.


Question Credit: Chris
Question Reference
Asked December 7, 2017
Posted Under: Network
52 views
1 Answers

Changes made to realmd.conf only take affect when joining a domain or realm.

You'll need to either leave and join the domain again, or make the requisite changes to winbind or sssd.

For example, with sssd, you would edit /etc/sssd/sssd.conf and set use_fully_qualified_names to false.

If you want to add the default domain suffix so you don't have to type @contoso.com every time you type your username, run

sed -i '/nss,/a default_domain_suffix = CONTOSO.COM' /etc/sssd/sssd.conf 

credit: Jenny D
Answered December 7, 2017
Your Answer
D:\Adnan\Candoerz\CandoProject\vQA