1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

66892 Commits

Author SHA1 Message Date
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
Günther Deschner
34008ef6b3 s3-build: fix the build of test_lp_load.
Guenther
2010-09-23 00:15:22 -07:00
Günther Deschner
099394a8f7 s3-build: strip down dependencies of smbta-util.
Guenther
2010-09-23 00:15:21 -07:00
Günther Deschner
8037a46c2e s3-waf: reconcile objects to old make-based build.
Guenther
2010-09-23 00:15:21 -07:00
Günther Deschner
9ddfbd1c4e s3-waf: add libsmbclient.
Guenther
2010-09-23 00:15:21 -07:00
Jelmer Vernooij
7378b6d2a2 s4-selftest: Move credentials tests to standard python directory. 2010-09-22 22:29:09 -07:00
Jelmer Vernooij
cc5b673e18 s4-selftest: Move samba3sam test to standard python directory. 2010-09-22 22:29:09 -07:00
Jelmer Vernooij
5651f8a9a7 s4-selftest: Fix prefixes for ldb tests - they're samba4 specific. 2010-09-22 22:29:09 -07:00
Jelmer Vernooij
136aa0d5ac smbtorture: Report times. 2010-09-22 22:29:09 -07:00
Jelmer Vernooij
a15a33a9a8 torture: Use system subunit library if available. 2010-09-22 22:29:09 -07:00
Jelmer Vernooij
029add7e07 smbtorture: Use subunit C library. 2010-09-22 22:29:09 -07:00
Jelmer Vernooij
20c95cf685 selftest: Fix testsuite counts when running only a limited number of
testsuites.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
3d0e6db9dc selftest: Fix idlist running. 2010-09-22 22:29:09 -07:00
Jelmer Vernooij
f9ed11c756 s4-selftest: For idlist tests, leave out environment name. 2010-09-22 22:29:08 -07:00
Jelmer Vernooij
0dde34ffc7 s4-selftest: Add environment name to test suite manually, so we can
leave it out if we want to.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
9bce783878 selftest: Fix use of --load-list. 2010-09-22 22:29:08 -07:00
Jelmer Vernooij
cd8d780420 s4-selftest: Cleanup formatting. 2010-09-22 22:29:08 -07:00
Jelmer Vernooij
a171816672 selftest: Add prefix on a higher level, so it can be more easily
excluded.
2010-09-22 22:29:08 -07:00
Jeremy Allison
7170b875c2 Thank goodness for code reviews. Volker caught - this should be lp_posix_pathnames()
not lp_unix_extensions().

Jeremy.
2010-09-22 18:34:19 -07:00