Autojoin seems to fail with a short host name. The host name was set to 'live-user' # hostname live-user # realm join --verbose radi08.segad.lab.sjc.redhat.com * Searching for kerberos SRV records for domain: _kerberos._udp.radi08.segad.lab.sjc.redhat.com * Searching for MSDCS SRV records on domain: _kerberos._tcp.dc._msdcs.radi08.segad.lab.sjc.redhat.com * ad1.radi08.segad.lab.sjc.redhat.com:88 * Found kerberos DNS records for: radi08.segad.lab.sjc.redhat.com * Found AD style DNS records for: radi08.segad.lab.sjc.redhat.com * Successfully discovered: radi08.segad.lab.sjc.redhat.com * Required files present: /usr/sbin/sss_cache, /usr/sbin/sssd, /usr/sbin/adcli * LANG=C /usr/sbin/adcli join --verbose --show-details --domain RADI08.SEGAD.LAB.SJC.REDHAT.COM --login-type computer --no-password ! Couldn't find qualified domain name, proceeding with local host name instead: live-user: Name or service not known * Using domain name: RADI08.SEGAD.LAB.SJC.REDHAT.COM ! Couldn't determine the computer account name from host name: live-user adcli: couldn't connect to RADI08.SEGAD.LAB.SJC.REDHAT.COM domain: Couldn't determine the computer account name from host name: live-user ! Failed to join the domain realm: Couldn't join realm: Failed to join the domain
Well in general adcli seems to fail.
To duplicate: $ tools/adcli join --verbose --host-fqdn live-user --user swalter --domain radi08.segad.lab.sjc.redhat.com --host-keytab=/tmp/krb5.keytab * Using fully qualified name: live-user * Using domain name: radi08.segad.lab.sjc.redhat.com ! Couldn't determine the computer account name from host name: live-user lt-adcli: couldn't connect to radi08.segad.lab.sjc.redhat.com domain: Couldn't determine the computer account name from host name: live-user
Created attachment 68814 [details] [review] Allow use of host names without any dot.
Attachment 68814 [details] pushed as be76ec6 - Allow use of host names without any dot.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.