summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dcerpc_server.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-2/+2
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-16A more-commented version of rpc_server crash fix, matching closer theAndrew Bartlett1-1/+14
previous behaviour for the 'bad bind' case. (It is only close, not matching - Windows 2008 sends a different, non-zero, assoc_group_id each time) Andrew Bartlett
2008-12-12s4:fix segfault in rpc-server, when client binds to unsupported service.Stefan Metzmacher1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-09s4:rpc_server: don't keep half finished dcesrv_connection_contextsStefan Metzmacher1-41/+42
metze
2008-12-09s4:rpc_server: initialize rpc server module also for the named pipe caseStefan Metzmacher1-0/+34
This fixes bug #5878. metze
2008-12-08s4:rpc_server: fix crash bugs in 26200f4fb1db81be7a9da51f317e46405351b170Stefan Metzmacher1-7/+13
call->context needs to be valid. metze
2008-12-08s4:rpc_server: make it possible for iface->bind() to specify the assoc_group_idStefan Metzmacher1-5/+23
This helps the openchange mapiproxy plugin to work correctly. metze
2008-11-23RPC sessions on np connections need the real session key transferredStefan Metzmacher1-2/+2
2008-11-02Fix the build.Jelmer Vernooij1-0/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-30s4:rpc_server: correctly handle dcerpc requests with object uuidsStefan Metzmacher1-4/+4
metze
2008-09-13rpc_server: don't send auth trailers in level connectStefan Metzmacher1-4/+7
Also ignore auth trailers in level connect on receive. This fixes [krb5,connect] against windows. TODO: maybe the gensec mech need to decide if signatures are needed in level connect. metze (This used to be commit 2e3629719790e7631d9de383b565dc8a0997bcfb)
2008-08-11rpc_server: correct the chunk_size depending on the signature sizeStefan Metzmacher1-2/+11
metze (This used to be commit 20fc0d7bfdaa60d6a8ac939dc64733a91652587e)
2008-08-07rpc_server: add support for DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGNStefan Metzmacher1-1/+8
you need "dcesrv:header signing=yes" to enable it. metze (This used to be commit bde2496e6b7034c99243b22434a97aebeb8f75b9)
2008-07-28rpc_server: remove unused variableStefan Metzmacher1-1/+0
metze (This used to be commit c2186d5d60aa2b57ecafaa57f9fd41f2a6717046)
2008-07-25Make a new define to ensure the accoc_group_id we use is always in common.Andrew Bartlett1-2/+4
(This used to be commit b62490e3e21b606b66e0737a403b0d170b64cddd)
2008-07-23rpc_server: be more strict with the incoming assoc_group_idStefan Metzmacher1-12/+12
Allow 0 and 0x12345678 only. This fixes the RPC-HANDLES test. metze (This used to be commit c123e597cc84685abf2b0d3564e1a26d80bbef2f)
2008-07-23Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett1-0/+11
(This used to be commit ae311d89d2d477b235a6a9294a8bb463ed0a8c05)
2008-07-23The SMB session key must not be more than 16 bytes in SAMR (andAndrew Bartlett1-1/+10
presumably LSA). Tests show that Vista requires the sesion key to be truncated for a domain join. Andrew Bartlett (This used to be commit af629a3738298d27eb2dbecf466ceb503cec9638)
2008-07-23Remove the 'accoc_group_id' check in the RPC server.Andrew Bartlett1-0/+11
This check breaks more than it fixes, and while technically not correct, is the best solution we have at this time. Otherwise, SCHANNEL binds from WinXP fail. Andrew Bartlett (This used to be commit f8628fa330abcd50923d995d5bda1f4811582ea9)
2008-07-03rpc_server: use the same chunk_size logic as we we use in the clientStefan Metzmacher1-7/+7
metze (This used to be commit 9ff0ce42b32bf0f1463d2cb9c2a6595f51b13d04)
2008-05-16The following patch calls the op_bind operation for an interface which ↵Julien Kerihuel1-0/+8
context is altered by dcerpc alter_context requests. It prevents dcerpc_server from returning errors (nca_s_fault_access_denied, then nca_s_fault_context_mismatch in further client requests) and keeps the connection alive. Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 718f9ce6889346c92894e868f0678fbe404a43ab)
2008-05-16This patch adds remaining padding bytes to the dcerpc_fault IDL structure ↵Julien Kerihuel1-0/+4
and adds a const 4 bytes blob to pkt.u.fault. Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 652b8c5f156b357e231057a5a0fbded88f4f9c5f)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-1/+3
Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+3
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij1-1/+0
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-02-21Remove more global_loadparm instance.sJelmer Vernooij1-6/+4
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2007-12-21r26440: Remove more uses of global_loadparm.Jelmer Vernooij1-2/+2
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
2007-12-21r26432: Require ndr_pull users to specify iconv_convenience.Jelmer Vernooij1-2/+3
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-1/+1
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21r26310: Remove more uses of global_loadparm.Jelmer Vernooij1-3/+3
(This used to be commit 9d806da113b5f0688b6193dfdee9b8765e18b38f)
2007-12-21r26296: Store loadparm context in DCE/RPC server context.Jelmer Vernooij1-11/+15
(This used to be commit fc1f4d2d65d4c983cba5421e7ffb64dd75482860)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-3/+4
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25553: Convert to standard bool type.Jelmer Vernooij1-9/+9
(This used to be commit b7371f1a191fb86834c0d586d094f39f0b04544b)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-3/+3
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij1-86/+11
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r24612: Revert this part of -r 24611. This isn't related to my SAMR passwordAndrew Bartlett1-0/+4
work, but to an odd bind failure I noticed in a trace. I need to commit this with changes to the torture suite. Andrew Bartlett (This used to be commit 3ab90ad312b85b5a887090418e9cb7594f519b2f)
2007-10-10r24611: Following up on the re-opening of bug 4817 is it pretty clear thatAndrew Bartlett1-4/+0
machine accounts are not subject to password policy in Win2k3 R2 (at least in terms of password quality). In testing this, I found that Win2k3 R2 has changed the way the old ChangePassword RPC call is handled - the 'cross-checks' between new LM and NT passwords are not required. Andrew Bartlett (This used to be commit 417ea885b41cc097a0bb3a10ffbffb31f234f25d)
2007-10-10r24504: Try to return more useful error information on why a bind failed.Andrew Bartlett1-3/+11
Note that the correct return for a failed alter_context is a fault, not a bind_nak. Andrew Bartlett (This used to be commit 52cce94532edf1dd7f26e39bf3377f0077ea6792)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22825: let longhorn beta3 work with samba4Stefan Metzmacher1-1/+2
if we return a zero assoc_group_id longhorn beta3 stops after getting the bind_ack. metze (This used to be commit 09aea65960073cc8b50a4b39531490876f6d89ef)
2007-10-10r21911: Some more work on making the ncacn_np handling in smbd be less special.Jelmer Vernooij1-2/+2
(This used to be commit 52f32b7330ee1a2dd5850fd0e412279777edc00d)
2007-10-10r21835: fixed a rpc server bug where we failed to remove a call from oneAndrew Tridgell1-11/+58
linked list when moving it to another. This could cause a valgrind error under the RPC-SCANNER test. (This used to be commit 9ba8c008513e362fbb860af899006505cadb4a2f)
2007-10-10r21589: give an error when the assoc_group_id isn't 0Stefan Metzmacher1-0/+4
TODO: we need to correctly implement assoc groups! metze (This used to be commit df7c6c6e0b961eda8daf182df8faed6b29639149)
2007-10-10r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some namesStefan Metzmacher1-1/+1
also make it possible to pass and get the assoc_group_id for a pipe. also make it possible to pass the DCERPC_PFC_FLAG_CONC_MPX flag in bind requests. From the spec it triggers support for concurrent multiplexing on a single connection. w2k3 uses the assoc_group_id feature when it becomes a domain controller of an existing domain. Know the ugly part, with this it's possible to use a policy handle from one connection on a different one... typically the DsBind() call is on the 1st connection while DsGetNCChanges() call using the first connections bind handle are on the 2nd connection. The second connection also has the DCERPC_PFC_FLAG_CONC_MPX flag attached, but that doesn't seem to be related to the cross connection handle usage Can anyone think of a nice way to implement the assoc_group_id stuff in our server? metze (This used to be commit 2d8c85397d9027485ed6dbdcca87cc1ec84c7b76)
2007-10-10r20830: merge mgmt workJelmer Vernooij1-0/+13
(This used to be commit 3cc299dbbe278936281f8e7071e6de8ec1bb219c)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-2/+2
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-0/+1
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r18779: Not simo's fault, this is actually a bug I introduced a week ago, ↵Andrew Bartlett1-1/+4
when I fixed the previous bug in this code. We need to remove fragments from the incoming fragment list, or else we leak (actually, we walk free()'ed data as we add/remove elements). Andrew Bartlett (This used to be commit 77473d2ef9a7673cebb56b398acf390fd51a08c8)