summaryrefslogtreecommitdiff
path: root/source3/services
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-07 19:21:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:23 -0500
commitff61853fb35953f7e4f210ce3e5a82e6da15534e (patch)
treefb1ce0dc85954bb0a86ed4258607e226227631f3 /source3/services
parent97a00e7df87fb598157446064f8a94b31f378a47 (diff)
downloadsamba-ff61853fb35953f7e4f210ce3e5a82e6da15534e.tar.gz
samba-ff61853fb35953f7e4f210ce3e5a82e6da15534e.tar.bz2
samba-ff61853fb35953f7e4f210ce3e5a82e6da15534e.zip
r20069: Fix logic bug I introduced
(This used to be commit d935ecec98747dfd9f35ab81760ef95a0d983ed7)
Diffstat (limited to 'source3/services')
-rw-r--r--source3/services/svc_netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/services/svc_netlogon.c b/source3/services/svc_netlogon.c
index c561870552..09e841cf7e 100644
--- a/source3/services/svc_netlogon.c
+++ b/source3/services/svc_netlogon.c
@@ -57,7 +57,7 @@ static WERROR netlogon_stop( const char *service, SERVICE_STATUS *service_status
static WERROR netlogon_start( const char *service )
{
- if ( share_defined("NETLOGON") )
+ if ( !share_defined("NETLOGON") )
return WERR_SERVICE_DISABLED;
return WERR_ACCESS_DENIED;