我正在使用 amazon linux 2023 盒子,我使用realmd
.
问题是,当我尝试使用我的 AD 凭据登录时,用户目录被创建为而/home/username@domain
不是/home/username
.
这是我的/etc/sssd/sssd.conf
文件:
[sssd]
domains = avengers.local
config_file_version = 2
services = nss, pam
default_domain_suffix = AVENGERS.local
[domain/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
有人可以帮帮我吗 ?
改变
到