summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_svcctl_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-27Make sure to zero the returned handle in _svcctl_CloseServiceHandle().Günther Deschner1-0/+2
Guenther (This used to be commit 84a079af490cb135dd557091932ea079e1d7ff5b)
2008-03-20Use pidl for _svcctl_EnumDependentServicesW().Günther Deschner1-12/+7
Guenther (This used to be commit 988291a9c07c055213f8979ebe75bb392811008d)
2008-03-07Fix debug statement (missing \n).Günther Deschner1-1/+1
Guenther (This used to be commit 5895b973a4e7067535aff6e0c9a7273e332dee1a)
2008-02-28Use pidl for _svcctl_SetServiceObjectSecurity().Günther Deschner1-11/+12
Guenther (This used to be commit 19048ab4ad1b262536efae5b8b8b4411ec088921)
2008-02-28Use pidl for _svcctl_QueryServiceObjectSecurity().Günther Deschner1-15/+17
Guenther (This used to be commit 7c1d30f3dca068d7a3b6ec138d1d01141f0386c2)
2008-02-19Use pidl for _svcctl_UnlockServiceDatabase().Günther Deschner1-9/+5
Guenther (This used to be commit 300bf76a79bfa0a9cf55505fd1e928aba9fec171)
2008-02-19Use pidl for _svcctl_LockServiceDatabase().Günther Deschner1-10/+5
Guenther (This used to be commit 939da2eb58ea8cfa637ec63b254755d77702da45)
2008-02-19Use pidl for _svcctl_QueryServiceStatus().Günther Deschner1-9/+5
Guenther (This used to be commit 5453d97ef4967755ef0c903dd665325d50845028)
2008-02-19Use pidl for _svcctl_ControlService().Günther Deschner1-11/+9
Guenther (This used to be commit 4797ca0bd5dc922f6ba5ebb93bf65ceee09a678e)
2008-02-19Use pidl for _svcctl_StartServiceW().Günther Deschner1-8/+4
Guenther (This used to be commit d95998ffd321eccf19f7de671eed2c741038b81e)
2008-02-18Use pidl for _svcctl_GetServiceDisplayNameW().Günther Deschner1-11/+12
Guenther (This used to be commit 2746e88c5c4a9e859356d5c53106eba0c2cd7cbe)
2008-02-18Use pidl for _svcctl_OpenServiceW().Günther Deschner1-20/+12
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-10/+5
Guenther (This used to be commit 1131e914df9c69b046f335999b7b62063e92fb9d)
2008-02-18Remove whitespace, no code changes.Günther Deschner1-161/+161
Guenther (This used to be commit d752d52f1a4b75d7d4934da66566bc62e14caf27)
2007-12-29Remove tiny code duplicationVolker Lendecke1-1/+1
ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
2007-12-21Some C++ fixesVolker Lendecke1-1/+3
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
2007-12-17More static fstring elimination.Jeremy Allison1-14/+14
Jeremy. (This used to be commit b4dfec09e89428cac9b21a94ce4d24e60d4a54f4)
2007-11-27Remove pstring from everything in rpc_server exceptJeremy Allison1-10/+15
srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy. (This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-1/+1
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-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-1/+1
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25534: Apply some constVolker Lendecke1-2/+2
Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
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-2/+263
SAMBA_3_0_26 (This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
2007-10-10r19776: Hmmm. I should have done one instead of three commits. Sorry :-)Volker Lendecke1-1/+1
(This used to be commit e2a35ceffe35b25aafde987c50e63b89a3e3ec16)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-1/+1
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r14395: Fix coverity bug #55. Ensure no unsigned/signed comparisons.Jeremy Allison1-3/+3
Jeremy. (This used to be commit cd3ad3f1a6f622b4bad5cb21b132de4cc476e03f)
2007-10-10r14338: Fix coverity #55 by explicit cast.Jeremy Allison1-2/+5
Jeremy. (This used to be commit 1fece52da4d667fa182aa9a87aaee3917860448b)
2007-10-10r13393: Do not initialize the lp_svcctl_list() value since it is handledGerald Carter1-1/+1
internally in services_db.c now. This prevents internal services from being listed twice (one internal and one external) when no 'svcctl list' parameter is explcitly set in smb.conf (This used to be commit 6c4ede6cee7e1d25a6357e959972e8d390c27fe3)
2007-10-10r12915: protect against changing the SCM security descriptorGerald Carter1-0/+5
(This used to be commit 5842da99681c15437c11e9925dec24c8c0e3708a)
2007-10-10r12914: adding query/set ops for security descriptors on services.Gerald Carter1-0/+92
(This used to be commit cefd2d7cb6140b068d66e2383e9acfa4c3c4b4c7)
2007-10-10r12173: doing some service control workGerald Carter1-1/+12
* Add a few new error codes for disabled services * dump some more details about service status in 'net rpc service' * disable the WINS and NetLogon services if not configured in smb.conf Still trying to figure out how to disable the start button on the NetLogon and WINS services. (This used to be commit c0f54eeebc84ec9fab63c5b105511762bcc136be)
2007-10-10r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison1-1/+1
box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy. (This used to be commit c65b752604f8f58abc4e7ae8514dc2c7f086271c)
2007-10-10r10781: merging eventlog and svcctl code from trunkGerald Carter1-2/+17
(This used to be commit f10aa9fb84bfac4f1a22b74d63999668700ffaac)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-387/+307
* \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-10r10264: reverse order of 'root free pass' checks in service and registry ↵Gerald Carter1-9/+5
access_checks() (This used to be commit 35b338a4fc95c14629579336dcf3bd240fda92d3)
2007-10-10r10221: add "free pass for root" in svcctl and default winreg access checksGerald Carter1-1/+9
(This used to be commit 24901187962e24bfa5ba7722aba0aeb9397ac7b6)
2007-10-10r9276: Fix another unused variable warning. Bugzilla #2981.Tim Potter1-4/+1
(This used to be commit abe2ab72e6b1d53dbe04d02882e4fee9cb34dec7)
2007-10-10r8943: Fix segfault in enum_service_statusGerald Carter1-43/+33
(This used to be commit 04a551f0a4d321f5e1a7af33468160e2c7839af8)
2007-10-10r8941: Fix unused variable warning. Bugzilla #2940.Tim Potter1-2/+1
(This used to be commit 6d0aafa5990b1e56d046489e07cbfe85d258c53f)
2007-10-10r8894: Fix a warning. Bugzilla #2939.Tim Potter1-3/+1
(This used to be commit 7648f6cef038dde7fdfbe157784f2fd5437218b0)
2007-10-10r7624: * removed unmatched tdb_lock_by_string() call (should fix build farm ↵Gerald Carter1-3/+3
issues) * comment out services.tdb code until I finish rewriting it (This used to be commit 707b7822286a6c7e9d1e4ca3d15b99c976f6e704)
2007-10-10r7613: small changes to _svcctl_open_service() and ↵Gerald Carter1-9/+21
create_open_service_handle() to prevent invalid service names from being accepted; printmig.exe now migrates drivers successfully (This used to be commit dafb32c01f06c42f44aeb0d16681c5def4903244)
2007-10-10r7610: can successfully stop and start the 'spooler' service by setting the ↵Gerald Carter1-67/+7
state for the 'disable spoolss' parameter in memory for an individual smbd (This used to be commit f19c10d0c3e7701066b765c712df0636e914bf7e)
2007-10-10r7603: * fix a bug in the SERVICE_ALL_ACCESS security maskGerald Carter1-2/+4
* add calls to start and stop a service (to be filled in by the backend routines in services/svc_*.c (This used to be commit 793d28a946d83beb2576c5c8ce808d32c71c880a)
2007-10-10r7595: start trying to split out the svcctl functions into separate files ↵Gerald Carter1-692/+13
for better maintenance; add SERVICE_CONTROL_OPS for spoolss service (This used to be commit 2b0ea30a1a3aebaabd5d328de50e6ad2ef18d45d)
2007-10-10r7583: * more rearranging and renaming of functionsGerald Carter1-410/+472
* add access checks to _svcctl_XXX() calls based on the access granted on the handle (This used to be commit 82b76d4b34834b7f64389b85befe8bfcae04a404)
2007-10-10r7576: implement access checks for open_scm and open_serviceGerald Carter1-11/+115
according to default security descriptor described in MSDN. no one can get in to due to the permissions, but i'll fix that next. (This used to be commit 11902e503ed4f6d6991a9fe7521fe44168274ec8)
2007-10-10r7573: you can't make an omlette without break a few eggs....start reworking ↵Gerald Carter1-416/+300
the svcctl code (This used to be commit 24b369d12f8d5dbfdc317e5f088b8ae2583f4483)
2007-10-10r7563: svcctl patches from Marcin; have cleaned up formating and am checking ↵Gerald Carter1-81/+1300
the code in to snapshot it before I start changing more things (This used to be commit 560ce111ce8de37d02bce64d2ca60a5f471d5477)