1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

66917 Commits

Author SHA1 Message Date
Günther Deschner
133878fe68 s3-waf: convert LIBMSRPC into a subsystem.
Guenther
2010-09-23 11:14:00 -07:00
Günther Deschner
43b5f209f1 s3-waf: fix the build after rpc_server crypto changes.
Guenther
2010-09-23 11:05:56 -07:00
Simo Sorce
76f249fb44 s3-dcerps: check auth_type
make sure the auth type used throught the auth operation is consistent.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:25 -07:00
Simo Sorce
926a3f4fcd s3-dcerpc: Use spnego own sign/seal functions
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:24 -07:00
Simo Sorce
678993470f libcli: fix compile warning
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:24 -07:00
Simo Sorce
b11fff1f48 s3-dcerpc: remove auth_data_free_func
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-23 10:54:24 -07:00
Simo Sorce
3453bc7b11 s3-dcerpc: make auth context opaque
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-23 10:54:24 -07:00
Simo Sorce
0ec3720573 srv_pipe: reorganize code so that related functions are close to each other
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Simo Sorce
d10e192b83 s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Simo Sorce
b475cfd0b2 s3-dcerpc: use new spnego server code
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Simo Sorce
4cdee9b0ed s3-dcerpc: add spnego server helpers
squashed: add michlistMIC signature checks

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Simo Sorce
77c73a5ec9 spnego: make spnego_context public
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Simo Sorce
2c9f420d75 s3-dcerpc: move client spnego stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:22 -07:00
Simo Sorce
59722ef2fb spnego: avoid explicit dependency on dcerpc specific structures
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:22 -07:00
Simo Sorce
62d7226b78 s3-dcesrv: use gssapi helper in srv_pipe.c
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:22 -07:00
Simo Sorce
28c22d04fb s3-dcerpc: add server helpers for gssapi auth
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:19 -07:00
Simo Sorce
8efd31ccad s3-dcesrv: use ntlmssp helper in srv_pipe.c
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:53:46 -07:00
Simo Sorce
bbf535764b s3-dcerpc: add server helpers for ntlmssp auth
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:53:42 -07:00
Simo Sorce
4194383cfe gssapi: remove unused function argument
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Simo Sorce
412ebad02b gssapi: avoid explicit dependency on dcerpc specific structures
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Simo Sorce
0e5eb82a6f s3-dcerpc: move crypto stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Günther Deschner
ffdfcfb514 s3-dsgetdcname: always pass in messaging context.
Volker, please check.

Guenther
2010-09-23 10:26:25 -07:00
Michael Adam
c3f5d99065 s3:registry: try to fix the build of reg_parse_internal on HP-UX
The HP compiler does not seem to like {} for char[4].
2010-09-23 18:49:30 +02:00
Björn Jacke
82c0e79b8d s3: fix tdbdump build on Solaris and other boxes
needed to fix up aea64ef275b6e94ca7afb8fa2bb172416773abdf
2010-09-23 09:29:52 -07:00
Kai Blin
80e240fe17 s3 waf: Remove iniparser source list from source3/wscript_build 2010-09-23 09:16:05 -07:00
Anatoliy Atanasov
67b6252eed s4/dsdb:kcc: cleanup and improve readability 2010-09-23 08:41:05 -07:00
Stefan Metzmacher
519180c341 s4:dsdb/kcc: we don't need to manually allocate [out,ref] pointers anymore
metze

Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-23 08:41:05 -07:00
Stefan Metzmacher
224fbbe33f s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pulling
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-23 08:41:05 -07:00
Stefan Metzmacher
be0ed310b3 s4:irpc: add padding to the IPRC header for 8 byte alignment
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-23 08:41:04 -07:00
Günther Deschner
148d4fa689 s3-waf: first run in using NDR_ subsystems (mostly from shared directory).
Guenther
2010-09-23 08:13:15 -07:00
Günther Deschner
ce6ef803ce s4-waf: add NDR_LSARPC and NDR_SAMR.
Guenther
2010-09-23 08:13:15 -07:00
Günther Deschner
6abf9cc89c s3-waf: convert LIBADS_PRINTER into a subsystem.
Guenther
2010-09-23 08:13:15 -07:00
Günther Deschner
5fb686cbc5 s3-waf: convert LIBADS_SERVER into a subsystem.
Guenther
2010-09-23 08:13:15 -07:00
Günther Deschner
29b1588adf s3-waf: convert LIBADS into a subsystem.
Guenther
2010-09-23 08:13:15 -07:00
Günther Deschner
697090fb2d s3-waf: convert smbd into a subsystem.
Guenther
2010-09-23 08:13:14 -07:00
Günther Deschner
d6121bdee0 s3-waf: add libaddns.so.
Guenther
2010-09-23 08:13:14 -07:00
Günther Deschner
9bba222e8a s3-waf: recurse into ../lib/crypto.
Guenther
2010-09-23 08:13:14 -07:00
Günther Deschner
43e3555ed9 s4-waf: move two more NDR_ subsystems to main directory.
Guenther
2010-09-23 08:13:14 -07:00
Günther Deschner
247521064f s3-waf: convert LIBMSRPC_GEN into a subsystem.
Guenther
2010-09-23 08:07:43 -07:00
Günther Deschner
ea228cdf7c s3-build: move epmapper client to LIBMSRPC.
Guenther
2010-09-23 08:07:11 -07:00
Günther Deschner
e8df0db8c4 s3-waf: move epmapper client to LIBMSRPC.
Guenther
2010-09-23 08:07:11 -07:00
Günther Deschner
494dc5565b s3-waf: recurse into main wscript_build from main librpc directory.
Not doing anything with it yet though.

Guenther
2010-09-23 08:06:31 -07:00
Günther Deschner
7f53773608 waf: fix generated nbt.h path, should fix s4 install.
Guenther
2010-09-23 02:15:05 -07:00
Günther Deschner
de49623d4b s3-waf: fix LOCALEDIR usage.
Guenther
2010-09-23 01:32:43 -07:00
Günther Deschner
031dd8cc62 waf: move majority of shared NDR_ subsystems to main wscript_build.
(so they can be used by s3 waf later)

Guenther
2010-09-23 01:01:40 -07:00
Günther Deschner
dc4920bfa7 s3-waf: rework libnetapi to have no unresolved symbols.
Guenther
2010-09-23 00:50:59 -07:00
Günther Deschner
4d7525537a s3-waf: add libsmbsharemodes.so.
Guenther
2010-09-23 00:50:59 -07:00
Andrew Tridgell
8ccbbe042b lib-subunit: fixed build on systems without subunit devel library
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-23 07:17:57 +00:00
Andrew Tridgell
d2008fbbb9 s4-kcc: the kcc should not be setting the repsTo attribute
repsTo is set by other DCs, when they ask to be notified about changes
in a partition
2010-09-23 07:17:57 +00:00
Andrew Tridgell
7a05e04dfc s4-gensec: fixed a client side bug in GENSEC/SASL/SSF negotiation
this is the client side equivalent change for the previous fix

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-23 07:17:57 +00:00