1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/rpc_server
Tim Beale 3a8dfcc6a1 getncchanges.c: Split out code to get an object for a response
Basically, everytime we try to add an object to the response, we want
to:
- Build it (i.e. pack it into an RPC message format)
- Add it to our object-cache if we're keeping one
- Add any ancestors needed for the client to resolve it (if GET_ANC)

GET_TGT is going to use the exact same code, so split this out into a
separate function, rather than duplicating it.

The GET_ANC case also uses almost identical code, but it differs in a
couple of minor aspects. I've left this as is for now, as I'm not sure
if this is by accident or by design.

Because all the memory was talloc'd off the 'obj' variable, we now need
to replace it with a tmp TALLOC_CTX.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2017-09-15 06:18:13 +02:00
..
backupkey s4:rpc_server:backupkey: Move variable into scope 2017-08-11 18:21:22 +02:00
browser werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source4/rpc_server/ 2016-09-28 00:04:35 +02:00
common rpc_server: Move SID helpers into common 2017-05-30 08:06:07 +02:00
dnsserver dnsserver: Stop dns_name_equal doing OOB read 2017-06-01 19:34:38 +02:00
drsuapi getncchanges.c: Split out code to get an object for a response 2017-09-15 06:18:13 +02:00
echo CVE-2016-2118: s4:rpc_server/rpcecho: allow DCERPC_AUTH_LEVEL_CONNECT by default 2016-04-12 19:25:27 +02:00
epmapper CVE-2016-2118: s4:rpc_server/epmapper: allow DCERPC_AUTH_LEVEL_CONNECT by default 2016-04-12 19:25:27 +02:00
eventlog s4-eventlog: fixed dcerpc handle return 2010-11-16 07:16:04 +00:00
lsa s4:dsdb/samdb: pass an existing 'struct ldb_context' to crack_name_to_nt4_name() 2017-06-26 08:47:15 +02:00
netlogon s4:rpc_server/netlogon: make use of auth_check_password_send/recv() 2017-08-07 15:20:03 +02:00
remote s4: modules. Fix missing TALLOC_CTX in module init function. 2017-07-26 21:35:21 +02:00
samr samr: Disable NTLM-based password changes on the server if NTLM is disabled 2017-07-04 06:57:21 +02:00
srvsvc werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source4/rpc_server/ 2016-09-28 00:04:35 +02:00
unixinfo wbclient: "ev" is no longer used in wbc_xids_to_sids 2016-09-28 00:04:36 +02:00
winreg werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/rpc_server/ 2016-09-28 00:04:23 +02:00
wkssvc werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source4/rpc_server/ 2016-09-28 00:04:35 +02:00
dcerpc_server.c s4-rpc_server: Improve debug of new endpoints 2017-07-28 04:12:08 +02:00
dcerpc_server.h s4:rpc_server: add wait_send/recv infrastructure 2017-05-21 21:05:12 +02:00
dcerpc_server.pc.in dcerpc_server: Add 'modulesdir' variable to pkg-config file. 2012-02-23 16:26:25 +01:00
dcesrv_auth.c s4:rpc_server: remove unused dcesrv_auth_{bind_ack,auth3,alter_ack}() 2017-05-21 21:05:13 +02:00
dcesrv_mgmt.c s4-rpc_server: Allow each interface to declare if it uses handles 2016-12-20 01:11:23 +01:00
handles.c s4-rpc_server: Allow each interface to declare if it uses handles 2016-12-20 01:11:23 +01:00
service_rpc.c s4-rpc_server: Improve debug of new endpoints 2017-07-28 04:12:08 +02:00
wscript_build s4-netlogon: Provide logs for machine account success and failures 2017-06-27 16:57:42 +02:00