s3-libads: Add all machine account principals to the keytab.
commit0e17b3f3c7ef06b953f5c636ca5fb6f0801dac58
authorAndreas Schneider <asn@samba.org>
Wed, 24 Sep 2014 08:51:33 +0000 (24 10:51 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 9 Oct 2014 19:23:06 +0000 (9 21:23 +0200)
treef8d4c6c5b785e90c433bcf11b629794c0c499b89
parent6602ad3be3753503423bd2c3ba0e03961a2a4038
s3-libads: Add all machine account principals to the keytab.

This adds all SPNs defined in the DC for the computer account to the
keytab using 'net ads keytab create -P'.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9985

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 5d58b92f8fcbc509f4fe2bd3617bcaeada1806b6)
source3/libads/kerberos_keytab.c