summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-30 16:46:28 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-30 16:46:28 +0000
commitad7364c8405a82c17e6ae238f7fecf843be829cd (patch)
treed80edfefeaaed897aad12f395d592eb0f7c6fa8b
parent332f6f9513b04bf7a4ab8223f401b000d8e2c64b (diff)
downloadsamba-ad7364c8405a82c17e6ae238f7fecf843be829cd.tar.gz
samba-ad7364c8405a82c17e6ae238f7fecf843be829cd.tar.bz2
samba-ad7364c8405a82c17e6ae238f7fecf843be829cd.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 e0cb325b99e09a5a5cba07f0403ed445814bbf53)
-rw-r--r--source3/utils/net_rpc_samsync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index 7460767672..33f4e4b915 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;
}