1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

2682 Commits

Author SHA1 Message Date
Günther Deschner
126d444367 s3-spoolss: call the correct get_pipe_fns function in proxy_spoolss_call().
Guenther
2009-02-06 19:23:55 +01:00
Günther Deschner
46903a0f90 s3-spoolss: use pidl for _spoolss_ClosePrinter.
Guenther
2009-02-06 18:55:46 +01:00
Günther Deschner
a45107abca s3-spoolss server: add _spoolss_ server stubs.
Guenther
2009-02-06 18:54:52 +01:00
Günther Deschner
e11fa4cc33 s3-spoolss: prepare to use generated spoolss.
Guenther
2009-02-06 18:54:51 +01:00
Günther Deschner
f289851d70 s3-eventlog: fix Coverity #877.
Guenther
2009-02-05 16:36:44 +01:00
Volker Lendecke
a66828a37f Don't use recvall in the proxied np_read_send
We don't know how much we will get. Resort to a single recv syscall
2009-02-05 11:16:03 +01:00
Günther Deschner
a63d4c5ed1 s3-eventlog: remove old eventlog server.
Guenther
2009-02-04 22:51:39 +01:00
Günther Deschner
d7e2384dba s3-eventlog: remove fixup_eventlog_entry.
Guenther
2009-02-04 22:51:31 +01:00
Günther Deschner
8b126e942d s3-eventlog: remove write_eventlog_tdb.
Guenther
2009-02-04 22:51:23 +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
64e3a90530 s3-eventlog: make can_write_to_eventlog static.
Guenther
2009-02-04 22:49:51 +01:00
Volker Lendecke
94d1dbbaf0 Restore correct handling of "is_data_available" for the socket transport
This fixes a valgrind error reading an uninitialized variable
2009-02-04 22:36:43 +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
63a992168d s3-eventlog: add evlog_push_record function.
Guenther
2009-02-04 21:12:05 +01:00
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