Skip to main content

Copy keys and sssd.conf to other nodes in the cluster (one node)

It is necessary to copy the keytab and sssd.conf file to other nodes in the cluster. Copy the keytab file to other nodes in the cluster:

[tux@dhcp-200 ~]$ sudo scp /etc/krb5.keytab tux@dhcp-199:/home/tux
krb5.keytab 100% 1248
13.4KB/s 00:00
[tux@dhcp-199 ~]$ sudo mv krb5.keytab /etc/

Copy sssd.conf to other nodes in the cluster:

[tux@dhcp-200 ~]$ sudo scp /etc/sssd/sssd.conf tux@dhcp-199:/home/tux
sssd.conf 100% 306
15.2KB/s 00:00
[tux@dhcp-199 ~]$ sudo mv sssd.conf /etc/sssd/

To confirm SSSD is working, use id to map a user account:

[tux@dhcp-200 ~]$ id foo
uid=1414601123(foo)gid=1414600513(domain users) groups=1414600513(domain users),1414601115(testgroup)
[tux@dhcp-200 ~]$ id bar
uid=1414601125(bar) gid=1414600513(domain users) groups=1414600513(domain users)