This sets the domain for the user in vampire. Otherwise
authorVolker Lendecke <vlendec@samba.org>
Sun, 30 Mar 2003 16:46:04 +0000 (16:46 +0000)
committerVolker Lendecke <vlendec@samba.org>
Sun, 30 Mar 2003 16:46:04 +0000 (16:46 +0000)
we end up with an empty domain field, which a workstation
does not really like in sam_logon..

Volker

source/utils/net_rpc_samsync.c

index dc2ae2caa12b237952403c0d96c234c27850039b..acf085af82b3f7550472908941e5a46c3a9dc586 100644 (file)
@@ -393,6 +393,8 @@ sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta)
        if (pdb_get_acct_ctrl(account) != delta->acb_info)
                pdb_set_acct_ctrl(account, delta->acb_info, PDB_CHANGED);
 
+       pdb_set_domain(account, lp_workgroup(), PDB_CHANGED);
+
        return NT_STATUS_OK;
 }