s3-libads: Add all machine account principals to the keytab.
commitc6493fcfb5a5d3a91f4b1b0134fef9e0f2754470
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:10:04 +0000 (9 21:10 +0200)
tree5dd0766f59d17b438363e9654fff703414e91160
parentbbf24d39b4c0ba81767bcdb67d5cd7c01604b16c
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