CentOS 7.4, Log in using sAMAccountname instead of the full username@domain.local

General support questions
Post Reply
XenCsam
Posts: 2
Joined: 2017/10/16 20:12:47

CentOS 7.4, Log in using sAMAccountname instead of the full username@domain.local

Post by XenCsam » 2017/10/16 20:38:29

Hi All,

I been racking my brain for the last 2 weeks now and i am missing something. I am using centOS 7.4 for most of my work vm. I have been tasked with to setup 2 factor for all Linux (RedHat and Centos) vms along with hyper-visor running something like BSD.

Im not sure if this should fall under General support or Security given it has to do with the users login name. At the moment, if a domain users logs in with the following format of "username@domain.local" it allow the users to log in. However, if the same user where to just use their sAMAccountname it would result in a invalid user. How would I go about allowing users to use sAMAccountname?

Any clue of help with this would be awesome. If I need to move this to security please let me know also.

Thanks

XenCsam
Posts: 2
Joined: 2017/10/16 20:12:47

Re: CentOS 7.4, Log in using sAMAccountname instead of the full username@domain.local

Post by XenCsam » 2017/10/17 20:44:52

I figured it out.

orignal code in sssd.conf:

Code: Select all

use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
New code in sssd.conf

Code: Select all

use_fully_qualified_names = False
fallback_homedir = /home/%u
Where the solved button?

Post Reply