1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

79 Commits

Author SHA1 Message Date
Günther Deschner
76da89daaa s3-svcctl: minor fix for _svcctl_EnumDependentServicesW().
Guenther
2009-04-09 16:42:28 +02:00
Günther Deschner
8b9f2abfcb s3-svcctl: Fix invalid buffer memset in _svcctl_QueryServiceObjectSecurity().
Found by torture-test.

Guenther
2009-04-09 15:08:29 +02:00
Günther Deschner
acd7fef984 s3-svcctl: Fix _svcctl_Set/GetServiceObjectSecurity after IDL changes.
Guenther
2009-04-09 14:51:21 +02:00
Günther Deschner
d8a6ea8141 s3-svcctl: Fix _svcctl_EnumServicesStatusW (again).
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-08 23:23:17 +02:00
Günther Deschner
8e3145e551 svcctl: use offered/needed for buffer sizes as in spoolss.
Guenther
2009-04-08 11:03:53 +02:00
Günther Deschner
b36fab0491 s3-svcctl: no need to define SVCCTL_NUM_INTERNAL_SERVICES twice in a file.
Guenther
2009-04-08 01:52:28 +02:00
Günther Deschner
21b083a647 s3-svcctl: Fix _svcctl_EnumServicesStatusW() crash bug on too small buffer.
Guenther
2009-04-07 01:16:30 +02:00
Günther Deschner
531af136f9 s3: remove POLICY_HND.
Guenther
2009-03-18 23:22:29 +01:00
Jeremy Allison
2033b44c3f More warning fixes for Solaris.
Jeremy.
2009-02-23 15:44:34 -08:00
todd stecher
989ad44d32 Memory leaks and other fixes found by Coverity 2009-01-21 17:13:03 -08:00
Günther Deschner
fa6053fe6d s3-svcctl: use pidl for _svcctl_EnumServicesStatusW.
Guenther
2009-01-09 17:08:18 +01:00
Volker Lendecke
84292022bf Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fn 2009-01-08 22:29:54 +01:00
Günther Deschner
ca98357710 s3-svcctl: add copyright to svcctl rpc_server.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
cbc2c9059f s3-svcctl: remove some more redundant headers.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
3079e14f94 s3-svcctl: use pidl for _svcctl_QueryServiceConfig2W.
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
5581637d22 s3-svcctl: fix return code for _svcctl_QueryServiceStatusEx.
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
385316a09a s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
b42cb4944a s3-svcctl: use pidl for _svcctl_QueryServiceStatusEx.
Guenther
2009-01-08 11:19:32 +01:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Volker Lendecke
907f126d3e Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS! 2008-11-24 11:39:03 +01:00
Tim Prouty
0b1015d73e Fix build warning introduced by making SERVICE_CONTROL an enum 2008-11-17 10:21:29 -08:00
Günther Deschner
e76e77c32d s3-svctl-server: fix remote rpc service management (bug #5888).
Don't TALLOC_FREE a non-talloced [ref] pointer.

Guenther
2008-11-13 20:49:38 +01:00
Jeremy Allison
8344e94574 Unify se_access_check with the S4 code. Will make
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier
for files.
Jeremy.
2008-10-31 10:51:45 -07:00
Günther Deschner
6a97b4147c s3: use IDL generated rpc for _svcctl_QueryServiceConfigW.
Guenther
2008-10-16 09:54:49 +02:00
Jelmer Vernooij
218f482fbf Use common strlist implementation in Samba 3 and Samba 4. 2008-10-12 00:56:56 +02:00
Jeremy Allison
e5692d4cbe Remove SEC_ACCESS. It's a uint32_t.
Jeremy.
2008-10-09 09:49:03 -07:00
Günther Deschner
4c17fce8dc Make sure to zero the returned handle in _svcctl_CloseServiceHandle().
Guenther
(This used to be commit 84a079af490cb135dd557091932ea079e1d7ff5b)
2008-03-27 23:31:54 +01:00
Günther Deschner
1a65f16843 Use pidl for _svcctl_EnumDependentServicesW().
Guenther
(This used to be commit 988291a9c07c055213f8979ebe75bb392811008d)
2008-03-20 01:38:23 +01:00
Günther Deschner
3279d3110f Fix debug statement (missing \n).
Guenther
(This used to be commit 5895b973a4e7067535aff6e0c9a7273e332dee1a)
2008-03-07 13:07:50 +01:00
Günther Deschner
c86cbd7369 Use pidl for _svcctl_SetServiceObjectSecurity().
Guenther
(This used to be commit 19048ab4ad1b262536efae5b8b8b4411ec088921)
2008-02-28 00:43:31 +01:00
Günther Deschner
fac7193cd2 Use pidl for _svcctl_QueryServiceObjectSecurity().
Guenther
(This used to be commit 7c1d30f3dca068d7a3b6ec138d1d01141f0386c2)
2008-02-28 00:43:30 +01:00
Günther Deschner
5894d5e99a Use pidl for _svcctl_UnlockServiceDatabase().
Guenther
(This used to be commit 300bf76a79bfa0a9cf55505fd1e928aba9fec171)
2008-02-19 03:13:50 +01:00
Günther Deschner
e0860ccc82 Use pidl for _svcctl_LockServiceDatabase().
Guenther
(This used to be commit 939da2eb58ea8cfa637ec63b254755d77702da45)
2008-02-19 03:13:34 +01:00
Günther Deschner
4421e0d147 Use pidl for _svcctl_QueryServiceStatus().
Guenther
(This used to be commit 5453d97ef4967755ef0c903dd665325d50845028)
2008-02-19 03:13:10 +01:00
Günther Deschner
e87216972a Use pidl for _svcctl_ControlService().
Guenther
(This used to be commit 4797ca0bd5dc922f6ba5ebb93bf65ceee09a678e)
2008-02-19 03:12:46 +01:00
Günther Deschner
f8b0242ca0 Use pidl for _svcctl_StartServiceW().
Guenther
(This used to be commit d95998ffd321eccf19f7de671eed2c741038b81e)
2008-02-19 03:12:11 +01:00
Günther Deschner
1c298d59a6 Use pidl for _svcctl_GetServiceDisplayNameW().
Guenther
(This used to be commit 2746e88c5c4a9e859356d5c53106eba0c2cd7cbe)
2008-02-18 13:43:12 +01:00
Günther Deschner
5943ff68e7 Use pidl for _svcctl_OpenServiceW().
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-18 12:58:43 +01:00
Günther Deschner
357bf00812 Use pidl for _svcctl_OpenSCManagerW().
Guenther
(This used to be commit 1131e914df9c69b046f335999b7b62063e92fb9d)
2008-02-18 11:55:31 +01:00
Günther Deschner
50e31b9346 Remove whitespace, no code changes.
Guenther
(This used to be commit d752d52f1a4b75d7d4934da66566bc62e14caf27)
2008-02-18 11:51:17 +01:00
Volker Lendecke
7cbdb48475 Remove tiny code duplication
ndr_size_security_descriptor does the same as sec_desc_size
(This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
2007-12-29 23:13:26 +01:00
Volker Lendecke
99b86e4a26 Some C++ fixes
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
2007-12-21 09:58:21 +01:00
Jeremy Allison
e3efe7cd7e More static fstring elimination.
Jeremy.
(This used to be commit b4dfec09e89428cac9b21a94ce4d24e60d4a54f4)
2007-12-17 18:00:43 -08:00
Jeremy Allison
3a452a15b7 Remove pstring from everything in rpc_server except
srv_spoolss_nt.c and srv_srvsvc_nt.c.
They're next :-).
Jeremy.
(This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
2007-11-27 11:22:58 -08:00
Jeremy Allison
30191d1a57 RIP BOOL. Convert BOOL -> bool. I found a few interesting
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-18 17:40:25 -07:00
Gerald (Jerry) Carter
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10 15:34:30 -05:00
Volker Lendecke
0ebab65706 r25534: Apply some const
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-10 12:31:12 -05:00
Andrew Tridgell
153cfb9c83 r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10 12:28:27 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Gerald Carter
d99f4f004c r23271: merge service control pidl change for CloseServiceHandle() from SAMBA_3_0_26
(This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
2007-10-10 12:23:01 -05:00