s4-samba-tool: Add --principal argument to samba-tool domain exportkeytab
commit2bff209128b85bd870ad36fa00ffcc92edbbab08
authorAndrew Bartlett <abartlet@samba.org>
Tue, 29 Nov 2011 01:47:40 +0000 (29 12:47 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 29 Nov 2011 08:20:54 +0000 (29 09:20 +0100)
tree751e775ca78eda99455f88f9e8057611150f76c5
parent8eef716598fa30b216ba144c74bcf5dfcfa870fd
s4-samba-tool: Add --principal argument to samba-tool domain exportkeytab

This allows only a particular principal to be exported to the keytab.
This is useful when setting up unix servers in a Samba controlled
domain.

Based on a request by Gémes Géza <geza@kzsdabas.hu>

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 29 09:20:55 CET 2011 on sn-devel-104
source4/auth/kerberos/keytab_copy.c
source4/libnet/libnet_export_keytab.c
source4/libnet/libnet_export_keytab.h
source4/libnet/py_net.c
source4/scripting/python/samba/netcmd/domain.py
testprogs/blackbox/test_export_keytab.sh