sfrench/samba-autobuild/.git
14 years agos3: file_walk_table -> files_forall
Volker Lendecke [Mon, 22 Mar 2010 08:16:57 +0000 (09:16 +0100)]
s3: file_walk_table -> files_forall

This is more in line with the rest of the Samba code, like connections_forall
etc.

14 years agos3: Fix some nonempty blank lines
Volker Lendecke [Mon, 22 Mar 2010 08:11:24 +0000 (09:11 +0100)]
s3: Fix some nonempty blank lines

14 years agos4:registry - "patchfile.c" - consider also the hives in the generated diffs
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 23:13:02 +0000 (00:13 +0100)]
s4:registry - "patchfile.c" - consider also the hives in the generated diffs

Apparently the diffs for the hives weren't generated previously.

14 years agos4:registry - "patchfile.c" - fix a typo
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 23:02:06 +0000 (00:02 +0100)]
s4:registry - "patchfile.c" - fix a typo

14 years agos4:regtree - fix counter variables to be "unsigned"
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 22:41:50 +0000 (23:41 +0100)]
s4:regtree - fix counter variables to be "unsigned"

14 years agos4:registry - "LDB backend" - "reg_ldb_unpack_value"
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 22:36:09 +0000 (23:36 +0100)]
s4:registry - "LDB backend" - "reg_ldb_unpack_value"

When the name isn't found it is the default value. Call it "" to be consistent.

14 years agos4:registry - "LDB backend" - "reg_key_get_info"
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 21:01:06 +0000 (22:01 +0100)]
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.

14 years agos4:registry - "LDB backend" - "ldb_get_default_value"
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 21:57:31 +0000 (22:57 +0100)]
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).

14 years agos4:registry - "LDB backend" - make the key argument "const" of ldb_get_default_value
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 21:02:19 +0000 (22:02 +0100)]
s4:registry - "LDB backend" - make the key argument "const" of ldb_get_default_value

14 years agos4:registry - "LDB backend" - fix indentation
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 20:51:06 +0000 (21:51 +0100)]
s4:registry - "LDB backend" - fix indentation

14 years agoFix an uninitialized variable
Volker Lendecke [Sun, 21 Mar 2010 19:59:13 +0000 (20:59 +0100)]
Fix an uninitialized variable

14 years agos3: Fix bug 7202 for multi-threaded applications
Volker Lendecke [Sun, 21 Mar 2010 16:49:06 +0000 (17:49 +0100)]
s3: Fix bug 7202 for multi-threaded applications

Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for providing good
feedback!

Volker

14 years agoUse TALLOC_FREE in talloc_pop()
Volker Lendecke [Sun, 21 Mar 2010 14:55:04 +0000 (15:55 +0100)]
Use TALLOC_FREE in talloc_pop()

14 years agoUse calloc instead of ZERO_STRUCTP in talloc_stackframe_create()
Volker Lendecke [Sun, 21 Mar 2010 14:16:27 +0000 (15:16 +0100)]
Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create()

14 years agoTrim an overlong line
Volker Lendecke [Sun, 21 Mar 2010 14:14:48 +0000 (15:14 +0100)]
Trim an overlong line

14 years agos4:regshell - here we don't need a newline - "ctime" itself provides one
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 15:02:36 +0000 (16:02 +0100)]
s4:regshell - here we don't need a newline - "ctime" itself provides one

14 years agos4:regshell - don't return an error code if we get a security descriptors error
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 14:54:17 +0000 (15:54 +0100)]
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).

14 years agos4:registry - "LDB backend" - reg_key_get_info - adapt max. subkey and value length
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 14:33:52 +0000 (15:33 +0100)]
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).

14 years agos4:WINREG RPC server - don't check for the "name" size in "EnumValue"
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 14:12:37 +0000 (15:12 +0100)]
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".

14 years agos4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 13:30:53 +0000 (14:30 +0100)]
s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4

Should be definitely fixed now.

14 years agos4:WINREG RPC - we support only non-volatile keys
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 13:20:41 +0000 (14:20 +0100)]
s4:WINREG RPC - we support only non-volatile keys

14 years agos4:registry - "LDB backend" - don't test for "0" as string termination on binary...
Matthias Dieter Wallnöfer [Sun, 21 Mar 2010 13:10:17 +0000 (14:10 +0100)]
s4:registry - "LDB backend" - don't test for "0" as string termination on binary and unknown typed values

14 years agos4:WINREG RPC - specify the performed create action for "CreateKey"
Matthias Dieter Wallnöfer [Fri, 19 Mar 2010 19:23:36 +0000 (20:23 +0100)]
s4:WINREG RPC - specify the performed create action for "CreateKey"

To make the WINREG RPC testsuite happy.

14 years agos4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD"
Matthias Dieter Wallnöfer [Fri, 19 Mar 2010 18:55:32 +0000 (19:55 +0100)]
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.

14 years agos4:torture WINREG - enhance test for "QWORD" type
Matthias Dieter Wallnöfer [Fri, 19 Mar 2010 18:50:17 +0000 (19:50 +0100)]
s4:torture WINREG - enhance test for "QWORD" type

We need to know how this behaves.

14 years agos4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type
Matthias Dieter Wallnöfer [Fri, 19 Mar 2010 18:40:07 +0000 (19:40 +0100)]
s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type

We need to know how this behaves.

14 years agos4:registry - "LDB backend" - fix up memory allocation for dynamic integers
Matthias Dieter Wallnöfer [Fri, 19 Mar 2010 18:14:44 +0000 (19:14 +0100)]
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.

14 years agos4:registry - "LDB backend" - Fix up the storage of binary REG_SZ/REG_EXPAND_SZ values
Matthias Dieter Wallnöfer [Fri, 19 Mar 2010 17:23:00 +0000 (18:23 +0100)]
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).

14 years agos3: Open winbindd_cache.tdb with read/write access.
Bo Yang [Sun, 21 Mar 2010 08:00:26 +0000 (16:00 +0800)]
s3: Open winbindd_cache.tdb with read/write access.

Open winbindd_cache.tdb with read/write access when validate the cache,
otherwise, validation fails to get lock in tdb_check. It results in
validation failure even the cache is good.

Signed-off-by: Bo Yang <boyang@samba.org>
14 years agos3: Fix bug 7202
Volker Lendecke [Sat, 20 Mar 2010 14:23:17 +0000 (15:23 +0100)]
s3: Fix bug 7202

Make sure _nss_wins_gethostbyname_r has a talloc stackframe available

Thanks to Sergey Tereschenko <serg.partizan@gmail.com> for reporting the bug!

Volker

14 years agobuild: useful shell vars for setting up selftest
Andrew Tridgell [Fri, 19 Mar 2010 06:24:53 +0000 (17:24 +1100)]
build: useful shell vars for setting up selftest

14 years agosubunit: fixed reporting of unexpected failures
Andrew Tridgell [Fri, 19 Mar 2010 03:26:18 +0000 (14:26 +1100)]
subunit: fixed reporting of unexpected failures

14 years agosubunit: keep total error and failure counts
Andrew Tridgell [Fri, 19 Mar 2010 03:24:31 +0000 (14:24 +1100)]
subunit: keep total error and failure counts

14 years agos4-selftest: skip RPC-DFS for s4 entirely.
Günther Deschner [Sat, 20 Mar 2010 01:56:20 +0000 (02:56 +0100)]
s4-selftest: skip RPC-DFS for s4 entirely.

Guenther

14 years agos4-smbtorture: rework RPC-DFS test a bit.
Günther Deschner [Fri, 19 Mar 2010 21:37:53 +0000 (22:37 +0100)]
s4-smbtorture: rework RPC-DFS test a bit.

Guenther

14 years agos3-selftest: use proper names for samba3 dcerpc tests.
Günther Deschner [Fri, 19 Mar 2010 18:59:15 +0000 (19:59 +0100)]
s3-selftest: use proper names for samba3 dcerpc tests.

Guenther

14 years agos4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.
Günther Deschner [Fri, 19 Mar 2010 18:58:24 +0000 (19:58 +0100)]
s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.

Guenther

14 years agos4:librpc/rpc: add NCACN_INTERNAL from s3
Stefan Metzmacher [Fri, 19 Mar 2010 16:38:32 +0000 (17:38 +0100)]
s4:librpc/rpc: add NCACN_INTERNAL from s3

metze

14 years agos3:librpc: remove unused stuff
Stefan Metzmacher [Wed, 10 Mar 2010 13:33:58 +0000 (14:33 +0100)]
s3:librpc: remove unused stuff

metze

14 years agos3-selftest: enable RAP calls testsuite against samba3.
Günther Deschner [Fri, 19 Mar 2010 08:19:39 +0000 (09:19 +0100)]
s3-selftest: enable RAP calls testsuite against samba3.

Guenther

14 years agos4-smbtorture: skip RAP netservergetinfo level 1 test against s3.
Günther Deschner [Fri, 19 Mar 2010 09:54:12 +0000 (10:54 +0100)]
s4-smbtorture: skip RAP netservergetinfo level 1 test against s3.

Guenther

14 years agos3-selftest: rearrange uid/gid calculation to achieve correct membership.
Günther Deschner [Fri, 19 Mar 2010 09:33:54 +0000 (10:33 +0100)]
s3-selftest: rearrange uid/gid calculation to achieve correct membership.

(make test variant)

Guenther

14 years agos3-selftest: rearrange uid/gid calculation to achieve correct membership.
Günther Deschner [Fri, 19 Mar 2010 09:23:39 +0000 (10:23 +0100)]
s3-selftest: rearrange uid/gid calculation to achieve correct membership.

Guenther

14 years agonss_wrapper.pl: allow to specify gid for new users.
Günther Deschner [Fri, 19 Mar 2010 08:50:56 +0000 (09:50 +0100)]
nss_wrapper.pl: allow to specify gid for new users.

Guenther

14 years agoerror_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
Günther Deschner [Fri, 19 Mar 2010 08:30:36 +0000 (09:30 +0100)]
error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.

Metze, please check.

Guenther

14 years agos4-smbtorture: use torture_context in policy function in RPC-LSA-LOOKUP test.
Günther Deschner [Thu, 18 Mar 2010 22:54:14 +0000 (23:54 +0100)]
s4-smbtorture: use torture_context in policy function in RPC-LSA-LOOKUP test.

Guenther

14 years agos3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codes
Stefan Metzmacher [Thu, 18 Mar 2010 14:27:05 +0000 (15:27 +0100)]
s3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codes

metze

14 years agos3-selftest: fix Samba3.pm provisioning after uid/gid changes.
Günther Deschner [Thu, 18 Mar 2010 14:12:07 +0000 (15:12 +0100)]
s3-selftest: fix Samba3.pm provisioning after uid/gid changes.

Guenther

14 years agos3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Günther Deschner [Thu, 18 Mar 2010 11:12:58 +0000 (12:12 +0100)]
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.

Also make sure we only add root user when needed, Jeremy please check.

Guenther

14 years agos3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Günther Deschner [Thu, 18 Mar 2010 10:27:36 +0000 (11:27 +0100)]
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.

Guenther

14 years agolibcli/util: add more NT_STATUS_RPC_* defines
Stefan Metzmacher [Wed, 17 Mar 2010 18:48:56 +0000 (19:48 +0100)]
libcli/util: add more NT_STATUS_RPC_* defines

metze

14 years agopidl:Samba4/Python: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 18 Mar 2010 10:26:19 +0000 (11:26 +0100)]
pidl:Samba4/Python: make use of dcerpc_binding_handle stubs

metze

14 years agos4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 18 Mar 2010 10:25:21 +0000 (11:25 +0100)]
s4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubs

metze

14 years agopidl:Samba4/Python: remove compiler warnings
Stefan Metzmacher [Thu, 18 Mar 2010 11:36:57 +0000 (12:36 +0100)]
pidl:Samba4/Python: remove compiler warnings

metze

14 years agopidl:Samba4/Python: remove compiler warnings when using -Wc++
Stefan Metzmacher [Thu, 18 Mar 2010 09:52:05 +0000 (10:52 +0100)]
pidl:Samba4/Python: remove compiler warnings when using -Wc++

metze

14 years agos4:utils/net/drs: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 18 Mar 2010 09:48:24 +0000 (10:48 +0100)]
s4:utils/net/drs: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/browser.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 18 Mar 2010 09:27:41 +0000 (10:27 +0100)]
s4:torture/rpc/browser.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/ntsvcs.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 18 Mar 2010 09:26:43 +0000 (10:26 +0100)]
s4:torture/rpc/ntsvcs.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/frsapi.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 18 Mar 2010 09:24:56 +0000 (10:24 +0100)]
s4:torture/rpc/frsapi.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/handles.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 18 Mar 2010 08:56:32 +0000 (09:56 +0100)]
s4:torture/rpc/handles.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/handles: check the correct last_fault_code
Stefan Metzmacher [Thu, 18 Mar 2010 08:38:57 +0000 (09:38 +0100)]
s4:torture/rpc/handles: check the correct last_fault_code

metze

14 years agos4:dsdb Move rdn_name down the stack
Andrew Bartlett [Thu, 18 Mar 2010 11:03:40 +0000 (22:03 +1100)]
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

14 years agos3-printing: Fix "printer admin" functionality.
Jeremy Allison [Thu, 18 Mar 2010 10:21:15 +0000 (11:21 +0100)]
s3-printing: Fix "printer admin" functionality.

Fix bug #7255 ("printer admin" parameter does not work as expected).

14 years agocharset: fixed a problem with the global use of the iconv_convenience structure
Andrew Tridgell [Thu, 18 Mar 2010 03:06:13 +0000 (14:06 +1100)]
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.

14 years agoFixed --ol-mmr-url helpline
Oliver Liebel [Wed, 17 Mar 2010 19:11:11 +0000 (20:11 +0100)]
Fixed --ol-mmr-url helpline

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
14 years agoFixed OL-MMR make test
Oliver Liebel [Wed, 17 Mar 2010 19:14:19 +0000 (20:14 +0100)]
Fixed OL-MMR make test

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
14 years agoFixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394
Oliver Liebel [Wed, 17 Mar 2010 19:08:08 +0000 (20:08 +0100)]
Fixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
14 years agos4-smbtorture: fix typo in RPC-SAMR-PASSWORDS-LOCKOUT test.
Günther Deschner [Wed, 17 Mar 2010 17:03:29 +0000 (18:03 +0100)]
s4-smbtorture: fix typo in RPC-SAMR-PASSWORDS-LOCKOUT test.

Guenther

14 years agos3-eventlog: fix elog_tdbname(), we were always lower-casing entire lockdir path...
Günther Deschner [Wed, 17 Mar 2010 22:16:53 +0000 (23:16 +0100)]
s3-eventlog: fix elog_tdbname(), we were always lower-casing entire lockdir path...

Found by RPC-EVENTLOG torture test.

Guenther

14 years agos3-selftest: run RPC-EVENTLOG against s3.
Günther Deschner [Wed, 17 Mar 2010 21:56:15 +0000 (22:56 +0100)]
s3-selftest: run RPC-EVENTLOG against s3.

Guenther

14 years agos3-test: setup initial eventlog infrastructure.
Günther Deschner [Wed, 17 Mar 2010 21:55:41 +0000 (22:55 +0100)]
s3-test: setup initial eventlog infrastructure.

Guenther

14 years agos3-selftest: setup initial eventlog infrastructure.
Günther Deschner [Wed, 17 Mar 2010 21:55:00 +0000 (22:55 +0100)]
s3-selftest: setup initial eventlog infrastructure.

Guenther

14 years agos4-smbtorture: skip BackupLog test against samba in RPC-EVENTLOG.
Günther Deschner [Wed, 17 Mar 2010 21:44:44 +0000 (22:44 +0100)]
s4-smbtorture: skip BackupLog test against samba in RPC-EVENTLOG.

Guenther

14 years agos4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 17 Mar 2010 11:09:53 +0000 (12:09 +0100)]
s4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/samsync.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 17 Mar 2010 11:05:10 +0000 (12:05 +0100)]
s4:torture/rpc/samsync.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/samr_accessmask.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Mon, 15 Mar 2010 08:01:17 +0000 (09:01 +0100)]
s4:torture/rpc/samr_accessmask.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/dssetup.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 17 Mar 2010 11:06:05 +0000 (12:06 +0100)]
s4:torture/rpc/dssetup.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Wed, 17 Mar 2010 11:05:42 +0000 (12:05 +0100)]
s4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/samlogon.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Tue, 16 Mar 2010 10:34:04 +0000 (11:34 +0100)]
s4:torture/rpc/samlogon.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/netlogon.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Tue, 16 Mar 2010 10:22:28 +0000 (11:22 +0100)]
s4:torture/rpc/netlogon.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/schannel.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Tue, 16 Mar 2010 10:10:16 +0000 (11:10 +0100)]
s4:torture/rpc/schannel.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/testjoin.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Tue, 16 Mar 2010 09:55:41 +0000 (10:55 +0100)]
s4:torture/rpc/testjoin.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/samr.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Fri, 12 Mar 2010 16:51:06 +0000 (17:51 +0100)]
s4:torture/rpc/samr.c: make use of dcerpc_binding_handle stubs

metze

14 years agos4:librpc/rpc: initialize p->binding_handle in dcerpc_secondary_context()
Stefan Metzmacher [Wed, 17 Mar 2010 13:00:45 +0000 (14:00 +0100)]
s4:librpc/rpc: initialize p->binding_handle in dcerpc_secondary_context()

metze

14 years agos4-smbtorture: workaround broken REG_MULTI_SZ from winreg in s3
Günther Deschner [Wed, 17 Mar 2010 14:55:23 +0000 (15:55 +0100)]
s4-smbtorture: workaround broken REG_MULTI_SZ from winreg in s3
during SetPrinterDataEx SPOOLSS test.

Guenther

14 years agos4-smbtorture: workaround the fact that you cannot fully rename a printer in samba.
Günther Deschner [Wed, 17 Mar 2010 14:45:54 +0000 (15:45 +0100)]
s4-smbtorture: workaround the fact that you cannot fully rename a printer in samba.

Guenther

14 years agos4-smbtorture: only use "friendly" data in extended SetPrinterDataEx test.
Günther Deschner [Wed, 17 Mar 2010 14:32:42 +0000 (15:32 +0100)]
s4-smbtorture: only use "friendly" data in extended SetPrinterDataEx test.

Passes against windows but not against samba yet :-(

Guenther

14 years agos4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
Günther Deschner [Wed, 17 Mar 2010 10:31:43 +0000 (11:31 +0100)]
s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.

Guenther

14 years agos4-smbtorture: re-arrange tests in RPC-WINREG.
Günther Deschner [Wed, 17 Mar 2010 00:25:42 +0000 (01:25 +0100)]
s4-smbtorture: re-arrange tests in RPC-WINREG.

Mostly choping test_Open() into smaller parts.

Guenther

14 years agos4-smbtorture: add test to check different keytypes.
Günther Deschner [Tue, 16 Mar 2010 23:57:22 +0000 (00:57 +0100)]
s4-smbtorture: add test to check different keytypes.

This test will be skipped for samba.

Guenther

14 years agos4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.
Günther Deschner [Wed, 17 Mar 2010 10:36:09 +0000 (11:36 +0100)]
s4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.

Guenther

14 years agos4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.
Günther Deschner [Tue, 16 Mar 2010 23:55:41 +0000 (00:55 +0100)]
s4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.

Guenther

14 years agos4-smbtorture: add test_CreateKey_opts() to RPC-WINREG test.
Günther Deschner [Tue, 16 Mar 2010 23:53:21 +0000 (00:53 +0100)]
s4-smbtorture: add test_CreateKey_opts() to RPC-WINREG test.

Guenther

14 years agos4-smbtorture: put HKLM current_version test into an own function.
Günther Deschner [Tue, 16 Mar 2010 23:05:52 +0000 (00:05 +0100)]
s4-smbtorture: put HKLM current_version test into an own function.

Guenther

14 years agos4-smbtorture: use binding handle for simple SetValue winreg test.
Günther Deschner [Tue, 16 Mar 2010 23:05:02 +0000 (00:05 +0100)]
s4-smbtorture: use binding handle for simple SetValue winreg test.

Guenther

14 years agos4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Thu, 11 Mar 2010 11:00:34 +0000 (12:00 +0100)]
s4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubs

metze

14 years agos4:torture/rpc/remote_pac.c: make use of dcerpc_binding_handle stubs
Stefan Metzmacher [Tue, 16 Mar 2010 10:24:25 +0000 (11:24 +0100)]
s4:torture/rpc/remote_pac.c: make use of dcerpc_binding_handle stubs

metze

14 years agos3-vfs: fix some buildwarnings in traffic analyzer, there are many more.
Günther Deschner [Tue, 16 Mar 2010 22:02:29 +0000 (23:02 +0100)]
s3-vfs: fix some buildwarnings in traffic analyzer, there are many more.

Holger, please check.

Guenther

14 years agos3: Make login_cache_write take a pointer
Volker Lendecke [Tue, 16 Mar 2010 21:22:21 +0000 (22:22 +0100)]
s3: Make login_cache_write take a pointer

14 years agos3: Make login_cache_read take a pointer, avoid a malloc
Volker Lendecke [Tue, 16 Mar 2010 21:18:52 +0000 (22:18 +0100)]
s3: Make login_cache_read take a pointer, avoid a malloc