The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
authorJeremy Allison <jra@samba.org>
Thu, 18 Sep 2003 23:53:48 +0000 (23:53 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 18 Sep 2003 23:53:48 +0000 (23:53 +0000)
commit3a48e4b2875a6cb1c143377d7f6fb0be50ea80d2
treee358ab2294ac4f6adda55b4e02ef2f1f8748b065
parentd4df20e96f87a55b80a66b3ff588122125cf0cec
The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
fields, bad_password_count and logon_count. Ensure this is stored/fetched
in the various SAMs. As it replaces the unknown_5 field this fits
exactly into the tdb SAM without any binary problems. It also is added
to the LDAP SAM as two extra attributes. It breaks compatibility with
the experimental SAMs xml and mysql. The maintainers of these SAMs must
fix them so upgrades like this can be done transparently. I will insist
on the "experimental" status until this is solved.
Jeremy.
(This used to be commit cd7bd8c2daff3293d48f3376a7c5a708a140fd94)
source3/include/passdb.h
source3/include/rpc_samr.h
source3/include/smbldap.h
source3/passdb/passdb.c
source3/passdb/pdb_get_set.c
source3/passdb/pdb_ldap.c
source3/passdb/pdb_mysql.c
source3/passdb/pdb_xml.c
source3/rpc_parse/parse_samr.c
source3/rpc_server/srv_samr_util.c
source3/rpcclient/cmd_samr.c