1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Günther Deschner
8ca8dad7a1 Remove unused marshalling for SVCCTL_ENUM_DEPENDENT_SERVICES.
Guenther
(This used to be commit 5838d81346)
2008-03-20 01:40:04 +01:00
Günther Deschner
edacb74344 Remove unused marshalling for SVCCTL_SET_SERVICE_SEC.
Guenther
(This used to be commit 9ac2606d52)
2008-02-28 00:43:31 +01:00
Günther Deschner
8a1249817e Remove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.
Guenther
(This used to be commit a69c6422bb)
2008-02-28 00:43:30 +01:00
Günther Deschner
1c9990fcfe Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.
Guenther
(This used to be commit eeb598a19a)
2008-02-19 03:13:58 +01:00
Günther Deschner
35a30ac841 Remove unused marshalling for SVCCTL_LOCK_SERVICE_DB.
Guenther
(This used to be commit 23d37a9aed)
2008-02-19 03:13:42 +01:00
Günther Deschner
c147f2fd6b Remove unused marshalling for SVCCTL_QUERY_STATUS.
Guenther
(This used to be commit 8a621f517f)
2008-02-19 03:13:26 +01:00
Günther Deschner
35e48a4b1d Remove unused marshalling for SVCCTL_CONTROL_SERVICE.
Guenther
(This used to be commit 84112a24f5)
2008-02-19 03:13:02 +01:00
Günther Deschner
a750bbf1b8 Remove unused marshalling for SVCCTL_START_SERVICE.
Guenther
(This used to be commit 57e03a7fd5)
2008-02-19 03:12:37 +01:00
Günther Deschner
4673706e1d Remove unused marshalling for SVCCTL_GET_DISPLAY_NAME.
Guenther
(This used to be commit 144f41e7c3)
2008-02-18 13:45:36 +01:00
Günther Deschner
6d95d7d9b9 Remove unused marshalling for SVCCTL_OPEN_SERVICE.
Guenther
(This used to be commit e0a8818af0)
2008-02-18 12:58:44 +01:00
Günther Deschner
330fe0a62a Remove unused marshalling for SVCCTL_OPEN_SCMANAGER.
Guenther
(This used to be commit 1162b8a02d)
2008-02-18 12:12:43 +01: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 f35a266b3c)
2007-10-18 17:40:25 -07:00
Volker Lendecke
929e1d9920 r24809: Consolidate the use of temporary talloc contexts.
This adds the two functions talloc_stackframe() and talloc_tos().

 * When a new talloc stackframe is allocated with talloc_stackframe(), then
 * the TALLOC_CTX returned with talloc_tos() is reset to that new
 * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse
 * happens: The previous talloc_tos() is restored.
 *
 * This API is designed to be robust in the sense that if someone forgets to
 * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and
 * resets the talloc_tos().

The original motivation for this patch was to get rid of the
sid_string_static & friends buffers. Explicitly passing talloc context
everywhere clutters code too much for my taste, so an implicit
talloc_tos() is introduced here. Many of these static buffers are
replaced by a single static pointer.

The intended use would thus be that low-level functions can rather
freely push stuff to talloc_tos, the upper layers clean up by freeing
the stackframe. The more of these stackframes are used and correctly
freed the more exact the memory cleanup happens.

This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and
lp_talloc_ctx (did I forget any?)

So, never do a

tmp_ctx = talloc_init("foo");

anymore, instead, use

tmp_ctx = talloc_stackframe()

:-)

Volker
(This used to be commit 6585ea2cb7)
2007-10-10 12:30:24 -05:00
Andrew Tridgell
153cfb9c83 r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 87c91e4362)
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 407e6e695b)
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 0b1bc3521f)
2007-10-10 12:23:01 -05:00
Jeremy Allison
138668d5d2 r22577: Change all of parse/*.c to use standard form. Fix some
marshalling bugs.
Jeremy.
(This used to be commit 3df99006f8)
2007-10-10 12:19:46 -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 9dafb7f48c)
2007-10-10 11:19:14 -05:00
Gerald Carter
e7a1a0ead2 r12914: adding query/set ops for security descriptors on services.
(This used to be commit cefd2d7cb6)
2007-10-10 11:06:07 -05:00
Gerald Carter
7cd1af4a63 r12176: fix type mismatch after rpc structure change in rpc_svcctl.h
(This used to be commit ba67d3ae04)
2007-10-10 11:05:48 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \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 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Gerald Carter
4ff44ae90e r8956: fix segfault caused by trying to parse a UNISTR2
and not a UNISTR2*
(This used to be commit f775fc7209)
2007-10-10 11:00:22 -05:00
Gerald Carter
14a9d52832 r8899: various compiler warning fixes reported by Jason Mader <jason@ncac.gwu.edu>
(This used to be commit d8ae9f2b3e)
2007-10-10 11:00:19 -05:00
Gerald Carter
bc8954c4fc r7839: remove C++ style comment
(This used to be commit e04fd56e00)
2007-10-10 10:57:59 -05:00
Gerald Carter
d559edcce2 r7563: svcctl patches from Marcin; have cleaned up formating and am checking the code in to snapshot it before I start changing more things
(This used to be commit 560ce111ce)
2007-10-10 10:57:14 -05:00
Gerald Carter
0aa89db947 r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
* add some backwards compatibility to 'net rpc rights list'
* verify privilege name in 'net rpc rights privileges <name>' in order
  to give back better error messages.
(This used to be commit 0e29dc8aa3)
2007-10-10 10:56:20 -05:00
Gerald Carter
dbb5a1fdab r6046: $ net -S block -U % -W VALE rpc service status spooler
spooler service is SVCCTL_RUNNING.
Configuration details:
        Service Type         = 0x110
        Start Type           = 0x2
        Error Control        = 0x1
        Tag ID               = 0x0
        Executable Path      = C:\WINNT\system32\spoolsv.exe
        Load Order Group     = SpoolerGroup
        Dependencies         = RPCSS/
        Start Name           = LocalSystem
        Display Name         = Print Spooler
(This used to be commit b921bf5688)
2007-10-10 10:56:18 -05:00
Gerald Carter
259d44dbb2 r6038: adding more flesh to 'net rpc service'
open and close the service control manager.

Also experimenting with ideas for cli_xxx() interface.
(This used to be commit 4da89ef17b)
2007-10-10 10:56:17 -05:00
Gerald Carter
5d1cb8e79e r6014: rather large change set....
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 4e0ac63c36)
2007-10-10 10:56:15 -05:00