summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_eventlog_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-04Use pidl for _eventlog_ClearEventLogW().Günther Deschner1-20/+8
Guenther (This used to be commit 70a4ba798cdd3b4daa01c2f6aa693de34288c8b9)
2008-02-04Use pidl for _eventlog_GetOldestRecord().Günther Deschner1-11/+5
Guenther (This used to be commit a6a5d99f5206dc4b94f3d0ecceb5198d66afdf41)
2008-02-04Use pidl for _eventlog_GetNumRecords().Günther Deschner1-11/+5
Guenther (This used to be commit af30a6373e7d85df4bb99e153588498938ddc368)
2008-01-29Fix a return value from sync_eventlog_params() (patch from Volker)Gerald W. Carter1-1/+1
(This used to be commit 77085f1a58666ac4314924d18c87d4add0553dba)
2008-01-17Convert sync_eventlog_params() to use reg_api instead of reg_frontend.Michael Adam1-20/+26
This is a step towards untangling the registry. All places should use reg_api.c, reg_frontend should actually more appropriately be named reg_backend_dispatcher and hidden from callers. :-) Michael (This used to be commit 92e95fe58500dc8bf89bb43c1d65559702363767)
2007-12-01Fix some C++ warningsVolker Lendecke1-15/+10
(This used to be commit 156c7f10bb63a610f85b52242cfd1b67bfa73c29)
2007-11-27Remove pstring from everything in rpc_server exceptJeremy Allison1-57/+105
srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy. (This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-7/+7
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-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-10r23591: Fix bug #4725. Don't crash when no eventlogs specified. NeedsJeremy Allison1-0/+4
merging for 3.0.25b. Jeremy. (This used to be commit ae239fec6faa79018c818506b391b829ccd685f8)
2007-10-10r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init ↵Gerald Carter1-4/+141
call renames for svcctl in the previous commit (This used to be commit ebcae48ec10fefa74efcc3563cff50e3b9c2388c)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher1-1/+1
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r20269: merge -r20264:20267 from SAMBA_3_0_24Herb Lewis1-1/+1
more no previous prototype warnings (This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-1/+1
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-4/+3
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-2/+3
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-3/+2
(This used to be commit cb7f4211b8441642dce9594522dc9588475a7719)
2007-10-10r19775: Fix typoVolker Lendecke1-1/+1
(This used to be commit 370e29ebb9da92c9072bdd4eec84980b5753089a)
2007-10-10r16542: Fix #3863, reported by jason@ncac.gwu.eduJeremy Allison1-2/+0
Jeremy. (This used to be commit cde8323fdc4d4ddaa30e8c59bec89dc130fe26a6)
2007-10-10r16409: Fix Klocwork ID's.Volker Lendecke1-0/+12
1177 In reg_perfcount.c: 1200 1202 1203 1204 In regfio.c: 1243 1245 1246 1247 1251 Jerry, the reg_perfcount and regfio.c ones, can you take a look please? This is really your code, and I'm not sure I did the right thing to return an error. smbcacls.c: 1377 srv_eventlog_nt.c: 1415 1416 1417 srv_lsa_nt.c: 1420 1421 srv_netlog_nt.c: 1429 srv_samr_nt: 1458 1459 1460 Volker Volker (This used to be commit d6547d12b1c9f9454876665a5bdb010f46b9f5ff)
2007-10-10r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring ↵Volker Lendecke1-1/+1
does not have the timeout argument in Samba4. Add a new routine tdb_lock_bystring_with_timeout. Volker (This used to be commit b9c6e3f55602fa505859a4b2cd137b74105d685f)
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-10r11762: fix my build breakageGerald Carter1-1/+2
(This used to be commit 9ee851630ec3443f27a61de6eaf222c74d2d064a)
2007-10-10r11761: * fix clearing of event logs by truncating the tdb.Gerald Carter1-29/+35
This feature got broken in some of the other updates. Now each open handle stores an pointer to an open tdb data structure (not the tdb pointer itself). Clearing can be done with a simple elog_close_tdb( elog, True ) to force a close and then calling elog_open_tdb( logname, True ) to force an tdb truncate. Permissions on existing tdbs are maintained which is important. * We don't currently handle backup. Haven't looked at the format of a backuped up eventlog to know what the deal is. (This used to be commit 2df34c9403446d12f1ceeac38cbda5d3ba805b02)
2007-10-10r11760: fix sequential reads in the eventlog; event viewer is behaving ↵Gerald Carter1-81/+105
better now as well but needs more testing (This used to be commit ba2f94aeae1f8e69d53fc360785adf222a8c9c6e)
2007-10-10r11332: eventlog API uses NTSTATUS, not WERROR for return codesGerald Carter1-34/+33
(This used to be commit f5f40633bc3f641a0fef4934375d0d829899b0d7)
2007-10-10r11170: root free pass on eventlog open access checkGerald Carter1-0/+7
(This used to be commit 4e3ff41e1ee2e3c323814fd8c6aa44ecab412257)
2007-10-10r11060: merging new eventlog code from trunkGerald Carter1-391/+237
(This used to be commit 1bcf7e82ede63a851a244162a3b939373787b693)
2007-10-10r10819: merging a couple of fixes from trunkGerald Carter1-1/+1
* 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-639/+586
(This used to be commit f10aa9fb84bfac4f1a22b74d63999668700ffaac)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-809/+776
* \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-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison1-19/+19
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r7880: fix a typo and memleak on failures cases (patch from marcin)Gerald Carter1-0/+6
(This used to be commit 6ff0fa0b4385481f2212047d80ca17b55d996def)
2007-10-10r6680: event log patches from MarcinGerald Carter1-58/+126
(This used to be commit a71e104af84810f488f42cb0843976961e6f6ebe)
2007-10-10r6014: rather large change set....Gerald Carter1-0/+923
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)