python-kadmin icon indicating copy to clipboard operation
python-kadmin copied to clipboard

Useful function - ExportKeytab

Open michael1991 opened this issue 8 years ago • 2 comments

Refer to apache kerb-admin api and kadmin.local, from my point of view, exportkeytab is very useful. How about adding it? @russjancewicz

michael1991 avatar Feb 21 '17 08:02 michael1991

I also find this functionality very useful. Any progress on this issue?

ccaballe avatar Apr 06 '17 09:04 ccaballe

My current way on this issue was using commands.getstatusoutput('kadmin -p {0} -kt {1} -q "xst -k keys/{2}.keytab {2}"'.format(app.config['PRINCIPAL'], app.config['KEYTAB'], user)) and then read keytab. Although i resolved this, i don't think it's a good way...

michael1991 avatar Apr 06 '17 09:04 michael1991