1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

71 Commits

Author SHA1 Message Date
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
Volker Lendecke
09ec562a09 r19776: Hmmm. I should have done one instead of three commits. Sorry :-)
(This used to be commit e2a35ceffe35b25aafde987c50e63b89a3e3ec16)
2007-10-10 12:15:54 -05:00
Jeremy Allison
fbdcf2663b r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
(This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10 11:19:14 -05:00
Jeremy Allison
be2bc3147c r14395: Fix coverity bug #55. Ensure no unsigned/signed comparisons.
Jeremy.
(This used to be commit cd3ad3f1a6f622b4bad5cb21b132de4cc476e03f)
2007-10-10 11:15:28 -05:00
Jeremy Allison
bd1e853c19 r14338: Fix coverity #55 by explicit cast.
Jeremy.
(This used to be commit 1fece52da4d667fa182aa9a87aaee3917860448b)
2007-10-10 11:15:25 -05:00
Gerald Carter
ef3f2c9675 r13393: Do not initialize the lp_svcctl_list() value since it is handled
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-10 11:09:58 -05:00
Gerald Carter
bb59be3e0d r12915: protect against changing the SCM security descriptor
(This used to be commit 5842da99681c15437c11e9925dec24c8c0e3708a)
2007-10-10 11:06:07 -05:00
Gerald Carter
e7a1a0ead2 r12914: adding query/set ops for security descriptors on services.
(This used to be commit cefd2d7cb6140b068d66e2383e9acfa4c3c4b4c7)
2007-10-10 11:06:07 -05:00
Gerald Carter
a489553067 r12173: doing some service control work
* 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-10 11:05:47 -05:00