linux服务器加入windows域时报错Ticket expired
[root@rusky]# net ads join -U administrator Enter administrator's password: kinit succeeded but ads_sasl_spnego_krb5_bind failed: Ticket expired Failed to join domain: failed to connect to AD: Ticket expired 使用data命令查看时间,发现linux机器与windows时间相差10分钟,重新同步时间后,加入域正常。
ntpdate命令同步时间: [root@rusky]#ntpdate -u 域服务器IP [root@rusky]#net ads join -U administrator Enter administrator's password: Using short domain name --test
....加入域成功
*******VICTORY LOVES PREPARATION*******