mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r11089: start the winsreplication task when we run with wins support = yes
metze
This commit is contained in:
parent
97cb22bd9d
commit
d49a1d2b15
@ -603,7 +603,7 @@ static void init_globals(void)
|
||||
do_parameter("max connections", "-1", NULL);
|
||||
|
||||
do_parameter("dcerpc endpoint servers", "epmapper srvsvc wkssvc rpcecho samr netlogon lsarpc spoolss drsuapi winreg dssetup", NULL);
|
||||
do_parameter("server services", "smb rpc nbt ldap cldap web kdc", NULL);
|
||||
do_parameter("server services", "smb rpc nbt wrepl ldap cldap web kdc", NULL);
|
||||
do_parameter("ntptr providor", "simple_ldb", NULL);
|
||||
do_parameter("auth methods", "anonymous sam_ignoredomain", NULL);
|
||||
do_parameter("private dir", dyn_PRIVATE_DIR, NULL);
|
||||
|
@ -381,6 +381,10 @@ static void wreplsrv_task_init(struct task_server *task)
|
||||
*/
|
||||
static NTSTATUS wreplsrv_init(struct event_context *event_ctx, const struct model_ops *model_ops)
|
||||
{
|
||||
if (!lp_wins_support()) {
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
return task_server_startup(event_ctx, model_ops, wreplsrv_task_init);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user