summaryrefslogtreecommitdiff
path: root/source3/services/services_db.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-8/+8
Jeremy.
2008-09-17Ensure all pointers are initialized. Without this we can crash when looking ↵Jeremy Allison1-20/+20
up a non-existant uid. Jeremy.
2008-08-15svcctl: use MODULESDIR instead of LIBDIR for the svcctl script directory.Michael Adam1-3/+3
Michael (This used to be commit bb19634138cfd1f527c44e16a44aa21ebee50c1c)
2008-06-18Revert "Fix a memleak in svcctl_init_keys()"Volker Lendecke1-10/+1
This reverts commit b1afb31f3cadd4749bf6e3eb5d8935588bf8ebfc. This one is very strange: I need to investigate why valgrind showed it as leaking, and why in my initial tests this did not fail. (cherry picked from commit 24730f5981efb920811e7929a9483bd72bb0984c) (This used to be commit b1e8e5d173cdaa3fb9c1fb1d9aacf8e665bc5d61)
2008-06-17Fix a memleak in svcctl_init_keys()Volker Lendecke1-1/+10
(This used to be commit 675bb53398ba29c53d2dcf3c7122cf4770c2f938)
2008-03-17Coverity fixesMarc VanHeyningen1-1/+6
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-02-18Fix segfault in svcctl_get_secdesc(): prevent premature TALLOC_FREE.Michael Adam1-14/+14
This crash was triggered by (e.g.) net rpc service status. This patch prevents premature freeing of memory and creates a common exit point to the function. Michael (This used to be commit f1fb9fd6f14fc53629871cbe4b8558ad5acc14f0)
2008-02-18Add a check for success of fetch_reg_values().Michael Adam1-1/+5
Michael (This used to be commit ba69097f37086537e6b2606fceeb874f6d3e4e1c)
2008-02-18Fix a comment typo.Michael Adam1-1/+1
Michael (This used to be commit 00e2dd36b38fcf92d76a0e79860cf9ca6a3d027e)
2008-01-21Fix two debug messages.Michael Adam1-2/+2
Michael (This used to be commit 35e23368dd4240a3c907b4cee882f51119032527)
2007-12-21Some C++ fixesVolker Lendecke1-1/+3
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
2007-12-17More static fstring elimination.Jeremy Allison1-23/+25
Jeremy. (This used to be commit b4dfec09e89428cac9b21a94ce4d24e60d4a54f4)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-3/+3
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-11-20Remove pstring from services/*.cJeremy Allison1-127/+175
Jeremy. (This used to be commit 33aa866195e232f878230bc62e97e1484996afcc)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-3/+3
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-10r25561: Make use of [un]marshall_sec_descVolker Lendecke1-29/+22
Minor cleanup only (This used to be commit 4dc4364b68b6b68ae0951a84475e2f9ea8cb1f8c)
2007-10-10r24949: Remove some static buffersVolker Lendecke1-2/+2
(This used to be commit df648d47ff3c4e24f439fda839653bda98323100)
2007-10-10r24290: fix debug statments to match function nameHerb Lewis1-2/+2
(This used to be commit 5ee0bfde50645b822cefefe90bc9168faeeb34ff)
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-10r19991: Sorry for this 2000-liner...Volker Lendecke1-8/+8
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19947: Change regkey_open_internal to take the parent key and a talloc_ctx asVolker Lendecke1-33/+38
arguments. This also replaces regkey_close_internal by TALLOC_FREE. Volker (This used to be commit a177bbb2d5611f03cec25b7577c2e6a542f94a69)
2007-10-10r19780: Ok, regkey_open_internal needs a regkey_close_internal. Giving a ↵Volker Lendecke1-14/+11
talloc ctx is misleading here. This needs fixing properly :-) Volker (This used to be commit f808182346aa16bb2f3a9383e28d318099a5e14e)
2007-10-10r19778: Make regkey_open_internal take a talloc ctxVolker Lendecke1-11/+14
(This used to be commit cb7f4211b8441642dce9594522dc9588475a7719)
2007-10-10r14132: Fix Coverity bug # 150.Volker Lendecke1-1/+1
Jerry, you might want to check this. Thanks Volker (This used to be commit 9ec671c2f8547482ed08eb17a0fb771ef8fd1e51)
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-10r12914: adding query/set ops for security descriptors on services.Gerald Carter1-0/+47
(This used to be commit cefd2d7cb6140b068d66e2383e9acfa4c3c4b4c7)
2007-10-10r12281: adding a note about WINS and NetLogon not being remotely manageableGerald Carter1-2/+2
(This used to be commit b86528865abae7380e80a8a18f9fb53ac77d6472)
2007-10-10r11830: patch from Rashid N. Achilov <shelton@granch.ru> to add descriptions ↵Gerald Carter1-32/+40
for some common services (This used to be commit 69e168197e576bac6d4b29bdca876243eb7caf68)
2007-10-10r11579: syncing up perf counter code cfrom trunkGerald Carter1-0/+1
(This used to be commit 59c00924b67aa3d37a933731a56d03963ec7f1b5)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison1-1/+1
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r10961: remove unused variables (patch from Jason Mader)Gerald Carter1-5/+2
(This used to be commit d6c6562d33cc88827cb8560a412e8ea51f9a5352)
2007-10-10r10819: merging a couple of fixes from trunkGerald Carter1-14/+20
* only keep the registry,tdb file open when we have an open key handle * tpot's setup.py fix * removing files that no longer exist in trunk and copying some that were missing in 3.0 (This used to be commit 6c6bf6ca5fd430a7a20bf20ed08050328660e570)
2007-10-10r10781: merging eventlog and svcctl code from trunkGerald Carter1-31/+207
(This used to be commit f10aa9fb84bfac4f1a22b74d63999668700ffaac)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-470/+359
* \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-10r7624: * removed unmatched tdb_lock_by_string() call (should fix build farm ↵Gerald Carter1-12/+3
issues) * comment out services.tdb code until I finish rewriting it (This used to be commit 707b7822286a6c7e9d1e4ca3d15b99c976f6e704)
2007-10-10r7595: start trying to split out the svcctl functions into separate files ↵Gerald Carter1-0/+573
for better maintenance; add SERVICE_CONTROL_OPS for spoolss service (This used to be commit 2b0ea30a1a3aebaabd5d328de50e6ad2ef18d45d)