Günther Deschner
1b71fa5c59
s3-eventlog: add evlog_pull_record function.
...
Guenther
2009-02-04 21:11:52 +01:00
Günther Deschner
65200328ee
s3-eventlog: add evlog_tdb_entry_to_evt_entry.
...
Guenther
2009-02-04 18:39:20 +01:00
Günther Deschner
df5e231a6f
s3-eventlog: add evlog_evt_entry_to_tdb_entry.
...
Guenther
2009-02-04 18:39:20 +01:00
Günther Deschner
de7f0a70c8
s3-eventlogadm: use struct eventlog_Record_tdb for storing entries in tdbs.
...
Guenther
2009-02-04 17:47:07 +01:00
Günther Deschner
16f83ae750
s3-eventlog: add fixup_eventlog_record_tdb.
...
Guenther
2009-02-04 17:47:06 +01:00
Günther Deschner
dd306249f2
s3-eventlog: add evlog_push_record_tdb function.
...
This is almost a copy of write_eventlog_tdb() and still needs to be modified
to use tdb transactions.
Guenther
2009-02-04 17:46:55 +01:00
Günther Deschner
cf3be5ce7a
s3-eventlog: add evlog_pull_record_tdb function.
...
Guenther
2009-02-03 16:06:57 +01:00
Günther Deschner
b94946697d
s3-eventlog: pass down talloc context to parse_logentry().
...
Guenther
2009-02-03 15:45:09 +01:00
Günther Deschner
4976777e3b
s3-eventlog: make logname in elog_open_tdb const.
...
Guenther
2009-02-03 15:44:20 +01:00
Günther Deschner
8fb6b18bac
s3-eventlog: allow to open eventlog tdbs readonly.
...
Guenther
2009-02-03 15:44:06 +01:00
Dan Sledz
d96248a9b4
Add two new parameters to control how we verify kerberos tickets. Removes lp_use_kerberos_keytab parameter.
...
The first is "kerberos method" and replaces the "use kerberos keytab"
with an enum. Valid options are:
secrets only - use only the secrets for ticket verification (default)
system keytab - use only the system keytab for ticket verification
dedicated keytab - use a dedicated keytab for ticket verification.
secrets and keytab - use the secrets.tdb first, then the system keytab
For existing installs:
"use kerberos keytab = yes" corresponds to secrets and keytab
"use kerberos keytab = no" corresponds to secrets only
The major difference between "system keytab" and "dedicated keytab" is
that the latter method relies on kerberos to find the correct keytab
entry instead of filtering based on expected principals.
The second parameter is "dedicated keytab file", which is the keytab
to use when in "dedicated keytab" mode. This keytab is only used in
ads_verify_ticket.
2009-02-01 20:23:31 -08:00
Volker Lendecke
c14b7e648b
Split up async_req into a generic and a NTSTATUS specific part
2009-02-01 19:05:39 +01:00
Volker Lendecke
7967d8c779
Move rpc_pipe_open_internal to srv_pipe_hnd.c
...
This is a smbd-only function
2009-02-01 14:34:23 +01:00
Volker Lendecke
53394980ad
Replace pipe names in pipes_struct by ndr_syntax_id
...
This was mainly used for debugging output
2009-02-01 14:34:23 +01:00
Volker Lendecke
99f021d0ef
Fix the build on Solaris CC
2009-02-01 00:07:16 +01:00
Volker Lendecke
fa7ddc78b8
Remove unused np_read sync wrapper
2009-01-31 17:50:18 +01:00
Volker Lendecke
8b480b52ce
Remove unused np_write sync wrapper
2009-01-31 17:50:18 +01:00
Volker Lendecke
e8b2b46cae
Make-np_write-handle-0-byte-writes-as-NT_STATUS_OK
2009-01-31 17:50:18 +01:00
Volker Lendecke
b797c056a6
Add an async np_read wrapper
2009-01-31 17:50:18 +01:00
Volker Lendecke
e60d69d67d
Add an async np_write wrapper
2009-01-31 17:50:18 +01:00
Stefan Metzmacher
f6d8d94510
s3:rpc_server: use get_client_fd() instead of smbd_server_fd()
...
Both are absolutely the same, but smbd_server_fd() is otherwise
only used in smbd/*.c and would like to remove smbd_server_fd() soon.
metze
2009-01-27 15:28:12 +01:00
Volker Lendecke
8b80407712
Fix a segfault in parse_logentry
...
entry->data_record.strings is type smb_ucs2, so the pointer arithmetic
increments by two :-)
2009-01-24 15:08:21 +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
todd stecher
989ad44d32
Memory leaks and other fixes found by Coverity
2009-01-21 17:13:03 -08:00
Volker Lendecke
520f88143b
Remove some unused code
2009-01-20 16:41:32 +01:00
Volker Lendecke
b8b6cddb29
Remove some smb fsp knowledge from rpc_server/
...
np_open/read/write don't have to know about files_struct
2009-01-20 16:41:14 +01:00
Volker Lendecke
bd4718d281
Make use of TALLOC_FREE
2009-01-20 14:34:51 +01:00
Volker Lendecke
8b618d0ba9
Fix some real bugs found by "type-punned" gcc warnings
...
Type-casting does not the right thing if used the way it used to be. The
function arguments have not been uint32_t's, but the type cast made the calling
routine believe so. Not good...
The assignment xxx=account_policy_temp does however type-convert properly,
potentially cutting off the top-bits.
2009-01-18 13:26:21 +01:00
Günther Deschner
740c5ce081
s3-eventlog: fix _eventlog_CloseEventLog.
...
Guenther
2009-01-16 11:52:49 +01:00
Günther Deschner
0d2c0da7d2
s3-eventlog: remove whitespace.
...
Guenther
2009-01-16 00:28:45 +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
964acde86e
Remove the rpc_srv_register wrapper around rpc_pipe_register_commands
2009-01-09 23:17:57 +01:00
Volker Lendecke
2729c484fb
Call rpc_srv_register instead of rpc_pipe_register_commands in eventlog and svcctl
2009-01-09 23:17:57 +01:00
Volker Lendecke
106e65a3b3
Fake up ndr_table_spoolss
2009-01-09 23:17:57 +01:00
Volker Lendecke
125696b73d
Pass the full ndr_interface_table into the s3 rpcserver when registering
2009-01-09 23:17:57 +01:00
Volker Lendecke
c1a8e8adac
Simplify find_pipe_fns_by_context slightly
2009-01-09 22:48:09 +01:00
Volker Lendecke
2714ac4d3a
Fix some nonempty blank lines
2009-01-09 22:30:56 +01:00
Günther Deschner
22a96cbe31
s3-svcctl: remove last traces of hand-marshalled svcctl code.
...
Guenther
2009-01-09 17:08:19 +01:00
Günther Deschner
fa6053fe6d
s3-svcctl: use pidl for _svcctl_EnumServicesStatusW.
...
Guenther
2009-01-09 17:08:18 +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
825500f5da
Use TALLOC for struct lsa_info
2009-01-08 22:29:54 +01:00
Volker Lendecke
e94d7f53f9
Make use of a talloc_destructor for free_printer_entry
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
Volker Lendecke
52b6756c4e
Make samr_info a talloc context of its own
2009-01-08 22:29:53 +01:00
Volker Lendecke
5a4f71d40c
Simplify init_pipe_handle_list a bit
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