s3-libads: Add all machine account principals to the keytab.
commit5d58b92f8fcbc509f4fe2bd3617bcaeada1806b6
authorAndreas Schneider <asn@samba.org>
Wed, 24 Sep 2014 08:51:33 +0000 (24 10:51 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 26 Sep 2014 03:55:34 +0000 (26 05:55 +0200)
tree17861e794b5f673db1084f2f4d5d83ac8c7eb15e
parente1ee4c8bc7018db7787dd9a0be6d3aa40a477ee2
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>
source3/libads/kerberos_keytab.c