This bug is created as a clone of upstream ticket:
If use_fully_qualified_names is true, sss tools(like sss_useradd) should proceed only if fqdn was given or print an error message if not.
configure use_fully_qualified_names=true in sssd.conf, restart sssd.
Run the tools with a raw, non-fqdn username, such as "sss_useradd someuser".
should not work, the name is not fully qualified
Temporarily moving bugs to MODIFIED to work around errata tool bug
Verified the bug on SSSD Version: sssd-1.11.2-10.el7.x86_64
Steps followed during verification:
1. Setup sssd.conf domain with use_fully_qualified_names = true
2. Add a user without fqdn, using sss_useradd command --
[root@rhel-7 sssd]# sss_userdel someuser
Name 'someuser' does not seem to be FQDN ('use_fully_qualified_names = TRUE' is set)
Invalid domain specified in FQDN
3. As expected, an error message is displayed. User gets added only when fqdn is used with user name say, someuser@LOCAL.
[root@rhel-7 sssd]# sss_useradd someuser@LOCAL
[root@rhel-7 sssd]# getent passwd -s sss someuser@LOCAL
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.