diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-03-30 16:46:04 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-03-30 16:46:04 +0000 |
commit | 456a4be3f3a75514c2b8bac3a266bb5f57bf5859 (patch) | |
tree | 1e4c758456a37a10792aaa30c6a93569bacdc94b /source3 | |
parent | 684d93dd5f49f6eded68078cdfa18baf0a2e2d95 (diff) | |
download | samba-456a4be3f3a75514c2b8bac3a266bb5f57bf5859.tar.gz samba-456a4be3f3a75514c2b8bac3a266bb5f57bf5859.tar.bz2 samba-456a4be3f3a75514c2b8bac3a266bb5f57bf5859.zip |
This sets the domain for the user in vampire. Otherwise
we end up with an empty domain field, which a workstation
does not really like in sam_logon..
Volker
(This used to be commit 5a3f89d3c12c5e4ab89fbe220ca34387c1660511)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc_samsync.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index dc2ae2caa1..acf085af82 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -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; } |