msktutil

Manage Active Directory keytabs and service principals from Linux/Unix

brewmacoslinux
Try with needOr install directly
Source

About

Active Directory keytab management

Commands

msktutil

Examples

Create a new keytab for a service principal$ msktutil -c -b CN=Computers -s service/hostname.example.com -k /etc/krb5.keytab -U username
Update an existing keytab and reset the service principal password$ msktutil -u -s service/hostname.example.com -k /etc/krb5.keytab
List entries in a keytab file$ msktutil -l -k /etc/krb5.keytab