summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_svcctl.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-19Use pidl for _svcctl_UnlockServiceDatabase().Günther Deschner1-17/+1
Guenther (This used to be commit 300bf76a79bfa0a9cf55505fd1e928aba9fec171)
2008-02-19Use pidl for _svcctl_LockServiceDatabase().Günther Deschner1-17/+1
Guenther (This used to be commit 939da2eb58ea8cfa637ec63b254755d77702da45)
2008-02-19Use pidl for _svcctl_QueryServiceStatus().Günther Deschner1-17/+1
Guenther (This used to be commit 5453d97ef4967755ef0c903dd665325d50845028)
2008-02-19Use pidl for _svcctl_ControlService().Günther Deschner1-17/+1
Guenther (This used to be commit 4797ca0bd5dc922f6ba5ebb93bf65ceee09a678e)
2008-02-19Use pidl for _svcctl_StartServiceW().Günther Deschner1-17/+1
Guenther (This used to be commit d95998ffd321eccf19f7de671eed2c741038b81e)
2008-02-18Use pidl for _svcctl_GetServiceDisplayNameW().Günther Deschner1-17/+1
Guenther (This used to be commit 2746e88c5c4a9e859356d5c53106eba0c2cd7cbe)
2008-02-18Use pidl for _svcctl_OpenServiceW().Günther Deschner1-17/+1
Note that this call did and still does panic in registry access. Michael has an idea how to fix this. Guenther (This used to be commit b2fa41072ddd2aba000a33eb32ccee408d8304db)
2008-02-18Use pidl for _svcctl_OpenSCManagerW().Günther Deschner1-17/+1
Guenther (This used to be commit 1131e914df9c69b046f335999b7b62063e92fb9d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-17/+17
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r24561: merge from SAMBA_4_0:Stefan Metzmacher1-1/+1
rename some DCERPC_ prefixes into NDR_ metze (This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23271: merge service control pidl change for CloseServiceHandle() from ↵Gerald Carter1-21/+24
SAMBA_3_0_26 (This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
2007-10-10r12914: adding query/set ops for security descriptors on services.Gerald Carter1-1/+51
(This used to be commit cefd2d7cb6140b068d66e2383e9acfa4c3c4b4c7)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-12/+64
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r7563: svcctl patches from Marcin; have cleaned up formating and am checking ↵Gerald Carter1-1/+50
the code in to snapshot it before I start changing more things (This used to be commit 560ce111ce8de37d02bce64d2ca60a5f471d5477)
2007-10-10r6014: rather large change set....Gerald Carter1-0/+294
pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). (This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)
1999-12-132nd phase of head branch sync with SAMBA_2_0 - this delets all the files ↵Andrew Tridgell1-388/+0
that were in the head branch but weren't in SAMBA_2_0 (This used to be commit d7b208786590b5a28618590172b8d523627dda09)
1999-12-12delineation between smb and msrpc more marked. smbd now constructsLuke Leighton1-7/+7
pdus, and then feeds them over either a "local" function call or a "remote" function call to an msrpc service. the "remote" msrpc daemon, on the other side of a unix socket, then calls the same "local" function that smbd would, if the msrpc service were being run from inside smbd. this allows a transition from local msrpc services (inside the same smbd process) to remote (over a unix socket). removed reference to pipes_struct in msrpc services. all msrpc processing functions take rpcsrv_struct which is a structure containing state info for the msrpc functions to decode and create pdus. created become_vuser() which does everything not related to connection_struct that become_user() does. removed, as best i could, connection_struct dependencies from the nt spoolss printing code. todo: remove dcinfo from rpcsrv_struct because this stores NETLOGON-specific info on a per-connection basis, and if the connection dies then so does the info, and that's a fairly serious problem. had to put pretty much everything that is in user_struct into parse_creds.c to feed unix user info over to the msrpc daemons. why? because it's expensive to do unix password/group database lookups, and it's definitely expensive to do nt user profile lookups, not to mention pretty difficult and if you did either of these it would introduce a complication / unnecessary interdependency. so, send uid/gid/num_groups/gid_t* + SID+num_rids+domain_group_rids* + unix username + nt username + nt domain + user session key etc. this is the MINIMUM info identified so far that's actually implemented. missing bits include the called and calling netbios names etc. (basically, anything that can be loaded into standard_sub() and standard_sub_basic()...) (This used to be commit aa3c659a8dba0437c17c60055a6ed30fdfecdb6d)
1999-11-24rewrote policy handle code to be generic (it's needed for client-side too)Luke Leighton1-9/+9
attempted to fix regsetsec command (This used to be commit eaac0923e0e5e3f4c3d944272a71f3235ac2a741)
1999-05-03last part of RPC api change.Jean-François Micouleau1-6/+6
and of rpcclient eventlog funtion Jean Francois (This used to be commit 7fc8659e83bf0269df297016beac6793ff0bdf32)
1999-03-18Added SVC_START_SERVICE rpc. An NT PDC will attempt to start the NETLOGONMatthew Chapman1-0/+37
service on its BDC's prior to initiating SAM replication. For now just return success. (This used to be commit 113d03a38a34e5c4115dab59349078093bcd4888)
1999-03-16Added SVC_QUERY_DISP_NAME (corresponding to the GetServiceDisplayName API).Matthew Chapman1-0/+39
Needed during preliminary part of SAM replication. (This used to be commit 03e722cdf502491d09d4c5eb9024d837ae10ab32)
1999-02-15Always null-terminate strings.Matthew Chapman1-2/+2
Also some string length and sizeof(pointer) corrections. (This used to be commit ce24191939b82985d09eabe945199f38b0fea486)
1999-02-12UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman1-2/+2
No more ugly static library buffers and all functions take a destination string length (especially unistrcpy was rather dangerous; we were only saved by the fact that datagrams are limited in size). (This used to be commit a1d39af1ce1d451b811dbd7c2ba391214851b87e)
1999-01-29uni_svc_name not uni_srv_nameLuke Leighton1-1/+1
(This used to be commit 14080a564a24f8f35cb8711b912c46f7243cd723)
1998-12-09adding svcctl parsing codeLuke Leighton1-9/+67
(This used to be commit c6f2f58c74cd79d84ec4a7802882da07a9af80d4)
1998-12-09adding some enumerate services code, client and server.Luke Leighton1-0/+114
(This used to be commit dacf5b152bf74cc3ee9a816911384a5eb0e77afa)
1998-12-08adding "Service Control Manager" commands to rpcclient.Luke Leighton1-14/+14
(This used to be commit e5ee965f8d8452ab694bc5d88e474c4b91dce5b0)
1998-12-08adding srvsvc pipe.Luke Leighton1-0/+140
(This used to be commit d06d6369942828ec89e90f99bd0d0d3f91d61d13)