summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2009-02-01Add two new parameters to control how we verify kerberos tickets. Removes ↵Dan Sledz1-1/+1
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-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke1-6/+6
2009-02-01Move rpc_pipe_open_internal to srv_pipe_hnd.cVolker Lendecke1-0/+37
This is a smbd-only function
2009-02-01Replace pipe names in pipes_struct by ndr_syntax_idVolker Lendecke3-68/+113
This was mainly used for debugging output
2009-02-01Fix the build on Solaris CCVolker Lendecke1-1/+1
2009-01-31Remove unused np_read sync wrapperVolker Lendecke1-30/+0
2009-01-31Remove unused np_write sync wrapperVolker Lendecke1-30/+0
2009-01-31Make-np_write-handle-0-byte-writes-as-NT_STATUS_OKVolker Lendecke1-0/+6
2009-01-31Add an async np_read wrapperVolker Lendecke1-22/+102
2009-01-31Add an async np_write wrapperVolker Lendecke1-15/+102
2009-01-27s3:rpc_server: use get_client_fd() instead of smbd_server_fd()Stefan Metzmacher1-1/+1
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-24Fix a segfault in parse_logentryVolker Lendecke1-1/+1
entry->data_record.strings is type smb_ucs2, so the pointer arithmetic increments by two :-)
2009-01-24s3-eventlog: add missing _eventlog_ReportEventAndSourceW stub call.Günther Deschner1-0/+5
Guenther
2009-01-24Revert "s3-eventlog: trying to avoid to pass around full ndr structures in ↵Günther Deschner1-11/+6
rpc_server." This reverts commit c0f1309010b79be67557af5ffbd1c429a3f3d99a.
2009-01-24s3-eventlog: fix various invalid memcpy in read_package_entry().Günther Deschner1-5/+5
Guenther
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher3-4/+5
2009-01-20Remove some unused codeVolker Lendecke1-13/+0
2009-01-20Remove some smb fsp knowledge from rpc_server/Volker Lendecke1-58/+29
np_open/read/write don't have to know about files_struct
2009-01-20Make use of TALLOC_FREEVolker Lendecke1-3/+1
2009-01-18Fix some real bugs found by "type-punned" gcc warningsVolker Lendecke1-8/+11
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-16s3-eventlog: fix _eventlog_CloseEventLog.Günther Deschner1-1/+10
Guenther
2009-01-16s3-eventlog: remove whitespace.Günther Deschner1-45/+45
Guenther
2009-01-16s3-eventlog: some minor code cleanup in eventlog server.Günther Deschner1-23/+10
Guenther
2009-01-14s3-eventlog: fix ps struct removal leftover.Günther Deschner1-1/+0
Guenther
2009-01-14s3-eventlog: use main talloc context in eventlog read call.Günther Deschner1-3/+2
Guenther
2009-01-09Remove the rpc_srv_register wrapper around rpc_pipe_register_commandsVolker Lendecke1-15/+4
2009-01-09Call rpc_srv_register instead of rpc_pipe_register_commands in eventlog and ↵Volker Lendecke1-2/+2
svcctl
2009-01-09Fake up ndr_table_spoolssVolker Lendecke1-4/+27
2009-01-09Pass the full ndr_interface_table into the s3 rpcserver when registeringVolker Lendecke1-0/+10
2009-01-09Simplify find_pipe_fns_by_context slightlyVolker Lendecke1-8/+4
2009-01-09Fix some nonempty blank linesVolker Lendecke1-17/+17
2009-01-09s3-svcctl: remove last traces of hand-marshalled svcctl code.Günther Deschner1-212/+0
Guenther
2009-01-09s3-svcctl: use pidl for _svcctl_EnumServicesStatusW.Günther Deschner2-43/+34
Guenther
2009-01-08Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke7-99/+50
2009-01-08Use TALLOC for struct lsa_infoVolker Lendecke1-11/+13
2009-01-08Make use of a talloc_destructor for free_printer_entryVolker Lendecke1-16/+11
2009-01-08Make use of a talloc_destructor for free_eventlog_info()Volker Lendecke1-7/+10
2009-01-08Make samr_info a talloc context of its ownVolker Lendecke1-14/+15
2009-01-08Simplify init_pipe_handle_list a bitVolker Lendecke1-23/+26
2009-01-08s3-eventlog: minor cosmetics.Günther Deschner1-1/+3
Guenther
2009-01-08s3-eventlog: trying to avoid to pass around full ndr structures in rpc_server.Günther Deschner1-6/+11
Jerry, please check. Guenther
2009-01-08s3-svcctl: add copyright to svcctl rpc_server.Günther Deschner1-2/+5
Guenther
2009-01-08s3-svcctl: remove some more redundant headers.Günther Deschner1-1/+1
Guenther
2009-01-08s3-svcctl: use pidl for _svcctl_QueryServiceConfig2W.Günther Deschner2-39/+36
Guenther
2009-01-08s3-svcctl: fix return code for _svcctl_QueryServiceStatusEx.Günther Deschner1-2/+3
Guenther
2009-01-08s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.Günther Deschner1-2/+2
Guenther
2009-01-08s3-svcctl: use pidl for _svcctl_QueryServiceStatusEx.Günther Deschner2-31/+20
Guenther
2009-01-08s3-svcctl: use pidl's ndr opcodes for NDR_SVCCTL_QUERYSERVICECONFIGW.Günther Deschner1-1/+1
Guenther
2009-01-06s3-lsa: avoid all init_lsa* functions.Günther Deschner1-3/+7
Guenther
2009-01-06s3-srvsvc: remove all init_srvsvc* functions.Günther Deschner1-6/+8
Guenther