diff options
author | Simo Sorce <idra@samba.org> | 2004-01-19 08:52:53 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2004-01-19 08:52:53 +0000 |
commit | e25e0e372bfd3afbab0e116d61a48bbcb934203d (patch) | |
tree | 765512cbf61f13015afb8886fe078bb16f0f05f4 /source3/passdb/pdb_mysql.c | |
parent | c0beb062c1b75435f7991f75202b9d99bb9989ba (diff) | |
download | samba-e25e0e372bfd3afbab0e116d61a48bbcb934203d.tar.gz samba-e25e0e372bfd3afbab0e116d61a48bbcb934203d.tar.bz2 samba-e25e0e372bfd3afbab0e116d61a48bbcb934203d.zip |
1. The most part of this patch changed the unknown_3 flag to the now known
meaning of fields_present bit mask. Also avoid it being saved in backends (0
is saved where removing the unit32 would have produced a format change).
Also add support in samr functions to correctly interpret the flags.
Flags still not set properly (eg. still set all flags 0xffffff as previous
code), need a tool to test this properly (I',ve done preliminary tests with
samba4 rpc torture and it seem to work properly against w2k).
2. Patch for handlig the flag user must change password at next logon
in usrmgr based on Jianliang Lu <j.lu@tiesse.com> patch
(This used to be commit 78975e9483e64412e436c5dbfe2b71e20b79de29)
Diffstat (limited to 'source3/passdb/pdb_mysql.c')
-rw-r--r-- | source3/passdb/pdb_mysql.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/passdb/pdb_mysql.c b/source3/passdb/pdb_mysql.c index acc1eff829..deed27dbe4 100644 --- a/source3/passdb/pdb_mysql.c +++ b/source3/passdb/pdb_mysql.c @@ -111,7 +111,6 @@ static NTSTATUS row_to_sam_account(MYSQL_RES * r, SAM_ACCOUNT * u) pdb_set_plaintext_passwd(u, row[22]); pdb_set_acct_ctrl(u, xatol(row[23]), PDB_SET); - pdb_set_unknown_3(u, xatol(row[24]), PDB_SET); pdb_set_logon_divs(u, xatol(row[25]), PDB_SET); pdb_set_hours_len(u, xatol(row[26]), PDB_SET); pdb_set_bad_password_count(u, xatol(row[27]), PDB_SET); |