diff options
author | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:34:30 -0500 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:34:30 -0500 |
commit | 5c6c8e1fe93f340005110a7833946191659d88ab (patch) | |
tree | 2572b9fe2367388eac54ac08ead007323618f0a6 /source/services | |
parent | ba8c48244e140403b728d9a2ca297b40e8888964 (diff) | |
download | samba-5c6c8e1fe93f340005110a7833946191659d88ab.tar.gz |
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-test
Diffstat (limited to 'source/services')
-rw-r--r-- | source/services/svc_netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/services/svc_netlogon.c b/source/services/svc_netlogon.c index 11185fd116b..c5a5385cdd0 100644 --- a/source/services/svc_netlogon.c +++ b/source/services/svc_netlogon.c @@ -31,7 +31,7 @@ static WERROR netlogon_status( const char *service, SERVICE_STATUS *service_stat service_status->type = 0x20; service_status->controls_accepted = SVCCTL_ACCEPT_NONE; - if ( share_defined("NETLOGON") ) { + if ( lp_servicenumber("NETLOGON") != -1 ) { service_status->state = SVCCTL_RUNNING; service_status->win32_exit_code = WERR_SERVICE_NEVER_STARTED; } @@ -56,7 +56,7 @@ static WERROR netlogon_stop( const char *service, SERVICE_STATUS *service_status static WERROR netlogon_start( const char *service ) { - if ( !share_defined("NETLOGON") ) + if ( lp_servicenumber("NETLOGON") == -1 ) return WERR_SERVICE_DISABLED; return WERR_ACCESS_DENIED; |