s4:provision Handle machine account password changes while keeping keytab
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Jul 2010 04:03:11 +0000 (14:03 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Jul 2010 12:08:22 +0000 (22:08 +1000)
commit299057d8d97cce349af2ff931396fae1f09493a5
tree574a4f04ca8c515375c5c6d5e05194da2026eb87
parent3e8dba17030544a389611814e47521ceafa1ae8a
s4:provision Handle machine account password changes while keeping keytab

The challenge here is to update the existing record if it already
exists, rather than deleting the old record.  This ensures that the
secrets.keytab handling code keeps the previous password in the
keytab.

Andrew Bartlett
source4/scripting/python/samba/provision.py