Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

   Eg: addprinc -randkey rangerusersync/mp-ranger-0703-3.novalocal@EXAMPLE.COM

 -> xst -k /etc/security/keytabs/rangerusersync.keytab rangerusersync/<FQDN>@<REALM>

 -> exit

  • Check rangerusersync created principal

 -> kinit -kt  /etc/security/keytabs/rangerusersync.keytab rangerusersync/<FQDN of Ranger usersync>@<REALM>

E               E.g : kinit -kt  /etc/security/keytabs/rangerusersync.keytab rangerusersync/mp-ranger-0703-3.novalocal@EXAMPLE.COM

               (After above command there should not be any error u can check using “klist” whether the above command was successful)

         -> kdestroy (Please don’t miss kdestroy after above step)

For Ranger Tagsync:

  • Create rangertagsync/<FQDN>@<REALM>

 -> kadmin.local

 -> addprinc -randkey rangertagsync/<FQDN of Ranger tagsync>

  Eg: addprinc -randkey rangertagsync/mp-ranger-0703-3.novalocal

 -> xst -k /etc/security/keytabs/rangertagsync.keytab rangertagsync/<FQDN>@<REALM>

 -> exit

  •  Check rangertagsync created principal

 -> kinit -kt  /etc/security/keytabs/rangertagsync.keytab rangertagsync/<FQDN of Ranger tagsync>@<REALM>

E               E.g : kinit -kt  /etc/security/keytabs/rangertagsync.keytab rangertagsync/mp-ranger-0703-3.novalocal@EXAMPLE.COM

               (After above command there should not be any error u can check using “klist” whether the above command was successful)

 -> kdestroy (Please don’t miss kdestroy after above step)


Note: Change the keytab permission to read only and assign it to “ranger” user

...