summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-23s3-dcerpc: Use spnego own sign/seal functionsSimo Sorce1-64/+47
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23libcli: fix compile warningSimo Sorce1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: remove auth_data_free_funcSimo Sorce3-16/+3
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: make auth context opaqueSimo Sorce5-126/+189
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23srv_pipe: reorganize code so that related functions are close to each otherSimo Sorce1-253/+252
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce6-48/+13
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: use new spnego server codeSimo Sorce1-200/+122
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: add spnego server helpersSimo Sorce7-6/+542
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23spnego: make spnego_context publicSimo Sorce2-21/+19
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move client spnego stuff in /librpc/cryptoSimo Sorce5-8/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23spnego: avoid explicit dependency on dcerpc specific structuresSimo Sorce4-47/+72
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcesrv: use gssapi helper in srv_pipe.cSimo Sorce1-223/+46
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: add server helpers for gssapi authSimo Sorce3-1/+292
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcesrv: use ntlmssp helper in srv_pipe.cSimo Sorce1-204/+173
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: add server helpers for ntlmssp authSimo Sorce3-1/+179
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23gssapi: remove unused function argumentSimo Sorce3-7/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23gssapi: avoid explicit dependency on dcerpc specific structuresSimo Sorce5-41/+22
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce9-18/+19
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dsgetdcname: always pass in messaging context.Günther Deschner11-41/+51
Volker, please check. Guenther
2010-09-23s3:registry: try to fix the build of reg_parse_internal on HP-UXMichael Adam1-1/+1
The HP compiler does not seem to like {} for char[4].
2010-09-23s3: fix tdbdump build on Solaris and other boxesBjörn Jacke1-1/+1
needed to fix up aea64ef275b6e94ca7afb8fa2bb172416773abdf
2010-09-23s3 waf: Remove iniparser source list from source3/wscript_buildKai Blin1-5/+1
2010-09-23s4/dsdb:kcc: cleanup and improve readabilityAnatoliy Atanasov1-4/+5
2010-09-23s4:dsdb/kcc: we don't need to manually allocate [out,ref] pointers anymoreStefan Metzmacher1-6/+1
metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-23s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pullingStefan Metzmacher1-0/+2
The dcerpc server also uses it, so it was surprising that the IRPC server side doesn't used it. The reason to have this is that we want to handle error cases and returns like NT_STATUS_NOT_SUPPORTED sane, without crashing while marshalling the response. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-23s4:irpc: add padding to the IPRC header for 8 byte alignmentStefan Metzmacher1-0/+1
As we marshall the iprc header and the payload to the ndr_push context, we should pad the irpc header to let the payload start at an 8 byte boundary. This way we get the alignment still be correct if we remove the header before passing the raw payload to the caller. As we use IRPC more and more for complex NDR marshalled structures we need to get this right, in order to not get random ndr_pull failures. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-23s3-waf: first run in using NDR_ subsystems (mostly from shared directory).Günther Deschner1-33/+31
Guenther
2010-09-23s4-waf: add NDR_LSARPC and NDR_SAMR.Günther Deschner2-2/+12
Guenther
2010-09-23s3-waf: convert LIBADS_PRINTER into a subsystem.Günther Deschner1-4/+7
Guenther
2010-09-23s3-waf: convert LIBADS_SERVER into a subsystem.Günther Deschner1-8/+10
Guenther
2010-09-23s3-waf: convert LIBADS into a subsystem.Günther Deschner1-10/+12
Guenther
2010-09-23s3-waf: convert smbd into a subsystem.Günther Deschner1-10/+12
Guenther
2010-09-23s3-waf: add libaddns.so.Günther Deschner1-2/+6
Guenther
2010-09-23s3-waf: recurse into ../lib/crypto.Günther Deschner1-8/+3
Guenther
2010-09-23s4-waf: move two more NDR_ subsystems to main directory.Günther Deschner2-13/+10
Guenther
2010-09-23s3-waf: convert LIBMSRPC_GEN into a subsystem.Günther Deschner1-29/+34
Guenther
2010-09-23s3-build: move epmapper client to LIBMSRPC.Günther Deschner1-3/+3
Guenther
2010-09-23s3-waf: move epmapper client to LIBMSRPC.Günther Deschner1-4/+3
Guenther
2010-09-23s3-waf: recurse into main wscript_build from main librpc directory.Günther Deschner1-1/+32
Not doing anything with it yet though. Guenther
2010-09-23waf: fix generated nbt.h path, should fix s4 install.Günther Deschner1-1/+1
Guenther
2010-09-23s3-waf: fix LOCALEDIR usage.Günther Deschner2-3/+2
Guenther
2010-09-23waf: move majority of shared NDR_ subsystems to main wscript_build.Günther Deschner2-240/+208
(so they can be used by s3 waf later) Guenther
2010-09-23s3-waf: rework libnetapi to have no unresolved symbols.Günther Deschner1-17/+36
Guenther
2010-09-23s3-waf: add libsmbsharemodes.so.Günther Deschner1-0/+9
Guenther
2010-09-23lib-subunit: fixed build on systems without subunit devel libraryAndrew Tridgell2-4/+3
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-23s4-kcc: the kcc should not be setting the repsTo attributeAndrew Tridgell1-32/+2
repsTo is set by other DCs, when they ask to be notified about changes in a partition
2010-09-23s4-gensec: fixed a client side bug in GENSEC/SASL/SSF negotiationAndrew Tridgell1-7/+10
this is the client side equivalent change for the previous fix Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4-drs: we don't need to decode to utf8 in python dcerpc strings any moreAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4-gensec: prevent a double free in the error path of GSSAPI authAndrew Tridgell1-1/+0
the caller frees mem_ctx, so we shouldn't Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4-gensec: fixed a GSSAPI SASL negotiation bugAndrew Tridgell1-11/+14
Fixed a bug that affected mismatched negotiation between the GSSAPI layer and the SASL SSF subsequent negotiation. This caused some ldap clients to hang when trying to authentication with a Samba LDAP server. The client thought the connection should be signed, the server thought it should be in plain text Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>