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 aea64ef275
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
Andrew Tridgell
c0ff93b033
s4-drs: we don't need to decode to utf8 in python dcerpc strings any more
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-23 07:17:57 +00:00
Andrew Tridgell
bf1f2d4eb8
s4-gensec: prevent a double free in the error path of GSSAPI auth
...
the caller frees mem_ctx, so we shouldn't
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-23 07:17:57 +00:00
Andrew Tridgell
202525db13
s4-gensec: fixed a GSSAPI SASL negotiation bug
...
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>
2010-09-23 07:17:57 +00:00
Andrew Tridgell
d1cbd68bb1
s4-kcc: added service->am_rodc
...
use a rodc flag on the service instead of calling samdb_rodc each time
2010-09-23 07:17:57 +00:00
Andrew Tridgell
c166b44b47
s4-kcc: pass the service context into the kcc connection code
...
this will be used for the RODC changes needed for the kcc
2010-09-23 07:17:56 +00:00
Günther Deschner
b6f149eec3
s3-waf: add all remaining binaries from the make build.
...
Guenther
2010-09-23 00:15:22 -07:00
Günther Deschner
a11d6c77e4
s3-build: fix the build of split_tokens.
...
Guenther
2010-09-23 00:15:22 -07:00