s4:dsdb/samdb: optionally store package_PrimarySambaGPGBlob in supplementalCredentials
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Jan 2016 09:51:38 +0000 (10:51 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 22 Jul 2016 14:03:27 +0000 (16:03 +0200)
commit763acdc2e78f570b362914bb1ac1b3ed1fd94964
tree66114edefa712010386a4593db10bc7dae3bc1f8
parent8d64999d1c6239776a75503ff8df67b00ae5c4c8
s4:dsdb/samdb: optionally store package_PrimarySambaGPGBlob in supplementalCredentials

It's important that Primary:SambaGPG is added as the last element.
This is the indication that it matches the current password.
When a password change happens on a Windows DC,
it will keep the old Primary:SambaGPG value, but as the first element.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source4/dsdb/samdb/ldb_modules/password_hash.c
source4/dsdb/samdb/ldb_modules/wscript_build_server