Günther Deschner
7f6bb48bdf
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
...
Guenther
2010-05-18 12:30:12 +02:00
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +02:00
Günther Deschner
fe31b67d5e
s3-registry: only include registry headers when really needed.
...
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
d2d7174394
s3-eventlog: move all eventlog headers to lib/eventlog and only include where required.
...
Guenther
2010-05-06 13:41:51 +02:00
Günther Deschner
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
Günther Deschner
e4dec230e9
s3-eventlog: implement _eventlog_ReportEventW().
...
Guenther
2009-06-23 11:10:22 +02:00
Günther Deschner
bcd042e595
s3-eventlog: implement _eventlog_FlushEventLog().
...
Guenther
2009-04-10 13:15:25 +02:00
Günther Deschner
9b585a1282
s3-eventlog: implement _eventlog_GetLogInformation().
...
Guenther
2009-04-10 13:15:24 +02:00
Günther Deschner
531af136f9
s3: remove POLICY_HND.
...
Guenther
2009-03-18 23:22:29 +01:00
Günther Deschner
762b92e285
s3-eventlog: fix rpcclient and server stub for eventlog_GetLogInformation.
...
Guenther
2009-02-21 21:14:11 +01:00
Günther Deschner
abb4faf813
s3-eventlog: remove add_record_to_resp.
...
Guenther
2009-02-04 22:51:15 +01:00
Günther Deschner
96fd6b5a01
s3-eventlog: remove read_package_entry.
...
Guenther
2009-02-04 22:51:07 +01:00
Günther Deschner
58ded409ab
s3-eventlog: remove get_eventlog_record.
...
Guenther
2009-02-04 22:50:59 +01:00
Günther Deschner
f24eecffde
s3-eventlog: add my copyright.
...
Guenther
2009-02-04 22:05:02 +01:00
Günther Deschner
456bd5ad08
s3-eventlog: use pidl for _eventlog_ReadEventLogW.
...
Guenther
2009-02-04 22:04:52 +01:00
Günther Deschner
8fb6b18bac
s3-eventlog: allow to open eventlog tdbs readonly.
...
Guenther
2009-02-03 15:44:06 +01:00
Günther Deschner
9629897094
s3-eventlog: add missing _eventlog_ReportEventAndSourceW stub call.
...
Guenther
2009-01-24 03:33:22 +01:00
Günther Deschner
5bcd6d760b
Revert "s3-eventlog: trying to avoid to pass around full ndr structures in rpc_server."
...
This reverts commit c0f1309010b79be67557af5ffbd1c429a3f3d99a.
2009-01-24 03:00:38 +01:00
Günther Deschner
dd2695fe52
s3-eventlog: fix various invalid memcpy in read_package_entry().
...
Guenther
2009-01-24 03:00:38 +01:00
Günther Deschner
740c5ce081
s3-eventlog: fix _eventlog_CloseEventLog.
...
Guenther
2009-01-16 11:52:49 +01:00
Günther Deschner
6dc18f2cab
s3-eventlog: some minor code cleanup in eventlog server.
...
Guenther
2009-01-16 00:28:45 +01:00
Günther Deschner
990491d187
s3-eventlog: fix ps struct removal leftover.
...
Guenther
2009-01-14 10:53:04 +01:00
Günther Deschner
df8b724819
s3-eventlog: use main talloc context in eventlog read call.
...
Guenther
2009-01-14 10:18:14 +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
Volker Lendecke
baa5c5eeb0
Make use of a talloc_destructor for free_eventlog_info()
2009-01-08 22:29:53 +01:00
Günther Deschner
252d271fe4
s3-eventlog: minor cosmetics.
...
Guenther
2009-01-08 19:37:29 +01:00
Günther Deschner
c0f1309010
s3-eventlog: trying to avoid to pass around full ndr structures in rpc_server.
...
Jerry, please check.
Guenther
2009-01-08 19:37:29 +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
Jeremy Allison
98bf3ee2f6
Second part of fix for bug #5891 - smbd crashed when viewing the eventlog exported by "eventlog list". Don't leak memory on error paths.
...
Jeremy.
2008-11-20 10:56:14 -08:00
Günther Deschner
f0e75484a7
s3-eventlog: remove trailing whitespace.
...
Guenther
2008-11-20 17:16:03 +01:00
Günther Deschner
70f55ddb70
s3-eventlog: avoid passing down full prs_struct in eventlog server.
...
Guenther
2008-11-20 17:15:38 +01:00
Michael Adam
172628dca2
eventlog: don't crash in sync_eventlog_params().
...
When freeing the talloc ctx at the end of the routine,
it must be a talloc ctx created inside. talloc_tos() needs
to be valid after the function finishes, since callers
(may) have data attached to it.
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-20 17:08:37 +01:00
Jeremy Allison
da683d6a73
This code mixes up int and uint32 when pulling out of a TDB. This is very bad. Fixing... May fix bug #5891 , not sure.
...
Jeremy.
2008-11-19 16:49:03 -08:00
Jeremy Allison
c62427c7fc
Fix bug 5891] : smbd crashed when viewing the eventlog exported by "eventlog list"
...
Don't mix TALLOC and SAFE_FREE().
Jeremy.
2008-11-11 14:38:59 -08:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +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
a31829ffcd
Remove unused arguments in read_package_entry() in the eventlog rpc server.
...
Guenther
(This used to be commit c2e786d4e2cb53b5a8be45278f221acaa7f5122a)
2008-02-04 11:33:06 +01:00
Günther Deschner
5ab6d66f13
Use pidl for _eventlog_OpenEventLogW().
...
Guenther
(This used to be commit ef293be6cb95225f10e8062b3089dc1bbe5fd013)
2008-02-04 11:10:18 +01:00
Günther Deschner
221a2a9a5f
Copy inline comment for _eventlog_ClearEventLogW() from rpc_parse to rpc_server.
...
Guenther
(This used to be commit 26eadadbf628f4d3aa4cd0ab4b55d47dc79c80ba)
2008-02-04 10:55:14 +01:00
Günther Deschner
48d2990d8c
Use pidl for _eventlog_ClearEventLogW().
...
Guenther
(This used to be commit 70a4ba798cdd3b4daa01c2f6aa693de34288c8b9)
2008-02-04 10:53:59 +01:00
Günther Deschner
8d20f3f999
Use pidl for _eventlog_GetOldestRecord().
...
Guenther
(This used to be commit a6a5d99f5206dc4b94f3d0ecceb5198d66afdf41)
2008-02-04 10:44:51 +01:00
Günther Deschner
72d0deddc4
Use pidl for _eventlog_GetNumRecords().
...
Guenther
(This used to be commit af30a6373e7d85df4bb99e153588498938ddc368)
2008-02-04 10:10:12 +01:00
Gerald W. Carter
5dcc7f7e61
Fix a return value from sync_eventlog_params() (patch from Volker)
...
(This used to be commit 77085f1a58666ac4314924d18c87d4add0553dba)
2008-01-29 15:06:59 -06:00
Michael Adam
00f3df3c13
Convert sync_eventlog_params() to use reg_api instead of reg_frontend.
...
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)
2008-01-17 16:25:11 +01:00
Volker Lendecke
bbf2cb6da9
Fix some C++ warnings
...
(This used to be commit 156c7f10bb63a610f85b52242cfd1b67bfa73c29)
2007-12-01 10:43:35 -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
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
Jeremy Allison
d1d2157153
r23591: Fix bug #4725 . Don't crash when no eventlogs specified. Needs
...
merging for 3.0.25b.
Jeremy.
(This used to be commit ae239fec6faa79018c818506b391b829ccd685f8)
2007-10-10 12:23:33 -05:00