samba.git
10 years agos4-waf: inline LIBREPLACE_NETWORK into 'replace'
Stefan Metzmacher [Sun, 11 Apr 2010 17:24:46 +0000 (19:24 +0200)]
s4-waf: inline LIBREPLACE_NETWORK into 'replace'

metze

10 years agolib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE
Stefan Metzmacher [Mon, 12 Apr 2010 07:12:29 +0000 (09:12 +0200)]
lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE

metze

10 years agolib/replace/wscript: implement the same getpass detection logic as the autoconf version
Stefan Metzmacher [Mon, 12 Apr 2010 06:29:53 +0000 (08:29 +0200)]
lib/replace/wscript: implement the same getpass detection logic as the autoconf version

metze

10 years agolib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'
Stefan Metzmacher [Sun, 11 Apr 2010 17:16:32 +0000 (19:16 +0200)]
lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'

metze

10 years agos4/libnet: Allocate mem in supplied mem_ctx
Kamen Mazdrashki [Mon, 12 Apr 2010 00:45:12 +0000 (03:45 +0300)]
s4/libnet: Allocate mem in supplied mem_ctx

In this case, 'libnet_Vampire *r' may not be a pointer to
a talloced memory.

10 years agos4/py_net: Source code formatting fix
Kamen Mazdrashki [Mon, 12 Apr 2010 00:33:33 +0000 (03:33 +0300)]
s4/py_net: Source code formatting fix

10 years agobuild: use a common autogen-waf.sh for all builds
Andrew Tridgell [Mon, 12 Apr 2010 01:12:22 +0000 (11:12 +1000)]
build: use a common autogen-waf.sh for all builds

the symlink will get updated with the right target when waf dist is
used in each directory

10 years agobuild: cope with symlinks between build components in waf dist
Andrew Tridgell [Mon, 12 Apr 2010 01:09:44 +0000 (11:09 +1000)]
build: cope with symlinks between build components in waf dist

This will allow us to have autogen-waf.sh be a symlink to
../buildtools/scripts/autogen-waf.sh in each library.

That will prevent people from updating only the script in source4/,
and forgetting to udpate the scripts in the other libs, as happened
with commit f3f82496

10 years agos4-net: Add definition of outf.
Jelmer Vernooij [Mon, 12 Apr 2010 00:55:27 +0000 (02:55 +0200)]
s4-net: Add definition of outf.

10 years agobuild: added --minimum-library-version configure option
Andrew Tridgell [Sun, 11 Apr 2010 23:49:56 +0000 (09:49 +1000)]
build: added --minimum-library-version configure option

this allows the packager to override the default choice of system
library version

10 years agos4: fix a typo
Kamen Mazdrashki [Sun, 11 Apr 2010 15:43:56 +0000 (18:43 +0300)]
s4: fix a typo

10 years agos4/libnet: handle errors returned for DsAddEntry_v3 properly
Kamen Mazdrashki [Sun, 11 Apr 2010 14:27:30 +0000 (17:27 +0300)]
s4/libnet: handle errors returned for DsAddEntry_v3 properly

It turns out ms-docs are little bit misleading - in case of
no error, r->out.ctr->ctr3.err_data is not NULL, but
error information (r->out.ctr->ctr3.err_data->v1.info) is NULL!

10 years agos4/libnet: Add few new lines in the debug log so it is readable again
Kamen Mazdrashki [Sun, 11 Apr 2010 14:24:32 +0000 (17:24 +0300)]
s4/libnet: Add few new lines in the debug log so it is readable again

10 years agos4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected
Kamen Mazdrashki [Sun, 11 Apr 2010 14:04:21 +0000 (17:04 +0300)]
s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected

Actually DRSUAPI_DIRERR_OK is not valid error to be returned.
I introduce it in the IDL so that I can use it in enum.
So it should be dumped as Unexpected error code

10 years agos3: Move serverinfo_to_SamInfoX to auth/server_info.c
Volker Lendecke [Sun, 11 Apr 2010 13:25:55 +0000 (15:25 +0200)]
s3: Move serverinfo_to_SamInfoX to auth/server_info.c

10 years agos3: Move [make|free]_user_info to auth/user_info.c
Volker Lendecke [Sun, 11 Apr 2010 13:25:06 +0000 (15:25 +0200)]
s3: Move [make|free]_user_info to auth/user_info.c

10 years agos3: Move make_server_info_sam to auth/server_info_sam.c
Volker Lendecke [Sun, 11 Apr 2010 20:41:59 +0000 (22:41 +0200)]
s3: Move make_server_info_sam to auth/server_info_sam.c

10 years agos3: Move sanitize_username to lib/util_str.c
Volker Lendecke [Sun, 11 Apr 2010 20:38:33 +0000 (22:38 +0200)]
s3: Move sanitize_username to lib/util_str.c

10 years agos3: Move make_server_info to auth/server_info.c
Volker Lendecke [Sun, 11 Apr 2010 20:37:08 +0000 (22:37 +0200)]
s3: Move make_server_info to auth/server_info.c

10 years agos3: Move check_sam_security to auth/check_sam.c
Volker Lendecke [Sun, 11 Apr 2010 20:32:36 +0000 (22:32 +0200)]
s3: Move check_sam_security to auth/check_sam.c

10 years agos3: Make check_sam_security public
Volker Lendecke [Sun, 11 Apr 2010 20:26:46 +0000 (22:26 +0200)]
s3: Make check_sam_security public

10 years agos3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count args
Volker Lendecke [Sun, 11 Apr 2010 20:23:08 +0000 (22:23 +0200)]
s3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count args

10 years agos3: Replace "auth_context" by "challenge" in sam_password_ok args
Volker Lendecke [Sun, 11 Apr 2010 12:07:12 +0000 (14:07 +0200)]
s3: Replace "auth_context" by "challenge" in sam_password_ok args

10 years agos3: Move user_in_group() and create_token_from_username() to token_utils.c
Volker Lendecke [Sun, 11 Apr 2010 11:48:55 +0000 (13:48 +0200)]
s3: Move user_in_group() and create_token_from_username() to token_utils.c

Goal is to be able to call check_sam_security from winbind

10 years agolibcli/auth: Fix an uninitialized variable
Volker Lendecke [Sun, 11 Apr 2010 20:56:09 +0000 (22:56 +0200)]
libcli/auth: Fix an uninitialized variable

value.dptr was used uninitialized in the "goto done;"

10 years agonsswitch/wbinfo: Fix the S4 header check
Kai Blin [Sun, 11 Apr 2010 20:38:38 +0000 (22:38 +0200)]
nsswitch/wbinfo: Fix the S4 header check

10 years agoidl: Use C-style comments, because cpp on some platforms doesn't accept
Jelmer Vernooij [Sun, 11 Apr 2010 20:16:48 +0000 (22:16 +0200)]
idl: Use C-style comments, because cpp on some platforms doesn't accept
// comments.

10 years agos4:dbspeed torture - improve also the TDB code part
Matthias Dieter Wallnöfer [Sun, 11 Apr 2010 19:44:20 +0000 (21:44 +0200)]
s4:dbspeed torture - improve also the TDB code part

Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.

10 years agos4:dbspeed torture - remove unneeded newlines on "torture_result"
Matthias Dieter Wallnöfer [Sun, 11 Apr 2010 19:37:23 +0000 (21:37 +0200)]
s4:dbspeed torture - remove unneeded newlines on "torture_result"

According to Jelmer's post on the technical list.

10 years agos4: Fix more test results to not conflict with subunit commands.
Jelmer Vernooij [Sun, 11 Apr 2010 18:56:48 +0000 (20:56 +0200)]
s4: Fix more test results to not conflict with subunit commands.

10 years agosubunit: Cope with lowercase test results in tap2subunit.
Jelmer Vernooij [Sun, 11 Apr 2010 18:56:02 +0000 (20:56 +0200)]
subunit: Cope with lowercase test results in tap2subunit.

Also submitted upstream.

10 years agosubunit: Remove more test output that could be interpreted by subunit.
Jelmer Vernooij [Sun, 11 Apr 2010 14:55:48 +0000 (16:55 +0200)]
subunit: Remove more test output that could be interpreted by subunit.

10 years agosubunit: Support formatting compatible with upstream subunit, for consistency.
Jelmer Vernooij [Sat, 10 Apr 2010 23:39:06 +0000 (01:39 +0200)]
subunit: Support formatting compatible with upstream subunit, for consistency.

Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.

10 years agoselftest: Accept 'testing:' to introduce new tests.
Jelmer Vernooij [Sat, 10 Apr 2010 22:08:16 +0000 (00:08 +0200)]
selftest: Accept 'testing:' to introduce new tests.

10 years ago[Bug 7345] Incomplete description of function return values in libsmbclient.h
Derrell Lipman [Sun, 11 Apr 2010 15:37:00 +0000 (11:37 -0400)]
[Bug 7345] Incomplete description of function return values in libsmbclient.h

- Fixed documentation on smbc_fstat(), smbc_statvfs(), and smbc_fstatvfs():
  All were missing return value upon success

- Fixed documentation on smbc_read:
  Documented return value upon EOF

Derrell

10 years agos3: Use sizeof(chal) instead of a constant
Volker Lendecke [Sun, 11 Apr 2010 13:26:23 +0000 (15:26 +0200)]
s3: Use sizeof(chal) instead of a constant

10 years agos3: Use talloc_stackframe() in user_in_group
Volker Lendecke [Sun, 11 Apr 2010 10:53:00 +0000 (12:53 +0200)]
s3: Use talloc_stackframe() in user_in_group

10 years agos3: Use talloc_stackframe() in user_in_group_sid
Volker Lendecke [Sun, 11 Apr 2010 10:47:28 +0000 (12:47 +0200)]
s3: Use talloc_stackframe() in user_in_group_sid

10 years agos3: Use talloc_stackframe() in create_token_from_username
Volker Lendecke [Sun, 11 Apr 2010 10:47:13 +0000 (12:47 +0200)]
s3: Use talloc_stackframe() in create_token_from_username

10 years agos3: Fix a memleak in user_in_group_sid
Volker Lendecke [Sun, 11 Apr 2010 10:44:01 +0000 (12:44 +0200)]
s3: Fix a memleak in user_in_group_sid

10 years agos3: Remove the make_auth_methods routine
Volker Lendecke [Sun, 11 Apr 2010 10:37:48 +0000 (12:37 +0200)]
s3: Remove the make_auth_methods routine

This was just TALLOC_ZERO_P

10 years agos3: Fix a typo
Volker Lendecke [Sun, 11 Apr 2010 10:24:07 +0000 (12:24 +0200)]
s3: Fix a typo

10 years agos3: Make "auth_context" its own talloc parent
Volker Lendecke [Sun, 11 Apr 2010 10:20:24 +0000 (12:20 +0200)]
s3: Make "auth_context" its own talloc parent

Remove "mem_ctx" from "struct auth_context"

10 years agos3: Fix some nonempty lines
Volker Lendecke [Sun, 11 Apr 2010 09:50:55 +0000 (11:50 +0200)]
s3: Fix some nonempty lines

10 years agos4:samdb_server_site_dn - free unused DNs in the right way
Matthias Dieter Wallnöfer [Sun, 11 Apr 2010 10:56:50 +0000 (12:56 +0200)]
s4:samdb_server_site_dn - free unused DNs in the right way

10 years agos4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
Matthias Dieter Wallnöfer [Sun, 11 Apr 2010 09:33:45 +0000 (11:33 +0200)]
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages

10 years agos4:torture - "dbspeed" test
Matthias Dieter Wallnöfer [Sun, 11 Apr 2010 09:22:41 +0000 (11:22 +0200)]
s4:torture - "dbspeed" test

Calculate the leaks on base of the "tmp_ctx" not the torture context.

10 years agos4:torture - "dbspeed" test
Matthias Dieter Wallnöfer [Sun, 11 Apr 2010 09:21:19 +0000 (11:21 +0200)]
s4:torture - "dbspeed" test

Unify error handling.

10 years agos4:torture - "dbspeed" test
Matthias Dieter Wallnöfer [Sun, 11 Apr 2010 09:13:31 +0000 (11:13 +0200)]
s4:torture - "dbspeed" test

Add more "talloc_free"s where needed or useful.

10 years agos3: Cosmetics -- I could not spot where "chal" was initialized
Volker Lendecke [Sun, 11 Apr 2010 09:14:24 +0000 (11:14 +0200)]
s3: Cosmetics -- I could not spot where "chal" was initialized

10 years agos4:auth Remove event context from anonymous_session()
Andrew Bartlett [Fri, 9 Apr 2010 07:18:53 +0000 (17:18 +1000)]
s4:auth Remove event context from anonymous_session()

This should always return a simple structure with no need to consult a
DB, so remove the event context, and simplfy to call helper functions
that don't look at privilages.

Andrew Bartlett

10 years agos3: Use IS_DC macro in get_global_sam_name()
Volker Lendecke [Sat, 10 Apr 2010 20:52:06 +0000 (22:52 +0200)]
s3: Use IS_DC macro in get_global_sam_name()

Much as I dislike macros, this one is there. So why not use it...

10 years agos3: Remove domain selection from dual_pam_auth
Volker Lendecke [Sat, 10 Apr 2010 20:34:51 +0000 (22:34 +0200)]
s3: Remove domain selection from dual_pam_auth

We're in a child, the parent already has chosen the domain by
picking the right child to connect to.

Metze, you've done work on winbind lately, so it goes to you:

Please check :-)

10 years agosubunit: Don't abort when receiving test results from tests that weren't
Jelmer Vernooij [Sat, 10 Apr 2010 20:35:57 +0000 (22:35 +0200)]
subunit: Don't abort when receiving test results from tests that weren't
announced.

10 years agoselftest: Support passing --load-list to test runners.
Jelmer Vernooij [Sat, 10 Apr 2010 20:20:12 +0000 (22:20 +0200)]
selftest: Support passing --load-list to test runners.

10 years agotorture: Simplify torture suite running, call restricted test suite runner.
Jelmer Vernooij [Sat, 10 Apr 2010 19:24:33 +0000 (21:24 +0200)]
torture: Simplify torture suite running, call restricted test suite runner.

10 years agosmbtorture: Remove unused shell feature.
Jelmer Vernooij [Thu, 8 Apr 2010 23:59:01 +0000 (01:59 +0200)]
smbtorture: Remove unused shell feature.

10 years agosmbtorture: Support --load-list argument.
Jelmer Vernooij [Thu, 8 Apr 2010 23:58:28 +0000 (01:58 +0200)]
smbtorture: Support --load-list argument.

10 years agos4:registry - "patchfile_preg.c" - use more "sizeof"s on length specification
Matthias Dieter Wallnöfer [Sat, 10 Apr 2010 17:54:32 +0000 (19:54 +0200)]
s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specification

This makes the code more clear to read.

10 years agos4:registry - "patchfile_preg.c" - fix indentation
Matthias Dieter Wallnöfer [Sat, 10 Apr 2010 17:48:23 +0000 (19:48 +0200)]
s4:registry - "patchfile_preg.c" - fix indentation

10 years agos4:registry - "patchfile_preg.c" - fix a datatype
Matthias Dieter Wallnöfer [Sat, 10 Apr 2010 17:42:00 +0000 (19:42 +0200)]
s4:registry - "patchfile_preg.c" - fix a datatype

This should be an "uint16_t" (only two bytes are written).

10 years agolibwbclient: Fix a memleak in wbcGetDisplayName
Volker Lendecke [Sat, 10 Apr 2010 14:34:53 +0000 (16:34 +0200)]
libwbclient: Fix a memleak in wbcGetDisplayName

10 years agolibwbclient: Ensure correct 0-termination in wbcGetSidAliases
Volker Lendecke [Sat, 10 Apr 2010 14:59:27 +0000 (16:59 +0200)]
libwbclient: Ensure correct 0-termination in wbcGetSidAliases

10 years agos3: Check 0 termination in GETALIASES
Volker Lendecke [Sat, 10 Apr 2010 14:55:46 +0000 (16:55 +0200)]
s3: Check 0 termination in GETALIASES

10 years agos4:dsdb Don't use the permissive modify control on schemaInfo updates
Andrew Bartlett [Sat, 10 Apr 2010 10:39:45 +0000 (20:39 +1000)]
s4:dsdb Don't use the permissive modify control on schemaInfo updates

The use of 'replace' is enough to wipe out the old value, whatever it
is, we don't need to set 'permissive modify' too.

Additionally, this seems to be causing trouble for the OpenLDAP backend

Andrew Bartlett

10 years agos4:dsdb Don't return operational attributes on special DNs
Andrew Bartlett [Fri, 9 Apr 2010 09:07:12 +0000 (19:07 +1000)]
s4:dsdb Don't return operational attributes on special DNs

10 years agos4:rootdse Implement "tokenGroups" in the rootDSE
Andrew Bartlett [Fri, 9 Apr 2010 07:22:35 +0000 (17:22 +1000)]
s4:rootdse Implement "tokenGroups" in the rootDSE

This returns the currently connected user's full token.  This is very
useful for debugging, and should be used in ACL tests.

Andrew Bartlett

10 years agos4:dsdb Improve error message in extended_dn_in
Andrew Bartlett [Fri, 9 Apr 2010 07:21:21 +0000 (17:21 +1000)]
s4:dsdb Improve error message in extended_dn_in

This error occours when an extended DN cannot be resolved, so it's
most helpful to print the problematic extended DN.

Andrew Bartlett

10 years agos4:ldif_handlers tokenGroups are SIDs
Andrew Bartlett [Wed, 7 Apr 2010 04:03:29 +0000 (14:03 +1000)]
s4:ldif_handlers tokenGroups are SIDs

10 years agos4:rpc_server Fix segfault in modified SamLogon handling
Andrew Bartlett [Wed, 7 Apr 2010 00:42:16 +0000 (10:42 +1000)]
s4:rpc_server Fix segfault in modified SamLogon handling

10 years agos4:provision Don't make the 'slaptest' call produce errors
Andrew Bartlett [Mon, 5 Apr 2010 09:03:14 +0000 (19:03 +1000)]
s4:provision Don't make the 'slaptest' call produce errors

Adding -n 0 also allows us to check the error code too

Andrew Bartlett

10 years agos4:rpc_server Add all SIDs into the netlogon SamLogon reply
Andrew Bartlett [Tue, 30 Mar 2010 10:23:46 +0000 (21:23 +1100)]
s4:rpc_server Add all SIDs into the netlogon SamLogon reply

We were missing the SIDs that are not in the domain.

10 years agos4:schema Try to fix OpenLDAP backend after schema reload support.
Andrew Bartlett [Mon, 29 Mar 2010 10:16:18 +0000 (21:16 +1100)]
s4:schema Try to fix OpenLDAP backend after schema reload support.

If we can't get @REPLCHANGED, default to a value of 0.

Andrew Bartlett

10 years agos4:heimdal Create a new PAC when impersonating a user with S4U2Self
Andrew Bartlett [Mon, 29 Mar 2010 07:13:46 +0000 (18:13 +1100)]
s4:heimdal Create a new PAC when impersonating a user with S4U2Self

If we don't do this, the PAC is given for the machine accout, not the
account being impersonated.

Andrew Bartlett

10 years agos4:kdc Add functions to hdb-samba4 for the new s4u2self callback.
Andrew Bartlett [Sat, 27 Mar 2010 12:11:06 +0000 (23:11 +1100)]
s4:kdc Add functions to hdb-samba4 for the new s4u2self callback.

For now, this shares the 'if it's the same host' system with the
constrained delegation code.

Andrew Bartlett

10 years agos4:heimdal Add hooks to check with the DB before we allow s4u2self
Andrew Bartlett [Sat, 27 Mar 2010 12:09:31 +0000 (23:09 +1100)]
s4:heimdal Add hooks to check with the DB before we allow s4u2self

This allows us to resolve multiple forms of a name, allowing for
example machine$@REALM to get an S4U2Self ticket for
host/machine@REALM.

Andrew Bartlett

10 years agos4:credentials Add the functions needed to do S4U2Self with cli_credentials
Andrew Bartlett [Wed, 3 Mar 2010 02:24:52 +0000 (13:24 +1100)]
s4:credentials Add the functions needed to do S4U2Self with cli_credentials

A torture test to demonstrate will be added soon.

Andrew Bartlett

10 years agos4:credentials talloc_free() any previous salt_principal
Andrew Bartlett [Wed, 3 Mar 2010 00:34:04 +0000 (11:34 +1100)]
s4:credentials talloc_free() any previous salt_principal

This isn't used often, but it is generally better not to leak it onto
what may be a longer-term context.

Andrew Bartlett

10 years agos4:autogen-waf: generate 'Makefile' instead of 'makefile'
Stefan Metzmacher [Sat, 10 Apr 2010 08:58:27 +0000 (10:58 +0200)]
s4:autogen-waf: generate 'Makefile' instead of 'makefile'

This hopefully fixes the build on MacOS 10.

metze

10 years agos4:configure: generate Makefile from Makefile.in
Stefan Metzmacher [Sat, 10 Apr 2010 08:49:18 +0000 (10:49 +0200)]
s4:configure: generate Makefile from Makefile.in

This makes it possible for the waf build to also generate a 'Makefile'
instead of 'makefile'. On some platforms 'Makefile' is used before 'makefile'

metze

10 years agos4:heimdal_build/wscript_build: remove more network related stuff from HEIMDAL_ROKEN_H
Stefan Metzmacher [Sat, 10 Apr 2010 08:07:11 +0000 (10:07 +0200)]
s4:heimdal_build/wscript_build: remove more network related stuff from HEIMDAL_ROKEN_H

metze

10 years agos4:heimdal_build/wscript_build: use LIBREPLACE_H for asn1_compile and compile_et
Stefan Metzmacher [Sat, 10 Apr 2010 07:54:49 +0000 (09:54 +0200)]
s4:heimdal_build/wscript_build: use LIBREPLACE_H for asn1_compile and compile_et

metze

10 years agolib/replace: create a LIBREPLACE_H subsystem
Stefan Metzmacher [Sat, 10 Apr 2010 07:51:28 +0000 (09:51 +0200)]
lib/replace: create a LIBREPLACE_H subsystem

metze

10 years agoPlumb SMB2 stubs into all the places we defer SMB1 operations.
Jeremy Allison [Sat, 10 Apr 2010 02:26:34 +0000 (19:26 -0700)]
Plumb SMB2 stubs into all the places we defer SMB1 operations.

Rename functions to be internally consistent. Next step is
to cope queueing single (non-compounded) SMB2 requests to
put some code inside the stubs.

Jeremy.

10 years agos4:LDB - fix up "LDAPI" test
Matthias Dieter Wallnöfer [Fri, 9 Apr 2010 21:34:07 +0000 (23:34 +0200)]
s4:LDB - fix up "LDAPI" test

Set the "options" environment variable in a deterministic manner.

10 years agos4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
Günther Deschner [Fri, 9 Apr 2010 17:54:31 +0000 (19:54 +0200)]
s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.

Guenther

10 years agos4-smbtorture: make sure to check for result of spoolss_GetJob tests.
Günther Deschner [Fri, 9 Apr 2010 17:53:31 +0000 (19:53 +0200)]
s4-smbtorture: make sure to check for result of spoolss_GetJob tests.

This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.

Guenther

10 years agos3-spoolss: Fix two uninitialized vars in spoolss util code.
Günther Deschner [Fri, 9 Apr 2010 16:44:19 +0000 (18:44 +0200)]
s3-spoolss: Fix two uninitialized vars in spoolss util code.

Guenther

10 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 9 Apr 2010 16:33:25 +0000 (18:33 +0200)]
s3: re-run make samba3-idl.

Guenther

10 years agos4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
Günther Deschner [Fri, 9 Apr 2010 15:50:51 +0000 (17:50 +0200)]
s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.

Guenther

10 years agowinreg: move REG_OPTION_NON_VOLATILE out of option bitmask.
Günther Deschner [Fri, 9 Apr 2010 15:49:57 +0000 (17:49 +0200)]
winreg: move REG_OPTION_NON_VOLATILE out of option bitmask.

Guenther

10 years agowinreg: fill in IDL for winreg_QueryMultipleValues2.
Günther Deschner [Fri, 9 Apr 2010 15:28:04 +0000 (17:28 +0200)]
winreg: fill in IDL for winreg_QueryMultipleValues2.

Guenther

10 years agos3: add iconv_convenience handle to pull/push sz helpers.
Günther Deschner [Fri, 9 Apr 2010 14:47:45 +0000 (16:47 +0200)]
s3: add iconv_convenience handle to pull/push sz helpers.

Guenther

10 years agos3: Fix a typo
Volker Lendecke [Fri, 9 Apr 2010 14:49:02 +0000 (16:49 +0200)]
s3: Fix a typo

10 years agoselftest: make sure filter-subunit and format-subunit use unbuffered io
Stefan Metzmacher [Fri, 9 Apr 2010 14:27:39 +0000 (16:27 +0200)]
selftest: make sure filter-subunit and format-subunit use unbuffered io

metze

10 years agos4:selftest: mark some smb2.compound tests as knownfail
Stefan Metzmacher [Fri, 9 Apr 2010 13:58:32 +0000 (15:58 +0200)]
s4:selftest: mark some smb2.compound tests as knownfail

metze

10 years agoRPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8
Stefan Metzmacher [Fri, 9 Apr 2010 07:03:43 +0000 (09:03 +0200)]
RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8

The behavior between w2k3 and w2k8 differs:
- w2k3 just ignores alter_context requests which try to change
  an existing presentation context.
- w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport
  connection.

metze

10 years agos4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status
Stefan Metzmacher [Fri, 9 Apr 2010 07:02:48 +0000 (09:02 +0200)]
s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status

metze

10 years agos4:librpc/rpc: correctly initialize last_fault_code for bind and alter_context requests
Stefan Metzmacher [Fri, 9 Apr 2010 11:27:07 +0000 (13:27 +0200)]
s4:librpc/rpc: correctly initialize last_fault_code for bind and alter_context requests

metze

10 years agolibrpc/rpc: fix typo DERPC_ => DCERPC_
Stefan Metzmacher [Fri, 9 Apr 2010 11:25:59 +0000 (13:25 +0200)]
librpc/rpc: fix typo DERPC_ => DCERPC_

metze