尝试绑定一个ubuntu 18.04(由于与其他应用的兼容性问题,需要使用这个特定版本)我使用了一个mod脚本:
#!/bin/bash
apt install -y realmd sssd oddjob oddjob-mkhomedir adcli samba-common
realm leave
realm discover xxxx.local
realm join -U xxxx vgmtl.local
echo -e "[sssd]
domains = xxxx.local
config_file_version = 2
services = nss, pam, pac
[domain/xxxx.local]
ad_domain = xxxx.local
krb5_realm = xxxx.LOCAL
realmd_tags = manages-system joined-with-samba
cache_credentials = True
id_provider = ad
auth_provider = ad
chpass_provider = ad
access_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = False
use_fully_qualified_names = False
override_homedir = /home/xxxx/%u
enumerate = true
ad_enable_dns_sites = False
ad_enabled_domains = xxxx.local
ad_gpo_ignore_unreadable = True
" > /etc/sssd/sssd.conf
chown root:root /etc/sssd/sssd.conf
chmod 700 /etc/sssd/sssd.conf
rm -rf /var/lib/sss/db/*
service sssd restart
在进行领域加入时,它会卡在:
使用 GSS-SPNEGO 进行 SAL 绑定
就挂在那里,我注意到的另一件事是似乎没有创建 xxxx.keytab....
如果在 ubuntu 20.04 上运行 --> 运行完美!?
任何帮助表示赞赏