I am using an amazon linux 2023 box and i joined the instance to domain using realmd.

The issue is that when i try to login with my AD credentials, the user directory is being created as /home/username@domain instead of /home/username.

Here is my /etc/sssd/sssd.conf file:

domains = avengers.local
config_file_version = 2
services = nss, pam
default_domain_suffix = AVENGERS.local

default_shell = /bin/bash
krb5_store_password_if_offline = True
cache_credentials = True
krb5_realm = AVENGERS.LOCAL
realmd_tags = manages-system joined-with-adcli
id_provider = ad
fallback_homedir = /home/%u@%d
ad_domain = avengers.local
ldap_id_mapping = True
access_provider = ad
ad_gpo_access_control = disabled

Can someone please help me ?

1 Answer 1



fallback_homedir = /home/%u@%d


fallback_homedir = /home/%u

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.