svn commit: samba r11089 - in branches/SAMBA_4_0/source: param
wrepl_server
metze at samba.org
metze at samba.org
Sat Oct 15 11:04:46 GMT 2005
Author: metze
Date: 2005-10-15 11:04:46 +0000 (Sat, 15 Oct 2005)
New Revision: 11089
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11089
Log:
start the winsreplication task when we run with wins support = yes
metze
Modified:
branches/SAMBA_4_0/source/param/loadparm.c
branches/SAMBA_4_0/source/wrepl_server/wrepl_server.c
Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_4_0/source/param/loadparm.c 2005-10-15 10:55:30 UTC (rev 11088)
+++ branches/SAMBA_4_0/source/param/loadparm.c 2005-10-15 11:04:46 UTC (rev 11089)
@@ -603,7 +603,7 @@
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);
Modified: branches/SAMBA_4_0/source/wrepl_server/wrepl_server.c
===================================================================
--- branches/SAMBA_4_0/source/wrepl_server/wrepl_server.c 2005-10-15 10:55:30 UTC (rev 11088)
+++ branches/SAMBA_4_0/source/wrepl_server/wrepl_server.c 2005-10-15 11:04:46 UTC (rev 11089)
@@ -381,6 +381,10 @@
*/
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);
}
More information about the samba-cvs
mailing list