summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_svcctl_nt.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r6149: Fixes bugs #2498 and 2484.Derrell Lipman1-3/+3
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10r6127: Eliminated all compiler warnings pertaining to mismatched ↵Derrell Lipman1-0/+4
"qualifiers". The whole of samba comiles warning-free with the default compiler flags. Temporarily defined -Wall to locate other potential problems. Found an unused static function (#ifdefed out rather than deleted, in case it's needed for something in progress). There are also a number of uses of undeclared functions, mostly krb5_*. Files with these problems need to have appropriate header files included, but they are not fixed in this update. oplock_linux.c.c has undefined functions capget() and capset(), which need to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>, but that could potentially have other side effects, so that remains uncorrected as well. The flag -Wall should be added permanently to CFLAGS, and all warnings then generated should be eliminated. (This used to be commit 5b19ede88ed80318e392f8017f4573fbb2ecbe0f)
2007-10-10r6014: rather large change set....Gerald Carter1-0/+291
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 4e0ac63c36527cd8c52ef720cae17e84f67e7221)