Displaying 1 result from an estimated 1 matches for "norandkey".
2016 Feb 25
1
Trouble adding a service principal to keytab
...y",
line 117, in run
net.export_keytab(keytab=keytab, principal=principal)
Removing the realm from the request fails in the same way.
If I was using Kerberos without samba, I would just do:
kadmin -q "addprinc -randkey GEMSTONE64/bunk.gemtalksystems.com"
kadmin -q "xst -norandkey -k my.keytab GEMSTONE64/bunk.gemtalksystems.com"
but I know kadmin is a no-no under samba.
How can I get a keytab which contains the service principal?
Norm Green