1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

22158 Commits

Author SHA1 Message Date
Jelmer Vernooij
1ec2b2f7f3 ldap.py: Fix syntax error. 2010-03-29 18:05:29 +02:00
Jelmer Vernooij
336cd5a0a3 python: Fix rule for generating docs using pydoctor. 2010-03-29 18:05:29 +02:00
Jelmer Vernooij
c873329500 s4-python: Simplify mechanism for finding included Python modules. 2010-03-29 18:05:29 +02:00
Jelmer Vernooij
4bbc3ff037 s4-python: Move dnspython to lib/, like the other Python modules
This also avoids it from being installed if it's already present on the
system.
2010-03-29 18:05:29 +02:00
Jelmer Vernooij
89aa3b766b s4-python: Format to PEP8, simplify tests. 2010-03-29 18:05:29 +02:00
Günther Deschner
979c50eff7 s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:52 +02:00
Stefan Metzmacher
733701ae9b s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:52 +02:00
Stefan Metzmacher
cd3ae926e7 s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:52 +02:00
Stefan Metzmacher
d0efef3f86 s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:51 +02:00
Günther Deschner
12ee027106 s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:51 +02:00
Stefan Metzmacher
10e46e52ab s4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:51 +02:00
Günther Deschner
1a4d9b95ee s4:torture/rpc/samr.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:50 +02:00
Günther Deschner
e531b52ab9 s4:torture/rpc/handles.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:50 +02:00
Günther Deschner
3398636a3b s4:torture/rpc/samr_accessmask.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:50 +02:00
Stefan Metzmacher
08177e98b2 s4:torture/rpc/samsync.c: add explicit check for NTSTATUS r.out.result 2010-03-29 15:35:49 +02:00
Günther Deschner
5dcb1e5030 s4:torture/rpc/samlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:49 +02:00
Günther Deschner
2f7f7257d9 s4:torture/rpc/netlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:48 +02:00
Günther Deschner
8ac42bc0dc s4:torture/rpc/lsa_lookup.c:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:48 +02:00
Günther Deschner
1248adb2c5 s4:torture/libnet:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:48 +02:00
Günther Deschner
2d35523f24 s4:torture/rpc/schannel.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:47 +02:00
Günther Deschner
940c6ab29f s4:torture/rpc/remote_pac.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:47 +02:00
Günther Deschner
a154bb5629 s4:torture/rpc/testjoin.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:47 +02:00
Günther Deschner
959a128c7b s4:torture/rpc/session_key.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:46 +02:00
Günther Deschner
583c7cbd4c s4:torture/rpc/eventlog.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:46 +02:00
Günther Deschner
159ca62094 s4:torture/rpc/unixinfo.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:45 +02:00
Günther Deschner
1184ef6672 s4:torture/ntp: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:45 +02:00
Günther Deschner
0590e7ef36 s4:torture/rpc/atsvc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:45 +02:00
Stefan Metzmacher
fd9495491d s4:torture/rpc/echo.c: remove NTSTATUS status variables
metze
2010-03-29 15:35:44 +02:00
Stefan Metzmacher
870a21b3ec s4:torture/rpc/echo.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:43 +02:00
Andrew Tridgell
686221eae2 s4-waf: use the libreplace strerror_r if needed 2010-03-29 21:34:29 +11:00
Andrew Tridgell
7ed349cace pytalloc: allow for using a system libtalloc-dev with pytalloc
When we have a system talloc library, we still need to grab pytalloc.h
from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise
we'll get the in-tree talloc.h which may not be compatible with the
system talloc.h

So we need to give the path to pytalloc.h
2010-03-29 21:34:29 +11:00
Andrew Tridgell
b60da39da6 s4: added a simple implementation of bin/samba -b
this shows the config paths. Useful for debugging --enable-fhs
2010-03-29 21:34:29 +11:00
Jelmer Vernooij
ba74823c8f upgradeprovision: Fix formatting, syntax error. 2010-03-28 22:58:36 +02:00
Matthieu Patou
d18d7cfa27 s4 upgradeprovision: add information about upgrade in oEMInformation to keep a better trace of different updates
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-28 22:54:08 +02:00
Matthieu Patou
8d3ff2d41e s4: allow upgrade provision to fix acl and missing dir on GPO dirs
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-28 22:54:08 +02:00
Matthieu Patou
ec48d3693d provision: make gpo related function more reusable for upgradeprovision
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-28 22:54:08 +02:00
Jelmer Vernooij
66375cfba2 provision: Remove unnecessary whitespace. 2010-03-28 22:42:31 +02:00
Jelmer Vernooij
b607f99688 Remove extension from format-subunit. 2010-03-28 21:46:58 +02:00
Andrew Tridgell
09a676a471 s4-selftest: use CONFIG_H environment variable to find config.h 2010-03-28 17:57:29 +11:00
Andrew Bartlett
1f0467562b s4:heimdal Use correct variable to advance past -- options in kpasswd
This bug was introduced when kpasswd was migrated to a local getarg()
call, in Heimdal commit 7dd146072cd9b56d660a01f4aa20f8d81be356e8

Andrew Bartlett
2010-03-27 19:13:28 +11:00
Andrew Bartlett
f47454a04d s4:heimdal_build Remove forced HAVE_STRERROR_R
This just causes warnings, now upstream has a more complete fix.
2010-03-27 19:12:33 +11:00
Andrew Bartlett
64b8b0cdaf s4:heimal Update generated files (cp from Heimdal) 2010-03-27 12:24:00 +11:00
Andrew Bartlett
533024be44 s4:heimdal: import lorikeet-heimdal-201003262338 (commit f4e0dc17709829235f057e0e100d34802d3929ff) 2010-03-27 11:55:22 +11:00
Andrew Bartlett
564d5cd2c4 s4:heimdal New files and supporting logic for heimdal update 2010-03-27 11:53:23 +11:00
Andrew Bartlett
89eaef0253 s4:heimdal: import lorikeet-heimdal-201001120029 (commit a5e675fed7c5db8a7370b77ed0bfa724196aa84d) 2010-03-27 11:51:27 +11:00
Günther Deschner
0909696261 s4-smbtorture: more JobInfo testing.
Guenther
2010-03-26 23:01:19 +01:00
Matthias Dieter Wallnöfer
d570a0af0b s4:auth/credentials/credentials.c - initialise more content
Now all data should be initialised
2010-03-26 18:14:11 +01:00
Andreas Schneider
a6f25fc635 s3-smbd: Don't close stdout if we want to log to stdout. 2010-03-26 14:48:54 +01:00
Günther Deschner
f70e1b4d43 s4-smbtorture: fail spoolss test on SetJob failure.
Guenther
2010-03-26 14:36:47 +01:00
Andrew Tridgell
789d67c499 s4-smbd: use tevent_re_initialise()
This fixes a crash bug on startup
2010-03-26 21:13:55 +11:00
Andrew Tridgell
fae84f98e3 libutil: moved the networking defines to util_net.h
These were causing thousands of warnings on solaris8
2010-03-26 17:36:02 +11:00
Eduardo Lima
af807758e8 s4-drs: replmd_delete with the 3 stage deletion recycle bin 2010-03-26 16:50:48 +11:00
Stefan Metzmacher
ef1c3176c8 s4:libcli/wrepl: correctly remove the tstream_context when the connection is dead
metze
2010-03-25 21:24:53 +01:00
Günther Deschner
c2a6631dc6 s4-smbtorture: fix include of proto header in main RAP test.
Guenther
2010-03-25 18:38:26 +01:00
Günther Deschner
a2e65a2add s3-selftest: add RAP-RPC testsuite for crosschecking RAP and DCERPC calls.
Guenther
2010-03-25 14:43:38 +01:00
Günther Deschner
45f6eae4c4 s4-smbtorture: fix drsblobs ndr torture test.
Guenther
2010-03-25 11:04:52 +01:00
Günther Deschner
2e20cdaeeb s4-smbtorture: activate job control tests against s3 in spoolss tests.
Spoolss job control commands work for cups in s3 now but not for other
backends. We need to investigate why.

Guenther
2010-03-25 11:04:52 +01:00
Andrew Bartlett
5f6f7a2e51 s4:kdc Add support for changing password of a servicePrincipalName
Apparently AD supports setting a password on a servicePrincipalName,
not just a user principal name.  This should fix (part of) the join of
OpenSolaris's internal CIFS server to Samba4 as reported by Bug #7273

Andrew Bartlett
2010-03-25 16:32:04 +11:00
Andrew Tridgell
6199ae4745 s4-ldb: fixed command line parsing in oLschema2ldif
It really doesn't make sense to use the ldb command line code
2010-03-25 15:45:40 +11:00
Andrew Tridgell
3b29f9c66e s4-ldb: removed unused command line options -I and -O
These are not used anywehere, so they just confuse people

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-25 15:06:40 +11:00
Fernando J V da Silva
8e1d947787 s4-drs: If we are a RODC then do not send DSReplicaSync messages 2010-03-25 15:02:19 +11:00
Andrew Tridgell
088096d1ba python: use '#!/usr/bin/env python' to cope with varying install locations
this should be much more portable
2010-03-25 14:37:19 +11:00
Günther Deschner
426cb9be1c s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
6913c57b2f s4-smbtorture: create several printjobs during print test in RPC-SPOOLSS.
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
27c50255f6 s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.
Guenther
2010-03-25 00:50:30 +01:00
Günther Deschner
1bb8341871 s4-smbtorture: mention job id in SetJob test output in RPC-SPOOLSS.
Guenther
2010-03-25 00:50:18 +01:00
Jeremy Allison
c2d1b01103 Missing include guard in source4/libcli/security/security.h
Jeremy.
2010-03-24 12:20:03 -07:00
Günther Deschner
bb47e5b617 s4-smbtorture: add drsblobs ndr torture test.
Guenther
2010-03-24 18:30:38 +01:00
Günther Deschner
fb70368a97 s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr level.
Guenther
2010-03-24 18:30:18 +01:00
Günther Deschner
254d85d537 s4-selftest: use correct test names.
Guenther
2010-03-24 17:37:07 +01:00
Stefan Metzmacher
25a89b7015 s4:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
598bfdcfd8 s4:ntlmssp: make use of dump_arc4_state()
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
48d8157879 s4:ntlmssp: copy dump_arc4_state() from source3
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
a69260642e s4:ntlmssp: avoid usage of calc_ntlmv2_key_talloc()
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
00f99a3df5 s4:ntlmssp: make use of calc_ntlmv2_key() for seal keys
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
fc120dd758 s4:ntlmssp: add calc_ntlmv2_key() from source3
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
e0c7d9c8aa s4:ntlmssp: rename calc_ntlmv2_key => calc_ntlmv2_key_talloc
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
c64e6e0a0f s4:ntlmssp: inline ntlmssp_weakend_keys()
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
3220c84b72 s4:ntlmssp: use a 'bool ok' helper variable to make the code more readable
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
e669ee4c9d s4:ntlmssp: fix some formating
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
44ce126b84 s4:ntlmssp: move doing_ntlm2 to ntlmssp_server_auth_state
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
40395eee5b s4:ntlmssp: move NTLM2 session_nonce to ntlmssp_server_auth_state
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
1b20f7192a s4:ntlmssp: move encrypted_session_key to ntlmssp_server_auth_state
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
a56ae60851 s4:ntlmssp: keep a ntlmssp_server_auth_state to transport variables from preauth to postauth hooks
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
a42cad635f s4:ntlmssp: remove unused server_multiple_authentications feature.
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
d3e7266676 s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
706333856b s4:ntlmssp: split gensec_ntlmssp_unseal_packet() and ntlmssp_unseal_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
d4c2f252da s4:ntlmssp: split gensec_ntlmssp_seal_packet() and ntlmssp_seal_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
1564b2a94b s4:ntlmssp: split gensec_ntlmssp_check_packet() and ntlmssp_check_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
23507c022f s4:ntlmssp: split gensec_ntlmssp_sign_packet() and ntlmssp_sign_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
b47a849df2 s4:ntlmssp: make user a 'const char *' in (gensec_)ntlmssp_state
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
36669bfcf1 s4:ntlmssp: remove server_name from (gensec_)ntlmssp_state and fill the server.* fields also for the client
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
282a2d8591 s4:ntlmssp: calculate server names at startup and store them in (gensec_)ntlmssp_state->server.*
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Stefan Metzmacher
133a3e4ce8 s4:ntlmssp: replace server_role by a server.is_standalone in (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Stefan Metzmacher
c33e72b8c5 s4:ntlmssp: remove more whitespaces...
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Stefan Metzmacher
4ab94f5836 s4:ntlmssp: add NTLMSSP_FEATURE_* flags from s3
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Stefan Metzmacher
ee240799b6 s4:ntlmssp: keep struct gensec_ntlmssp_context in gensec_security->private_data
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Stefan Metzmacher
a0522a5b26 s4:ntlmssp: remove gensec_security from (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Stefan Metzmacher
32d822af81 s4:ntlmssp: remove backend specifix stuff from (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Stefan Metzmacher
83cc137d5e s4:ntlmssp: create a gensec_ntlmssp_context between gensec_security and ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:49 +01:00
Stefan Metzmacher
8df01705bf s4:ntlmssp: add definition of gensec_ntlmssp_context
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:49 +01:00
Stefan Metzmacher
bd550df322 s4:ntlmssp: add a callback_private pointer to gensec_ntlmssp_state
We'll remove any gensec specific stuff from gensec_ntlmssp_state
and rename it to ntlmssp_state again.

Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:48 +01:00
Kamen Mazdrashki
db02ca65a0 s4/drs: Implement DsAddEntry V3 error handling 2010-03-24 17:34:42 +02:00
Kamen Mazdrashki
04f4ea6ae2 s4/drs: Refactor error handling for DsAddEntry V3 replies
Dumping for specific error classes are to be implemented properly
in the near future.
2010-03-24 17:34:39 +02:00
Kamen Mazdrashki
00fce797e8 s4/drs: drsuapi_DsAddEntry_ErrData propagate structure def in source code 2010-03-24 17:34:37 +02:00
Kamen Mazdrashki
427a1f3c62 s4/drs: DsAddEntry - extending error handling for V2 replies
After having more complete definition for DsAddEntryReply V2
structure, we can now handle error state in more robust way,
not just counting on number of objects returned.
2010-03-24 17:34:35 +02:00
Kamen Mazdrashki
58ddf31ad1 s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source code 2010-03-24 17:34:34 +02:00
Kamen Mazdrashki
05db9365b6 s4/drs: DsAddEntry - Propagating unsigned switches to source code 2010-03-24 17:34:31 +02:00
Günther Deschner
fcad13500b s4-smbtorture: add missing checks for WERROR results in RPC-SAMBA3 tests.
Guenther
2010-03-24 13:34:01 +01:00
Günther Deschner
8cd63a854e s4-smbtorture: fix some invalid parameters in RPC-SAMSYNC test.
Guenther
2010-03-24 13:18:33 +01:00
Günther Deschner
9fd24eb9c5 s4-smbtorture: cleanup some of the RPC-SAMBA3 tests.
This avoids printf, uses simplication functions where appropriate, etc.

Guenther
2010-03-24 12:48:29 +01:00
Günther Deschner
5e87e8576c s4-smbtorture: add rap_get_servername to RPC-SAMBA3 family of tests.
Guenther
2010-03-24 12:48:29 +01:00
Andrew Bartlett
5592a9ba5a s4:selftest Test --sign and --encrypt options to ldbsearch 2010-03-24 19:28:38 +11:00
Andrew Bartlett
bb7854afea s4:cmdline Add --sign and --encrypt options to our common command line
This allows ldbsearch to accept --sign and --encrypt.  I'll soon work
to integrate with the --signing= option in smbclient.

Andrew Bartlett
2010-03-24 19:28:38 +11:00
Andrew Bartlett
a2286bad67 s4:ntlmssp Ensure that we always negotiate signing if we negotiate sealing.
Without this, a sealed LDAP connection to windows does not work.

Andrew Bartlett
2010-03-24 19:28:37 +11:00
Andrew Tridgell
83aaf4829e s4-provision: FreeBSD uses 'staff' for users 2010-03-24 07:11:38 +01:00
Andrew Tridgell
de2b841935 s4-provision: solaris uses the group "other" 2010-03-24 07:11:38 +01:00
Günther Deschner
247c6f53f9 s4-smbtorture: remove tailing whitespace in samba3rpc testsuite.
Guenther
2010-03-23 19:05:25 +01:00
Stefan Metzmacher
ec30022233 s4:librpc/rpc/pyrpc.h: librpc/rpc/dcerpc.h isn't needed anymore
metze
2010-03-23 18:44:34 +01:00
Stefan Metzmacher
f57b1da428 s4:lib/messaging: pymessaging needs libndr.h
metze
2010-03-23 18:44:33 +01:00
Stefan Metzmacher
48cd096126 s4:libnet: don't include librpc/rpc/dcerpc.h directly
metze
2010-03-23 18:44:32 +01:00
Günther Deschner
bf9f24f571 s4-smbtorture: use torture_context in samsync test.
Guenther
2010-03-23 17:28:55 +01:00
Günther Deschner
9c586e6b1b s4-smbtorture: remove trailing whitespace from samsync torture test.
Guenther
2010-03-23 17:16:23 +01:00
Günther Deschner
3e04bf4fbc s4-smbtorture: use torture_context in libnet domain tests as well.
Guenther
2010-03-23 16:57:30 +01:00
Matthias Dieter Wallnöfer
bebb17ad0e s4:WINREG torture - fix an error (missing "break" in a "switch")
Sorry my fault - I didn't discover that earlier since we had binary data types
support activated in s4.
2010-03-23 16:46:17 +01:00
Matthias Dieter Wallnöfer
3a2488870f s4:registry - "reg_ldb_pack_value" - provide workarounds when the server receives non-standard data.
For now we reset/delete the "data" attribute. Anyway there is the need to find
a better solution (we probably want to change the format and save all data as
we got it like Windows itself does).

These workarounds are needed since for example the Windows 2000 Registry Editor
initialises empty REG_SZ strings with content '\0' and length 1 (not a valid
UTF16 sequence - "convert_string_talloc" breaks). So we simply reset/delete the
"data" attribute which works (no content).
2010-03-23 16:46:17 +01:00
Matthias Dieter Wallnöfer
0426b5b786 s4:registry - "LDB backend" - fix indentation 2010-03-23 16:46:17 +01:00
Günther Deschner
97a974e5b7 s4-smbtorture: use torture_context for debugging output everywhere in libnet torture tests.
Mimir, please check.

Guenther
2010-03-23 16:13:54 +01:00
Günther Deschner
f5eb8eb97f s4-smbtorture: remove trailing whitespace in libnet torture tests.
Guenther
2010-03-23 16:13:54 +01:00
Simo Sorce
d9e311ddce s4:lsa Functions to set Domain Trust Information 2010-03-22 21:49:40 -04:00
Simo Sorce
668e7db9d6 s4:lsa move code to add trusted domain user into its own function 2010-03-22 21:49:40 -04:00
Simo Sorce
650a62d1cb s4:lsa Abstract crypto (un)wrapping in separate functions 2010-03-22 21:49:39 -04:00
Matthias Dieter Wallnöfer
a6f5e495b1 s4:registry - "LDB backend" - revert the length check for UTF16 strings
Let this do the "convert_string_talloc" function as it was before.
2010-03-23 00:26:01 +01:00
Matthias Dieter Wallnöfer
f39ef98668 Revert "s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4"
This reverts commit 0f2cf82e5e.

Naturally we have to revert this for s4 until a new storage mechanism for binary
REG_SZ and REG_*WORD values has been found.
2010-03-23 00:16:19 +01:00
Matthias Dieter Wallnöfer
bca353561e s4:registry - "LDB backend" - revert the binary storage of "REG_SZ", "REG_DWORD" and "REG_QWORD"
We agreed that this hack isn't the best of the possible solutions.
2010-03-23 00:16:19 +01:00
Matthias Dieter Wallnöfer
6a63c38c12 s4:ldb_modules/util.c - fix two counter variables to be "unsigned" 2010-03-23 00:16:18 +01:00
Matthias Dieter Wallnöfer
c69afbbfd0 s4:registry - "reg_key_del/add_abs": call "talloc_free" only on valid objects 2010-03-22 22:38:45 +01:00
Matthias Dieter Wallnöfer
12f42e35bc s4:registry - "reg_import_hive_key" - change a "talloc_steal" into a "talloc_reference"
Use a "talloc_reference" since the "hive" variable can continue to exist also
after the destructed "struct local_key" object. It is also referenced by the
"mountpoints" structure under the "ctx" object.
2010-03-22 22:31:08 +01:00
Matthias Dieter Wallnöfer
e2466334a0 s4:registry - "patchfile" - add another "W_ERROR_HAVE_NO_MEMORY" macro call 2010-03-22 22:31:08 +01:00
Matthias Dieter Wallnöfer
8046cbe3c1 s4:registry - "local" - add also here more "W_ERROR_HAVE_NO_MEMORY" macro tests 2010-03-22 22:31:07 +01:00
Matthias Dieter Wallnöfer
e690c0776f s4:registry - "util.c" - initialise "result" in "reg_key_add_abs" 2010-03-22 22:31:06 +01:00
Matthias Dieter Wallnöfer
0c10703c75 s4:WINREG RPC - add also here a "W_ERROR_HAVE_NO_MEMORY" 2010-03-22 22:31:06 +01:00
Matthias Dieter Wallnöfer
e78289f167 s4:registry - "samba.c" - add a "talloc_free" 2010-03-22 22:31:05 +01:00
Matthias Dieter Wallnöfer
dc17292f1a s4:registry - add more "W_ERROR_HAVE_NO_MEMORY" invocations (on talloc'ed stuff) 2010-03-22 22:31:05 +01:00
Matthias Dieter Wallnöfer
9c3e6249fd s4:registry - "util" - remove "const" from "reg_abs_path"
Here it's not really needed
2010-03-22 22:31:04 +01:00
Matthias Dieter Wallnöfer
5f850af84a s4:registry - adaptions for "add also a memory context argument for "reg_key_del_abs" 2010-03-22 22:31:03 +01:00
Matthias Dieter Wallnöfer
5b6ad54f43 s4:registry - "util" - add also a memory context argument for "reg_key_del_abs" 2010-03-22 22:31:03 +01:00
Matthias Dieter Wallnöfer
9d8592978e s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs" 2010-03-22 22:31:02 +01:00
Matthias Dieter Wallnöfer
05d8882a96 s4:registry - "util" - fix up memory allocated data 2010-03-22 22:31:02 +01:00
Matthias Dieter Wallnöfer
96bb09bcf6 s4:registry - "dir.c" - fix up dynamic memory allocation operations
- Added free operations where needed
- Use always the "mem_ctx" for temporary data
- Proof with W_ERROR_HAVE_NO_MEMORY if stuff was allocated
2010-03-22 22:31:01 +01:00
Matthias Dieter Wallnöfer
43170dafbc s4:registry - adaptions for "add memory contexts for delete value/key functions" 2010-03-22 22:31:00 +01:00
Matthias Dieter Wallnöfer
64f51380aa s4:registry - registry.h - add memory contexts for delete value/key functions 2010-03-22 22:31:00 +01:00
Matthias Dieter Wallnöfer
dd111804f6 s4:registry - "RPC backend" - use "talloc_steal" and not "talloc_reference"
No need to create additional references but we need to assign the strings to the
right context.
2010-03-22 14:00:02 +01:00
Matthias Dieter Wallnöfer
43bb87f5fa s4:registry - "patchfile" - check if strings could be allocated 2010-03-22 13:39:40 +01:00
Matthias Dieter Wallnöfer
686825e025 s4:registry - "patchfile" - initialise the data blobs 2010-03-22 13:33:04 +01:00
Matthias Dieter Wallnöfer
c5b9b25c71 s4:registry - "patchfile" - add more "talloc_free"s to save memory 2010-03-22 13:23:20 +01:00
Matthias Dieter Wallnöfer
885a167929 s4:registry - "util.c" - "reg_string_to_val" - consider always the return values
In some cases we didn't consider them.
2010-03-22 12:26:41 +01:00
Matthias Dieter Wallnöfer
6f7f16dc80 s4:registry - "patchfile_preg.c" - also here don't accumulate the memory usage
Free always the unused stuff.
2010-03-22 12:26:40 +01:00
Matthias Dieter Wallnöfer
93472b41de s4:registry - "patchfile_dotreg.c" - fix a memory leak
Here we allocate memory on the "NULL" context through "reg_val_data_string" on
each call of "set_value". So when we have written out the allocated data on the
specified file descriptor we should immediately free this memory! Otherwise we
may end up with a big memory consumption on big registry databases.
2010-03-22 12:26:39 +01:00
Matthias Dieter Wallnöfer
5f24bfb7b9 s4:registry - "patchfile" - add comments
Helps to understand when we need to generate the hive diffs.
2010-03-22 12:26:29 +01:00
Günther Deschner
0cf9d62f30 s4-selftest: fix selftest-vars script.
Tridge, please check.

Guenther
2010-03-22 10:43:48 +01:00
Andrew Bartlett
f8019ff793 s4:dsdb Add a shortcut sequence number for schema reloads
This uses the ldb sequence number, in a hope to detect an unchanged
schema quicker.

Andrew Bartlett
2010-03-22 20:24:41 +11:00
Andrew Bartlett
fe3e1af901 s4:dsdb Rework schema loading and add schema reloading
This commit reworks Samba4's schema loading code to detect when it
needs to reload the schema.  This is done by watching the @REPLCHANGED
special DN.

The reload happens by means of a callback, which is only set when the
schema is loaded from the ldb - not when loaded from an LDIF file or
DRS.

We also rework the global schema handling - instead of storing the
pointer to the global schema in each ldb, we store a flag indicating
that the global schema should be returned at run time.  This makes it
much easier to switch to a new global schema.

Andrew Bartlett
2010-03-22 20:24:41 +11:00
Andrew Bartlett
d0b54476fc s4:dsdb Move dsdb_save_partition_usn() to be a module helper function
This function should not traverse the module stack again, but instead
run from this point.  Also add a matching
dsdb_module_load_partition_usn() and change repl_meta_data to match.

Andrew Bartlett
2010-03-22 20:24:41 +11:00
Andrew Bartlett
639728a298 s4:schema Expand the schema structure
We now store the location of the schema in the schema, and provide
hooks for a future schema reloading mechanism.

Andrew Bartlett
2010-03-22 20:24:41 +11:00
Andrew Bartlett
775c5ec1c5 s4:dsdb Remove unused 'dsdb_make_schema_global' call from pyglue 2010-03-22 20:24:40 +11:00
Andrew Bartlett
7fc94eb9a7 s4:dsdb Add 'const' to some struct dsdb_schema variables
We don't currently require this, but we may move this way in future.
2010-03-22 20:24:40 +11:00
Andrew Bartlett
fc5a507a86 s4:dsdb Don't load the schema unconditionally
Schema loads now come at a price, so avoid doing them if we don't have
to (such as when doing an @REPLCHANGED or other special DN based
search).

Andrew Bartlett
2010-03-22 20:24:40 +11:00
Matthias Dieter Wallnöfer
c8a9533902 s4:registry - "patchfile.c" - consider also the hives in the generated diffs
Apparently the diffs for the hives weren't generated previously.
2010-03-22 00:13:02 +01:00
Matthias Dieter Wallnöfer
056d262bb0 s4:registry - "patchfile.c" - fix a typo 2010-03-22 00:02:06 +01:00
Matthias Dieter Wallnöfer
872d2330a4 s4:regtree - fix counter variables to be "unsigned" 2010-03-21 23:41:50 +01:00
Matthias Dieter Wallnöfer
61761cbac8 s4:registry - "LDB backend" - "reg_ldb_unpack_value"
When the name isn't found it is the default value. Call it "" to be consistent.
2010-03-21 23:36:09 +01:00
Matthias Dieter Wallnöfer
7b54964a25 s4:registry - "LDB backend" - "reg_key_get_info"
Consider also the default value (if it exists) as value. That means:
- count it when setting "num_values"
- take also his buffer length as a candidate for the maximum value buffer length

This is what Windows does.
2010-03-21 23:19:32 +01:00
Matthias Dieter Wallnöfer
773faa5063 s4:registry - "LDB backend" - "ldb_get_default_value"
There exist also key objects (the hives) which don't contain a "key" entry at
all. This prevented to display their default value (my fault).
2010-03-21 23:02:31 +01:00
Matthias Dieter Wallnöfer
b7f129f5c4 s4:registry - "LDB backend" - make the key argument "const" of ldb_get_default_value 2010-03-21 22:19:12 +01:00
Matthias Dieter Wallnöfer
ea621efee7 s4:registry - "LDB backend" - fix indentation 2010-03-21 22:04:28 +01:00
Matthias Dieter Wallnöfer
6c39b10f1d s4:regshell - here we don't need a newline - "ctime" itself provides one 2010-03-21 16:02:36 +01:00
Matthias Dieter Wallnöfer
d4425ecea5 s4:regshell - don't return an error code if we get a security descriptors error
s4 itself doesn't support them so print only the error code out (in s4's case
WERR_NOT_SUPPORTED).
2010-03-21 15:56:26 +01:00
Matthias Dieter Wallnöfer
ad83995de5 s4:registry - "LDB backend" - reg_key_get_info - adapt max. subkey and value length
Those lengths are measured in UTF8 string lengths and not in UTF16 ones (the
returned strings are generally in this format). Discovered this by checking the
s3 registry code.
Therefore we have to multiply the both numbers by two.

Discovered with the "regedt32" (old NT registry editor).
2010-03-21 15:33:52 +01:00
Matthias Dieter Wallnöfer
2bbdb2cd34 s4:WINREG RPC server - don't check for the "name" size in "EnumValue"
This isn't needed at all since:
1.) a new name object is created and sent back to the client
2.) the "size" seems to be the size of the "name" pointer. On my test with the
    "regedt32" program this has always been "4".
2010-03-21 15:12:37 +01:00
Matthias Dieter Wallnöfer
0f2cf82e5e s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4
Should be definitely fixed now.
2010-03-21 14:30:53 +01:00
Matthias Dieter Wallnöfer
811c601ae0 s4:WINREG RPC - we support only non-volatile keys 2010-03-21 14:30:45 +01:00
Matthias Dieter Wallnöfer
cc4e5c8beb s4:registry - "LDB backend" - don't test for "0" as string termination on binary and unknown typed values 2010-03-21 14:10:17 +01:00
Matthias Dieter Wallnöfer
1cdeb0c0d2 s4:WINREG RPC - specify the performed create action for "CreateKey"
To make the WINREG RPC testsuite happy.
2010-03-21 14:03:58 +01:00
Matthias Dieter Wallnöfer
2f79217964 s4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD"
Further tests show that (at least per default) there aren't any differences
between them.
2010-03-21 14:03:57 +01:00
Matthias Dieter Wallnöfer
d82b325bc3 s4:torture WINREG - enhance test for "QWORD" type
We need to know how this behaves.
2010-03-21 14:03:56 +01:00
Matthias Dieter Wallnöfer
66f94ca3ec s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type
We need to know how this behaves.
2010-03-21 14:03:56 +01:00
Matthias Dieter Wallnöfer
a55031792d s4:registry - "LDB backend" - fix up memory allocation for dynamic integers
We don't need to reserve memory for NULL termination when storing data as
integers.
2010-03-21 14:03:55 +01:00
Matthias Dieter Wallnöfer
1d49a266ab s4:registry - "LDB backend" - Fix up the storage of binary REG_SZ/REG_EXPAND_SZ values
There seem to exist also UTF16 sequences which have byte sizes of a multiple of
two but are invalid (gd's winreg test shows this).
2010-03-21 14:03:23 +01:00
Andrew Tridgell
c04922ec20 build: useful shell vars for setting up selftest 2010-03-20 16:50:27 +11:00
Günther Deschner
a52b3dfb26 s4-selftest: skip RPC-DFS for s4 entirely.
Guenther
2010-03-20 02:56:20 +01:00
Günther Deschner
3cb56942ed s4-smbtorture: rework RPC-DFS test a bit.
Guenther
2010-03-19 22:46:16 +01:00
Günther Deschner
f5ab6fd788 s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.
Guenther
2010-03-19 20:23:33 +01:00
Stefan Metzmacher
f4700296b3 s4:librpc/rpc: add NCACN_INTERNAL from s3
metze
2010-03-19 17:38:32 +01:00
Günther Deschner
3144a988e5 s4-smbtorture: skip RAP netservergetinfo level 1 test against s3.
Guenther
2010-03-19 10:56:03 +01:00
Günther Deschner
e7cc45cb14 error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
Metze, please check.

Guenther
2010-03-19 09:30:36 +01:00
Günther Deschner
dd4e2ebda5 s4-smbtorture: use torture_context in policy function in RPC-LSA-LOOKUP test.
Guenther
2010-03-19 09:21:15 +01:00
Stefan Metzmacher
6a1f8e67eb libcli/util: add more NT_STATUS_RPC_* defines
metze
2010-03-18 14:25:57 +01:00
Stefan Metzmacher
5e9ce495ee s4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubs
metze
2010-03-18 13:34:04 +01:00
Stefan Metzmacher
fd86c9b687 s4:utils/net/drs: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:43 +01:00
Stefan Metzmacher
95cefcfa4a s4:torture/rpc/browser.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:43 +01:00
Stefan Metzmacher
18fa68f259 s4:torture/rpc/ntsvcs.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:43 +01:00
Stefan Metzmacher
7456df5e75 s4:torture/rpc/frsapi.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:43 +01:00
Stefan Metzmacher
61c62a7fd1 s4:torture/rpc/handles.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:42 +01:00
Stefan Metzmacher
cef46436fc s4:torture/rpc/handles: check the correct last_fault_code
metze
2010-03-18 12:39:42 +01:00
Andrew Bartlett
6de83ef627 s4:dsdb Move rdn_name down the stack
This is done so that it can be (in future) removed when the OpenLDAP
backend is in use and the rdn_val module is used, while keeping as
similar semantics as possible between the module stacks.

Andrew Bartlett
2010-03-18 22:05:38 +11:00
Andrew Tridgell
55c45110e6 charset: fixed a problem with the global use of the iconv_convenience structure
We had a crash bug where a cached copy of a iconv convenience pointer
was used after being freed when loadparm asked for iconv to
reload. This could happen if a python module used a iconv based
function before loadparm was completed.

The fix is to ensure that any use of this pointer remains valid, by
reusing the pointer itself when it has already been initialised, but
filling in the child elements with the updated values.
2010-03-18 14:18:41 +11:00
Oliver Liebel
752b2206cb Fixed --ol-mmr-url helpline
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-18 11:27:57 +11:00
Oliver Liebel
947560fe37 Fixed OL-MMR make test
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-18 11:27:51 +11:00
Oliver Liebel
15172d3055 Fixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-18 11:27:30 +11:00
Günther Deschner
b05f0db957 s4-smbtorture: fix typo in RPC-SAMR-PASSWORDS-LOCKOUT test.
Guenther
2010-03-17 23:58:56 +01:00
Günther Deschner
453fed4efd s4-smbtorture: skip BackupLog test against samba in RPC-EVENTLOG.
Guenther
2010-03-17 22:59:12 +01:00
Stefan Metzmacher
4b80e145b4 s4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:24 +01:00
Stefan Metzmacher
2d897beb7a s4:torture/rpc/samsync.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:23 +01:00
Stefan Metzmacher
532e034e28 s4:torture/rpc/samr_accessmask.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:22 +01:00
Stefan Metzmacher
f400fc54bc s4:torture/rpc/dssetup.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:22 +01:00
Stefan Metzmacher
6e8fd4df60 s4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:21 +01:00
Stefan Metzmacher
aecd9dd195 s4:torture/rpc/samlogon.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:20 +01:00
Stefan Metzmacher
9639afae69 s4:torture/rpc/netlogon.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:19 +01:00
Stefan Metzmacher
c05a0f7823 s4:torture/rpc/schannel.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:19 +01:00
Stefan Metzmacher
2d31379853 s4:torture/rpc/testjoin.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:18 +01:00
Stefan Metzmacher
a91647d494 s4:torture/rpc/samr.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:17 +01:00
Stefan Metzmacher
04221518da s4:librpc/rpc: initialize p->binding_handle in dcerpc_secondary_context()
metze
2010-03-17 18:26:15 +01:00
Günther Deschner
4ca2cc348e s4-smbtorture: workaround broken REG_MULTI_SZ from winreg in s3
during SetPrinterDataEx SPOOLSS test.

Guenther
2010-03-17 15:55:23 +01:00
Günther Deschner
481402bae5 s4-smbtorture: workaround the fact that you cannot fully rename a printer in samba.
Guenther
2010-03-17 15:54:58 +01:00
Günther Deschner
c05a06187d s4-smbtorture: only use "friendly" data in extended SetPrinterDataEx test.
Passes against windows but not against samba yet :-(

Guenther
2010-03-17 15:43:06 +01:00
Günther Deschner
d41b8c3053 s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
3db9729240 s4-smbtorture: re-arrange tests in RPC-WINREG.
Mostly choping test_Open() into smaller parts.

Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
75a4dffac1 s4-smbtorture: add test to check different keytypes.
This test will be skipped for samba.

Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
89eaa9ed8e s4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
80ba1295ec s4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
c33a7ca84c s4-smbtorture: add test_CreateKey_opts() to RPC-WINREG test.
Guenther
2010-03-17 11:48:51 +01:00
Günther Deschner
f07572063d s4-smbtorture: put HKLM current_version test into an own function.
Guenther
2010-03-17 11:48:51 +01:00
Günther Deschner
8fd4375803 s4-smbtorture: use binding handle for simple SetValue winreg test.
Guenther
2010-03-17 11:48:51 +01:00
Stefan Metzmacher
50cc29b3cb s4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubs
metze
2010-03-17 09:53:13 +01:00
Stefan Metzmacher
ba3b9fa36b s4:torture/rpc/remote_pac.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 09:53:11 +01:00
Günther Deschner
2070c04230 s4-smbtorture: add lsa_SetTrustedDomainInfoByName NDR test.
Thanks Simo for providing the data and pointing out the IDL failure.

Guenther
2010-03-16 21:52:36 +01:00
Matthias Dieter Wallnöfer
2bdece18c6 kerberos - set the memory to "0"s before freeing the password to prevent security issues 2010-03-16 18:20:51 +01:00
Matthias Dieter Wallnöfer
a6c57472ab heimdal - remove unused variable 2010-03-16 17:11:49 +01:00
Matthias Dieter Wallnöfer
dc5e0d8464 heimdal - fix overlapped identifiers in the "krb5" library 2010-03-16 17:11:49 +01:00
Matthias Dieter Wallnöfer
973001e91a heimdal - free always "ctx->password" when it isn't needed anymore
"strdup" does always create a new object in the memory (through "malloc") which
needs to be freed if it isn't used anymore.
2010-03-16 17:11:48 +01:00
Matthias Dieter Wallnöfer
bdc0372f8a s4:auth/kerberos/kerberos.c - fix also here a memory leak
The options need to be freed also on this error case.
2010-03-16 17:11:48 +01:00
Matthias Dieter Wallnöfer
4c29a4e126 s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups" 2010-03-16 17:11:47 +01:00
Günther Deschner
c323629a1a s4-smbtorture: use random buffer for extended SetValue test in RPC-WINREG.
Guenther
2010-03-16 16:08:49 +01:00
Stefan Metzmacher
cb5805d789 s4:torture/rpc/winreg.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:32 +01:00
Stefan Metzmacher
bffe222230 s4:torture/rpc/spoolss_win.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
b01cd7864d s4:torture/rpc/spoolss_notify.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
97d74a4407 s4:torture/rpc/spoolss_notify.c: fix compiler warnings
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
c1bf3244df s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
28a6e5398d s4:tortore/rpc/spoolss.c: fix compiler warning
metze
2010-03-16 15:35:30 +01:00