summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-dcerps: check auth_typeSimo Sorce2010-09-231-0/+15
| | | | | | make sure the auth type used throught the auth operation is consistent. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use spnego own sign/seal functionsSimo Sorce2010-09-231-64/+47
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* libcli: fix compile warningSimo Sorce2010-09-231-0/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: remove auth_data_free_funcSimo Sorce2010-09-233-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>
* s3-dcerpc: make auth context opaqueSimo Sorce2010-09-235-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>
* srv_pipe: reorganize code so that related functions are close to each otherSimo Sorce2010-09-231-253/+252
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce2010-09-236-48/+13
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: use new spnego server codeSimo Sorce2010-09-231-200/+122
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: add spnego server helpersSimo Sorce2010-09-237-6/+542
| | | | | | squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
* spnego: make spnego_context publicSimo Sorce2010-09-232-21/+19
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: move client spnego stuff in /librpc/cryptoSimo Sorce2010-09-235-8/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* spnego: avoid explicit dependency on dcerpc specific structuresSimo Sorce2010-09-234-47/+72
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcesrv: use gssapi helper in srv_pipe.cSimo Sorce2010-09-231-223/+46
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: add server helpers for gssapi authSimo Sorce2010-09-233-1/+292
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcesrv: use ntlmssp helper in srv_pipe.cSimo Sorce2010-09-231-204/+173
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: add server helpers for ntlmssp authSimo Sorce2010-09-233-1/+179
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* gssapi: remove unused function argumentSimo Sorce2010-09-233-7/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* gssapi: avoid explicit dependency on dcerpc specific structuresSimo Sorce2010-09-235-41/+22
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce2010-09-239-18/+19
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dsgetdcname: always pass in messaging context.Günther Deschner2010-09-2311-41/+51
| | | | | | Volker, please check. Guenther
* s3:registry: try to fix the build of reg_parse_internal on HP-UXMichael Adam2010-09-231-1/+1
| | | | The HP compiler does not seem to like {} for char[4].
* s3: fix tdbdump build on Solaris and other boxesBjörn Jacke2010-09-231-1/+1
| | | | needed to fix up aea64ef275b6e94ca7afb8fa2bb172416773abdf
* s3 waf: Remove iniparser source list from source3/wscript_buildKai Blin2010-09-231-5/+1
|
* s4/dsdb:kcc: cleanup and improve readabilityAnatoliy Atanasov2010-09-231-4/+5
|
* s4:dsdb/kcc: we don't need to manually allocate [out,ref] pointers anymoreStefan Metzmacher2010-09-231-6/+1
| | | | | | metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pullingStefan Metzmacher2010-09-231-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>
* s4:irpc: add padding to the IPRC header for 8 byte alignmentStefan Metzmacher2010-09-231-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>
* s3-waf: first run in using NDR_ subsystems (mostly from shared directory).Günther Deschner2010-09-231-33/+31
| | | | Guenther
* s4-waf: add NDR_LSARPC and NDR_SAMR.Günther Deschner2010-09-232-2/+12
| | | | Guenther
* s3-waf: convert LIBADS_PRINTER into a subsystem.Günther Deschner2010-09-231-4/+7
| | | | Guenther
* s3-waf: convert LIBADS_SERVER into a subsystem.Günther Deschner2010-09-231-8/+10
| | | | Guenther
* s3-waf: convert LIBADS into a subsystem.Günther Deschner2010-09-231-10/+12
| | | | Guenther
* s3-waf: convert smbd into a subsystem.Günther Deschner2010-09-231-10/+12
| | | | Guenther
* s3-waf: add libaddns.so.Günther Deschner2010-09-231-2/+6
| | | | Guenther
* s3-waf: recurse into ../lib/crypto.Günther Deschner2010-09-231-8/+3
| | | | Guenther
* s4-waf: move two more NDR_ subsystems to main directory.Günther Deschner2010-09-232-13/+10
| | | | Guenther
* s3-waf: convert LIBMSRPC_GEN into a subsystem.Günther Deschner2010-09-231-29/+34
| | | | Guenther
* s3-build: move epmapper client to LIBMSRPC.Günther Deschner2010-09-231-3/+3
| | | | Guenther
* s3-waf: move epmapper client to LIBMSRPC.Günther Deschner2010-09-231-4/+3
| | | | Guenther
* s3-waf: recurse into main wscript_build from main librpc directory.Günther Deschner2010-09-231-1/+32
| | | | | | Not doing anything with it yet though. Guenther
* waf: fix generated nbt.h path, should fix s4 install.Günther Deschner2010-09-231-1/+1
| | | | Guenther
* s3-waf: fix LOCALEDIR usage.Günther Deschner2010-09-232-3/+2
| | | | Guenther
* waf: move majority of shared NDR_ subsystems to main wscript_build.Günther Deschner2010-09-232-240/+208
| | | | | | (so they can be used by s3 waf later) Guenther
* s3-waf: rework libnetapi to have no unresolved symbols.Günther Deschner2010-09-231-17/+36
| | | | Guenther
* s3-waf: add libsmbsharemodes.so.Günther Deschner2010-09-231-0/+9
| | | | Guenther
* lib-subunit: fixed build on systems without subunit devel libraryAndrew Tridgell2010-09-232-4/+3
| | | | Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-kcc: the kcc should not be setting the repsTo attributeAndrew Tridgell2010-09-231-32/+2
| | | | | repsTo is set by other DCs, when they ask to be notified about changes in a partition
* s4-gensec: fixed a client side bug in GENSEC/SASL/SSF negotiationAndrew Tridgell2010-09-231-7/+10
| | | | | | this is the client side equivalent change for the previous fix Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: we don't need to decode to utf8 in python dcerpc strings any moreAndrew Tridgell2010-09-231-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-gensec: prevent a double free in the error path of GSSAPI authAndrew Tridgell2010-09-231-1/+0
| | | | | | the caller frees mem_ctx, so we shouldn't Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>