summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_svcctl_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-28s3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().Günther Deschner1-1/+3
The resume handle is a unique pointer, always check before dereference. Guenther
2009-04-27s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam1-1/+1
Michael
2009-04-27s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam1-1/+1
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-04-24s3-svcctl: fix _svcctl_ControlService.Günther Deschner1-1/+1
Guenther
2009-04-14s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().Günther Deschner1-2/+1
Make sure we are not copying more than what we have as valid data. Fix from Jeremy. Thanks a lot for watching this so closely! Guenther
2009-04-09s3-svcctl: minor fix for _svcctl_EnumDependentServicesW().Günther Deschner1-0/+9
Guenther
2009-04-09s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().Günther Deschner1-1/+0
Found by torture-test. Guenther
2009-04-09s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes.Günther Deschner1-2/+3
Guenther
2009-04-08s3-svcctl: Fix _svcctl_EnumServicesStatusW (again).Günther Deschner1-3/+1
The final plan is to use the same macro based code that we have in spoolss to handle the buffers and calculate the buffer-sizes. Guenther
2009-04-08svcctl: use offered/needed for buffer sizes as in spoolss.Günther Deschner1-14/+14
Guenther
2009-04-08s3-svcctl: no need to define SVCCTL_NUM_INTERNAL_SERVICES twice in a file.Günther Deschner1-2/+0
Guenther
2009-04-07s3-svcctl: Fix _svcctl_EnumServicesStatusW() crash bug on too small buffer.Günther Deschner1-1/+3
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-2/+2
Guenther
2009-02-23More warning fixes for Solaris.Jeremy Allison1-3/+3
Jeremy.
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-2/+0
2009-01-09s3-svcctl: use pidl for _svcctl_EnumServicesStatusW.Günther Deschner1-26/+32
Guenther
2009-01-08Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke1-11/+2
2009-01-08s3-svcctl: add copyright to svcctl rpc_server.Günther Deschner1-2/+5
Guenther
2009-01-08s3-svcctl: remove some more redundant headers.Günther Deschner1-1/+1
Guenther
2009-01-08s3-svcctl: use pidl for _svcctl_QueryServiceConfig2W.Günther Deschner1-22/+35
Guenther
2009-01-08s3-svcctl: fix return code for _svcctl_QueryServiceStatusEx.Günther Deschner1-2/+3
Guenther
2009-01-08s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.Günther Deschner1-2/+2
Guenther
2009-01-08s3-svcctl: use pidl for _svcctl_QueryServiceStatusEx.Günther Deschner1-14/+18
Guenther
2009-01-01Add iconv_convenience argument to size functions.Jelmer Vernooij1-2/+2
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke1-7/+13
2008-11-17Fix build warning introduced by making SERVICE_CONTROL an enumTim Prouty1-4/+2
2008-11-13s3-svctl-server: fix remote rpc service management (bug #5888).Günther Deschner1-1/+1
Don't TALLOC_FREE a non-talloced [ref] pointer. Guenther
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-5/+1
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-16s3: use IDL generated rpc for _svcctl_QueryServiceConfigW.Günther Deschner1-22/+18
Guenther
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-1/+1
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-5/+4
Jeremy.
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)