dsdb: refactor password attibutes to constant
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 3 Apr 2018 23:55:00 +0000 (11:55 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 10 May 2018 18:02:22 +0000 (20:02 +0200)
commit79ba530aaf76be639143530ab6e28d1e3696dfd2
tree56cffd2b97acbeb9c2262fb95f0c4c1a0af8ce5e
parent52dc959bb21a102a14437812418bbb75b0bb231f
dsdb: refactor password attibutes to constant

The password attributes are defined as literal in two places in the
password_hash code.  They will also be needed to support password change
logging. This patch replaces the individual definitions with a shared
constant.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.h
source4/dsdb/samdb/ldb_modules/password_hash.c