Created attachment 12163 [details] Config file Hello, After each reboot, my Samba AD member server lost domain join after reboot, I have to re-enter the server in the domain with the "net ads join -U administrator". I use version 4.4.3 of samba compiled from sources. The domain controller is a Samba AD server. After reboot, when I exectute "net ads testjoin" I have: kerberos_kinit_password SMB2$@AD.SAMDOM.LOCAL failed: failed Preauthentication kerberos_kinit_password SMB2$@AD.SAMDOM.LOCAL failed: failed Preauthentication Join to domain is not valid: Logon failure And when I execute "wbinfo -t": checking the trust secret for domain SAMDOM via RPC calls failed wbcCheckTrustCredentials (SAMDOM): error code Was NT_STATUS_USER_SESSION_DELETED (0xc0000203) failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR Could not check secret Anyone know this problem? How can I make the domain-join to persist reboots?
Created attachment 12164 [details] Winbind debug
This is a mistake on my part when configuring CTDB. I have two clustered servers and the netbios name was different between SMB1 and SMB2. In the documentation of CTDB it is specified that the netbios name must be the same on all nodes. After edit smb.conf, I have not lost domain-join, even after a reboot.