diff options
author | Jim McDonough <jmcd@samba.org> | 2004-02-12 16:16:53 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2004-02-12 16:16:53 +0000 |
commit | 1fa1e931a3ab031675f4e4e08119a531a1b98ab5 (patch) | |
tree | e386b5de6a1da1c656708928caaf7eccdcb74213 /source3/rpc_server | |
parent | 34232f9ec0eb8f0c78688581cb71ae8041aae535 (diff) | |
download | samba-1fa1e931a3ab031675f4e4e08119a531a1b98ab5.tar.gz samba-1fa1e931a3ab031675f4e4e08119a531a1b98ab5.tar.bz2 samba-1fa1e931a3ab031675f4e4e08119a531a1b98ab5.zip |
More sync between passdb on 3.0 and HEAD.
Replace unknown_3 with fields_present. Also causes rpc_samr structure field changes.
(This used to be commit 1976843345efb6ca4f9cebd964a61acd8ae11d41)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_util.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_samr_util.c b/source3/rpc_server/srv_samr_util.c index 82f93a5b4c..409fd8efab 100644 --- a/source3/rpc_server/srv_samr_util.c +++ b/source3/rpc_server/srv_samr_util.c @@ -225,9 +225,9 @@ void copy_id21_to_sam_passwd(SAM_ACCOUNT *to, SAM_USER_INFO_21 *from) pdb_set_acct_ctrl(to, from->acb_info, PDB_CHANGED); } - DEBUG(10,("INFO_21 UNKNOWN_3: %08X -> %08X\n",pdb_get_unknown_3(to),from->unknown_3)); - if (from->unknown_3 != pdb_get_unknown_3(to)) { - pdb_set_unknown_3(to, from->unknown_3, PDB_CHANGED); + DEBUG(10,("INFO_21 FIELDS_PRESENT: %08X -> %08X\n",pdb_get_fields_present(to),from->fields_present)); + if (from->fields_present != pdb_get_fields_present(to)) { + pdb_set_fields_present(to, from->fields_present, PDB_CHANGED); } DEBUG(15,("INFO_21 LOGON_DIVS: %08X -> %08X\n",pdb_get_logon_divs(to),from->logon_divs)); @@ -441,9 +441,9 @@ void copy_id23_to_sam_passwd(SAM_ACCOUNT *to, SAM_USER_INFO_23 *from) pdb_set_acct_ctrl(to, from->acb_info, PDB_CHANGED); } - DEBUG(10,("INFO_23 UNKOWN_3: %08X -> %08X\n",pdb_get_unknown_3(to),from->unknown_3)); - if (from->unknown_3 != pdb_get_unknown_3(to)) { - pdb_set_unknown_3(to, from->unknown_3, PDB_CHANGED); + DEBUG(10,("INFO_23 FIELDS_PRESENT: %08X -> %08X\n",pdb_get_fields_present(to),from->fields_present)); + if (from->fields_present != pdb_get_fields_present(to)) { + pdb_set_fields_present(to, from->fields_present, PDB_CHANGED); } DEBUG(15,("INFO_23 LOGON_DIVS: %08X -> %08X\n",pdb_get_logon_divs(to),from->logon_divs)); |