Displaying 2 results from an estimated 2 matches for "hostnames3".
Did you mean:
hostnames
2015 Mar 05
2
creating Kerberos host principals for multiple hostnames, multihomed server
Hi!
I maintain Linux servers that are members of a Samba4 Domain.
User authentication / login via ssh works fine with Kerberos.
But: only via one hostname.
Those machines need a working Kerberos login via multiple hostnames
(each hostname has its own IP address and DNS is set up correctly.)
"net ads keytab list" of course gives me the main hostname that was in
use when joining the
2015 Mar 06
0
creating Kerberos host principals for multiple hostnames, multihomed server
...unt_name ( or original hostname ) .. etc.
now export the keytabs . .
samba-tool domain exportkeytab /tmp/hostnames-extra.keytab --principal=host/hostname.DNSDOMAIN
samba-tool domain exportkeytab /tmp/hostnames2-extra.keytab --principal=host/hostname2.DNSDOMAIN
samba-tool domain exportkeytab /tmp/hostnames3-extra.keytab --principal=host/hostname3.DNSDOMAIN .. etc.
check the keytab file:
klist -e -k /tmp/hostnames-extra.keytab
klist -e -k /tmp/hostnames2-extra.keytab
klist -e -k /tmp/hostnames3-extra.keytab
you should see all the hostnames, if correct make all keytab files in 1 file.
type : ktu...