search for: createservice

Displaying 13 results from an estimated 13 matches for "createservice".

2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...NULL, + SC_MANAGER_ALL_ACCESS + ); + if (NULL == schSCManager) { - printf("OpenSCManager failed (%d)\n", (int) GetLastError()); - return; + printf("OpenSCManager failed (%d)\n", (int) GetLastError()); + return; } - schService = CreateService ( + schService = CreateService ( schSCManager, SVCNAME, SVCNAME, @@ -131,212 +130,212 @@ SvcInstall() { NULL, NULL, NULL - ); - + ); + if (schService == NULL) { printf ( - "CreateService failed (%d)\n", - (in...
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...NULL, + SC_MANAGER_ALL_ACCESS + ); + if (NULL == schSCManager) { - printf("OpenSCManager failed (%d)\n", (int) GetLastError()); - return; + printf("OpenSCManager failed (%d)\n", (int) GetLastError()); + return; } - schService = CreateService ( + schService = CreateService ( schSCManager, SVCNAME, SVCNAME, @@ -131,212 +130,212 @@ SvcInstall() { NULL, NULL, NULL - ); - + ); + if (schService == NULL) { printf ( - "CreateService failed (%d)\n", - (in...
2017 Jan 31
2
NT4 with Samba4
...cessing file 'D:\SERVER\SETUP\I386\server.ins', at or near line 12 The account name is invalid or does not exist. Microsoft Windows NT ID no: 0xc0020421 ========================================== [server.ins] around line 12 ========================================== ; ServiceManager(MAD) CreateService:MSExchangeSA;Microsoft Exchange System Attendant;bin\mad.exe; EventLog$OLE$NtLmSsp$RPCLOCATOR$RPCSS$LanmanWorkstation$LanmanServer$ ========================================== Basically I'd like to move the whole account into the world of AD, and the NT4 server does appear to basically work wit...
2013 Feb 12
1
[SC] EnumQueryServicesStatus:OpenService FAILED 123
...9;C:\Windows\System32\cmd.exe /c "C:\Windows\System32\sc.exe create nsc-devops binPath= "C:\NSClient++\nsclient++.exe" DisplayName= "NSClient Devops" Start= "auto""'' Notice: /Stage[main]/Nagios-devops/Exec[Create Service nsc-devops]/returns: [SC] CreateService FAILED 1073: Notice: /Stage[main]/Nagios-devops/Exec[Create Service nsc-devops]/returns: Notice: /Stage[main]/Nagios-devops/Exec[Create Service nsc-devops]/returns: The specified service already exists. Error: C:\Windows\System32\cmd.exe /c "C:\Windows\System32\sc.exe create nsc-devops binPa...
2017 Jan 31
0
NT4 with Samba4
...9;, at or near line 12 > > The account name is invalid or does not exist. > > Microsoft Windows NT > ID no: 0xc0020421 > ========================================== > > [server.ins] around line 12 > ========================================== > ; ServiceManager(MAD) > CreateService:MSExchangeSA;Microsoft Exchange System > Attendant;bin\mad.exe; > EventLog$OLE$NtLmSsp$RPCLOCATOR$RPCSS$LanmanWorkstation$LanmanServer$ > ========================================== > > Basically I'd like to move the whole account into the world of AD, and the > NT4 > server...
2007 Apr 05
0
Re: Fwd: Win32 services management?
Hi, I am interested in implementing the 'createservice()' functionality using the RPC protocol. I need this functionality badly, and I understand it is not implemented. I understand vaguely how this should be working and found some documentation, here: http://www.hsc.fr/ressources/articles/win_net_srv/ here:http://www.hsc.fr/ressources/articles...
2007 Mar 13
3
Win32 services management?
Hi there, I just saw samba added the "net rpc service" for Win32 service management since 3.0.20, and it's fantastic. I used to use samba-tng to do this job, but now I can use samba! However, I also found it has limited usage. I cannot pass parameters when I start a service, and I cannot create a new service, too. Is there any plan for samba to extend this feature? -- Best
2015 Mar 23
0
trying to connect to asterisk with softphone (logs, etc)
...java.sip.communicator.impl.protocol.irc.IrcStack.<init>(IrcStack.java:89) at net.java.sip.communicator.impl.protocol.irc.ProtocolProviderServiceIrcImpl.initialize(ProtocolProviderServiceIrcImpl.java:149) at net.java.sip.communicator.impl.protocol.irc.ProtocolProviderFactoryIrcImpl.createService(ProtocolProviderFactoryIrcImpl.java:136) at net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadAccount(ProtocolProviderFactory.java:983) at net.java.sip.communicator.service.protocol.AccountManager.doLoadStoredAccounts(AccountManager.java:204) at net.java.sip.c...
2016 Jun 10
0
Wine release 1.9.12
...Leslie-Hughes (4): inetcomm: Add support for PID ids in MimeBody Get/SetProp. inetcomm: Add missing default properties. include: Add ID3D10InfoQueue interface. d3d10_1/tests: Test for ID3D10InfoQueue interface. Andreas Maier (3): msi: Use special error control flag in CreateService. msi/tests: Delete TestService after testing. msi/tests: Test for error control flag handling. Andrew Eikum (2): xaudio2: Shut down OpenAL in the correct order. xaudio2: Implement GetVoiceDetails for source and submix voices. Andrey Gusev (16): include: Fix a typo in...
2017 Mar 17
0
Wine release 2.4
...ddraw/tests: Spelling fixes in comments and an ok() message. ntdll/tests: A spelling fix in an ok() message. scrobj: Make scriptlet_typelib_CreateInstance() static. schedsvc/tests: Add the current process id to the test summary line. advapi32/tests: Trace the display name if CreateService() unexpectedly succeeds. ddraw: Make ddraw_destroy_swapchain() static. Hans Leidekker (8): webservices: Implement WS_HEAP_PROPERTY_REQUESTED_SIZE and WS_HEAP_PROPERTY_ACTUAL_SIZE. webservices: Protect messages with a critical section. webservices: Protect channels with a cr...
2007 Jul 13
0
Wine release 0.9.41
...specific access rights for service control manager handles. gdiplus: Don't use struct member before NULL check (Coverity). advapi/service: Simplify DeleteService by using RegDeleteTree. advapi/service: Fix possible handle leak. advapi/service: First tests (and fixes) for CreateService. advapi/service: Check if we have enough access rights to create a service. advapi/service: Check for empty servicename and binaryname. programs/cmd: Do the assignment after the return to avoid a missing free() (Coverity). advapi/service: Create specific access rights for se...
2008 Feb 22
0
Wine release 0.9.56
...al stub dll. initpki: Add initial stub dll. mssip32: Add initial stub dll. sccbase: Add initial stub dll. slbcsp: Add initial stub dll. softpub: Add initial stub dll. dssenh: Add initial stub dll. advapi: Check if service really exists before bombing out in CreateService. Marcus Meissner (12): dinput: Make _dump_mouse_state static. include: Added some defines for EnumDevicesBySemantics. dinput: Add a dumper for LPDIACTIONFORMAT. dinput: Add debug output for IDirectInput8A::EnumDevicesBySemantics. dinput: Removed superflous < 0 chec...
2008 Apr 04
0
Wine release 0.9.59
...age mapping to the LANG_* identifiers from include/winnt.h. progman: Delete bitrotted translations. Miko?aj Zalewski (19): services.exe: Add a new program. services.exe: Load list of services from registry at startup. services: Start a local RPC server. services: Move CreateService, OpenService and DeleteService implementations from advapi32.dll to services.exe. services: Move QueryServiceConfigW from advapi32.dll to services.exe. services: Move ChangeServiceConfigW implementation from advapi32.dll to services.exe. services: Move GetServiceDisplayName to ser...