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:54:12 +0000 (23:54 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 18 Sep 2003 23:54:12 +0000 (23:54 +0000)
commit71ecd10181cd35313b79f618c2928c2f45424812
treefdd367c010ec790d97093ae77ff83ed6af1c35be
parente121a2ec0c243477ea318d573166f342abbd1cce
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.
source/include/passdb.h
source/include/rpc_samr.h
source/include/smbldap.h
source/passdb/passdb.c
source/passdb/pdb_get_set.c
source/passdb/pdb_ldap.c
source/passdb/pdb_mysql.c
source/passdb/pdb_xml.c
source/rpc_parse/parse_samr.c
source/rpc_server/srv_samr_util.c
source/rpcclient/cmd_samr.c