samba.git
13 years agolib/util Remove #if _SAMBA_BUILD_ == 4 that isn't required any more
Andrew Bartlett [Thu, 17 Feb 2011 23:52:12 +0000 (10:52 +1100)]
lib/util Remove #if _SAMBA_BUILD_ == 4 that isn't required any more

13 years agolib/util/charset Use top level iconv.c in source3
Andrew Bartlett [Thu, 17 Feb 2011 23:24:58 +0000 (10:24 +1100)]
lib/util/charset Use top level iconv.c in source3

The two files were very similar already, the only change required was
to adopt the s3 module registration fucntion name.

(NTSTATUS wasn't used as the charset code does not otherwise use that
type).

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
13 years agos4-idl: rename s4 server_id.idl to server_id4.idl
Andrew Tridgell [Thu, 17 Feb 2011 23:10:30 +0000 (10:10 +1100)]
s4-idl: rename s4 server_id.idl to server_id4.idl

this avoids a conflict with the new s3 server_id.idl

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agolibrpc make ndr-standard a common library
Andrew Bartlett [Thu, 17 Feb 2011 05:29:28 +0000 (16:29 +1100)]
librpc make ndr-standard a common library

13 years agolibrpc push NDR_SECURITY and NDR_DCERPC to the top level wscript files
Andrew Bartlett [Thu, 17 Feb 2011 05:19:45 +0000 (16:19 +1100)]
librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript files

There isn't any reson to keep these private to source3 and source4 and
more, and doing so creates problems for the top level build.

Andrew Bartlett

13 years agonsswitch: depend on dl
Andrew Tridgell [Thu, 17 Feb 2011 03:13:42 +0000 (14:13 +1100)]
nsswitch: depend on dl

The previous merge in this area didn't preserve the 'dl' depedency,
which may be required on some platforms.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agocharset Remove use of {isupper,islower,toupper,tolower}_w functions
Andrew Bartlett [Wed, 16 Feb 2011 05:30:56 +0000 (16:30 +1100)]
charset Remove use of {isupper,islower,toupper,tolower}_w functions

These now call the common _m functions that consider UTF16 code points.

This removes the code which will make up a 'lame' table in memory, as
this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128).

When used, a top level waf build will always locate the correct table
- in the build tree or outside - due to relinking the installed
binary.

Andrew Bartlett

13 years agos3-libads Remove MIT-specific krb5_princ_realm macro calls.
Andrew Bartlett [Tue, 15 Feb 2011 05:34:02 +0000 (16:34 +1100)]
s3-libads Remove MIT-specific krb5_princ_realm macro calls.

When compiled against heimdal, we need to use a more elegant API.

Andrew Bartlett

13 years agos3-waf use lib/util/wscript_build, and avoid duplicate subsystems
Andrew Bartlett [Fri, 18 Feb 2011 05:04:30 +0000 (16:04 +1100)]
s3-waf use lib/util/wscript_build, and avoid duplicate subsystems

13 years agolib/util Make UTIL_LDB conditional on an s4 build
Andrew Bartlett [Thu, 17 Feb 2011 05:39:07 +0000 (16:39 +1100)]
lib/util Make UTIL_LDB conditional on an s4 build

This allows this file to be used in common.

13 years agos3-waf: use SAMBA3_*() build rules in source3/build
Andrew Tridgell [Wed, 9 Feb 2011 04:56:20 +0000 (15:56 +1100)]
s3-waf: use SAMBA3_*() build rules in source3/build

this brings the s3 waf build much closer to the proposed s3build top
level build, using the same bld.SAMBA3_*() rules

There are a few renames of subsystems in here, with a 3 suffix where
it would create a conflict.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: put links for libs in the right directory
Andrew Tridgell [Thu, 17 Feb 2011 23:52:48 +0000 (10:52 +1100)]
build: put links for libs in the right directory

when a library is declared as libdir/libname, still put the symlink in
bin/shared

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Feb 18 06:03:57 CET 2011 on sn-devel-104

13 years agos4-util: removed the valgrind_strlen() routine
Andrew Tridgell [Thu, 17 Feb 2011 23:44:46 +0000 (10:44 +1100)]
s4-util: removed the valgrind_strlen() routine

this was for a bug in valgrind from 7 years ago.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agolibutil: make waf rules usable by s3 waf build
Andrew Tridgell [Thu, 17 Feb 2011 04:42:10 +0000 (15:42 +1100)]
libutil: make waf rules usable by s3 waf build

we need samba-util to be s4 only for now, because of the debug system
differences

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agowaf: improved error message for bad paths in SAMBA_LIBRARY()
Andrew Tridgell [Thu, 17 Feb 2011 04:14:57 +0000 (15:14 +1100)]
waf: improved error message for bad paths in SAMBA_LIBRARY()

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agowaf: support building libraries with a directory prefix
Andrew Tridgell [Thu, 17 Feb 2011 03:42:19 +0000 (14:42 +1100)]
waf: support building libraries with a directory prefix

SAMBA_LIBRARY('libsmb/smbclient') can now be built, which
distinguishes it from the binary 'smbclient'

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos3-waf: fixed the include paths for samba public libraries
Andrew Tridgell [Thu, 17 Feb 2011 03:15:31 +0000 (14:15 +1100)]
s3-waf: fixed the include paths for samba public libraries

this fixes the extra global includes for the s3 waf build to be
conditional on whether talloc, tevent and tdb are system libraries or
not.

This fixes a problem where in-tree includes could be used with system
libraries

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agocharset: allow s3 waf build to use lib/util/charset
Andrew Tridgell [Thu, 17 Feb 2011 03:12:36 +0000 (14:12 +1100)]
charset: allow s3 waf build to use lib/util/charset

the only conflict is with 'CHARSET' itself, which now builds
conditionally on _SAMBA_BUILD_==4

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agowaf: added SAMBA3_*() build rules to samba3.py
Andrew Tridgell [Thu, 17 Feb 2011 03:11:33 +0000 (14:11 +1100)]
waf: added SAMBA3_*() build rules to samba3.py

these provide samba build rule wrappers for Samba3 specific subsystems

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agowaf: give a more sensible error on symlink_bin with missing directory
Andrew Tridgell [Thu, 17 Feb 2011 03:03:13 +0000 (14:03 +1100)]
waf: give a more sensible error on symlink_bin with missing directory

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agolib/util/charset use get_dyn_CODEPAGEDIR(), which is in common
Andrew Bartlett [Wed, 16 Feb 2011 05:44:41 +0000 (16:44 +1100)]
lib/util/charset use get_dyn_CODEPAGEDIR(), which is in common

This is provided by the s3 and s4 dynconfig implementations.

Andrew Bartlett

13 years agolib/util/charset split codepoints.c into it's own subsystem
Andrew Bartlett [Wed, 16 Feb 2011 05:26:05 +0000 (16:26 +1100)]
lib/util/charset split codepoints.c into it's own subsystem

13 years agolib/util/charset use a path to dynconfig.h that works in s3 and s4
Andrew Bartlett [Wed, 16 Feb 2011 05:25:39 +0000 (16:25 +1100)]
lib/util/charset use a path to dynconfig.h that works in s3 and s4

13 years agolib/util/charset add functions isupper_m and islower_m
Andrew Bartlett [Wed, 16 Feb 2011 05:24:12 +0000 (16:24 +1100)]
lib/util/charset add functions isupper_m and islower_m

13 years agos4-auth: rename 'auth' subsystem to 'auth4'
Andrew Tridgell [Tue, 15 Feb 2011 05:30:35 +0000 (16:30 +1100)]
s4-auth: rename 'auth' subsystem to 'auth4'

this prevents conflicts with the s3 auth modules. The auth modules in
samba3 may appear in production smb.conf files, so it is preferable to
rename the s4 modules for minimal disruption.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: remember the flags used for undefined variable errors
Andrew Tridgell [Tue, 15 Feb 2011 05:29:13 +0000 (16:29 +1100)]
build: remember the flags used for undefined variable errors

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos3build: added NMBDSOCKETDIR to dynconfig
Andrew Tridgell [Tue, 15 Feb 2011 05:28:05 +0000 (16:28 +1100)]
s3build: added NMBDSOCKETDIR to dynconfig

this is needed for the s3 top level build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-dsdb: operational module does not need auth any more
Andrew Tridgell [Tue, 15 Feb 2011 05:27:26 +0000 (16:27 +1100)]
s4-dsdb: operational module does not need auth any more

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos3-includes: force _SAMBA_BUILD_=3 in source3 includes.h
Andrew Tridgell [Tue, 15 Feb 2011 05:19:46 +0000 (16:19 +1100)]
s3-includes: force _SAMBA_BUILD_=3 in source3 includes.h

this allows a common set of cflags for a top level combined build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agouid-wrapper: handle uwrap_enabled() as a macro
Andrew Tridgell [Tue, 15 Feb 2011 05:18:58 +0000 (16:18 +1100)]
uid-wrapper: handle uwrap_enabled() as a macro

some s3 code defines uwrap_enabled() as a macro. Detect this, and
don't redeclare the functions

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: fixed passing of includes= for modules
Andrew Tridgell [Tue, 15 Feb 2011 05:17:30 +0000 (16:17 +1100)]
build: fixed passing of includes= for modules

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: added subdir option for module building
Andrew Tridgell [Tue, 15 Feb 2011 05:16:54 +0000 (16:16 +1100)]
build: added subdir option for module building

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: added allow_undefined_symbols options for libraries and modules
Andrew Tridgell [Tue, 15 Feb 2011 05:15:15 +0000 (16:15 +1100)]
build: added allow_undefined_symbols options for libraries and modules

the s4 build uses linker flags to disallow undefined symbols in
libraries. To accomodate s3 libraries in the top level build we need
to be able to disable this on a per-library basis.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: make ADD_LDFLAGS() returns the flags that were added
Andrew Tridgell [Tue, 15 Feb 2011 05:13:51 +0000 (16:13 +1100)]
build: make ADD_LDFLAGS() returns the flags that were added

this will be used by the s3 top level build to work out how to undo
the effects of -Wl,-no-undefined

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agowaf: library_flags() doesn't only operate on conf objects
Andrew Tridgell [Tue, 15 Feb 2011 05:13:05 +0000 (16:13 +1100)]
waf: library_flags() doesn't only operate on conf objects

use a better name for the first argument

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos3-build: allow waf build of s3 IDL files from any top directory
Andrew Tridgell [Wed, 9 Feb 2011 06:06:40 +0000 (17:06 +1100)]
s3-build: allow waf build of s3 IDL files from any top directory

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agowaf: added subdir= option in SAMBA_*() rules
Andrew Tridgell [Wed, 9 Feb 2011 04:55:18 +0000 (15:55 +1100)]
waf: added subdir= option in SAMBA_*() rules

this allows you to prepend a subdirectory to the source rules, after
variable substitution. This is useful for the s3 waf build when it is
in s3build/

13 years agowaf: use Utils.WafError() instead of sys.exit(1)
Andrew Tridgell [Wed, 9 Feb 2011 04:54:07 +0000 (15:54 +1100)]
waf: use Utils.WafError() instead of sys.exit(1)

better to raise an expection than just exiting

13 years agotevent: Fix a comment
Volker Lendecke [Thu, 17 Feb 2011 15:45:46 +0000 (16:45 +0100)]
tevent: Fix a comment

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 17 18:16:18 CET 2011 on sn-devel-104

13 years agos4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.
Günther Deschner [Thu, 17 Feb 2011 14:24:00 +0000 (15:24 +0100)]
s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 16:46:28 CET 2011 on sn-devel-104

13 years agos3-lsa: support trust objects in _lsa_QuerySecurity().
Günther Deschner [Thu, 1 Jul 2010 20:33:17 +0000 (22:33 +0200)]
s3-lsa: support trust objects in _lsa_QuerySecurity().

Guenther

13 years agos3-lsa: in _lsa_QuerySecurity() query the sd from the lsa policy handle.
Günther Deschner [Thu, 29 Oct 2009 23:05:32 +0000 (00:05 +0100)]
s3-lsa: in _lsa_QuerySecurity() query the sd from the lsa policy handle.

Guenther

13 years agos3-lsa: only proceed in _lsa_EnumTrustedDomainsEx when backend has trusted domain...
Günther Deschner [Thu, 17 Feb 2011 13:37:32 +0000 (14:37 +0100)]
s3-lsa: only proceed in _lsa_EnumTrustedDomainsEx when backend has trusted domain support.

Guenther

13 years agos3-passdb: add PDB_CAP_TRUSTED_DOMAINS_EX.
Günther Deschner [Thu, 17 Feb 2011 13:20:19 +0000 (14:20 +0100)]
s3-passdb: add PDB_CAP_TRUSTED_DOMAINS_EX.

Guenther

13 years agos3-cluster remove more CLUSTER_SUPPORT #ifdef stuff
Andrew Bartlett [Wed, 16 Feb 2011 05:45:18 +0000 (16:45 +1100)]
s3-cluster remove more CLUSTER_SUPPORT #ifdef stuff

13 years agos3-cluster Always fill in the clustering vnn element
Andrew Bartlett [Wed, 16 Feb 2011 04:13:53 +0000 (15:13 +1100)]
s3-cluster Always fill in the clustering vnn element

This avoids this structure being partially uninitialised.

Adnrew Bartlett

13 years agos3: add server_id.idl and use only autogenerated code.
Günther Deschner [Tue, 15 Feb 2011 23:39:55 +0000 (00:39 +0100)]
s3: add server_id.idl and use only autogenerated code.

Volker, Tridge and other clustering gurus, please check.

It is ok to get rid of ifdef CLUSTER_SUPPORT here, right ?
Why was unique_id not marshalled at all ?

Guenther

13 years agos4:scripting/python/modules.c - remove a really unnecessary variable
Matthias Dieter Wallnöfer [Thu, 17 Feb 2011 13:47:10 +0000 (14:47 +0100)]
s4:scripting/python/modules.c - remove a really unnecessary variable

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104

13 years agos3-waf: add check for "struct sigevent" and some of its members.
Günther Deschner [Thu, 17 Feb 2011 09:59:44 +0000 (10:59 +0100)]
s3-waf: add check for "struct sigevent" and some of its members.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104

13 years agos3-waf: add check for "struct utimbuf".
Günther Deschner [Thu, 17 Feb 2011 09:53:25 +0000 (10:53 +0100)]
s3-waf: add check for "struct utimbuf".

Guenther

13 years agos3: increase the log level for missing PIDs on SIGCHLD
David Disseldorp [Wed, 16 Feb 2011 16:23:25 +0000 (17:23 +0100)]
s3: increase the log level for missing PIDs on SIGCHLD

Since the fix for bso#7836, the parent smbd is responsible for
maintaining an up-to-date printcap cache. It does this by forking a
child process to asynchronously fetch printcap data from CUPS.

When the child process exits after fetching all printcap data, the
parent smbd is sent SIGCHLD. This triggers smbd_sig_chld_handler() which
looks for the exited process PID on a "children" list.
Child smbd process PIDs are added to the "children" list to ensure
cleanup on unclean shutdown and log level change notification messages.

Printcap update process PIDs are not added to the list as they do not
maintain any state that requires cleanup, nor do they wait on tevent for
messages.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 17 11:11:45 CET 2011 on sn-devel-104

13 years agoheimdal Pass F_CANON down to the hdb layer for servers in AS-REP as well
Andrew Bartlett [Thu, 17 Feb 2011 00:52:46 +0000 (11:52 +1100)]
heimdal Pass F_CANON down to the hdb layer for servers in AS-REP as well

This fixes Win2003 domain logons against Samba4, which need a
canonicalised reply, and helpfully do set that flag.

Specifically, they need that realm in krbtgt/realm@realm that these
both match exactly in the reply.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Feb 17 06:40:53 CET 2011 on sn-devel-104

13 years agoAdd support for testing a Win2k3 domain member
Andrew Bartlett [Thu, 17 Feb 2011 00:21:41 +0000 (11:21 +1100)]
Add support for testing a Win2k3 domain member

13 years agowintest upper case the --vms paramter arguments to wintest.py
Andrew Bartlett [Thu, 17 Feb 2011 00:21:12 +0000 (11:21 +1100)]
wintest upper case the --vms paramter arguments to wintest.py

This makes it easier to specify

13 years agos3-selftest: make sure we really use --format=subunit when calling smbtorture4.
Günther Deschner [Thu, 17 Feb 2011 00:12:04 +0000 (01:12 +0100)]
s3-selftest: make sure we really use --format=subunit when calling smbtorture4.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 02:01:56 CET 2011 on sn-devel-104

13 years agos4-build: added LOCALEDIR config option
Andrew Tridgell [Wed, 9 Feb 2011 04:56:56 +0000 (15:56 +1100)]
s4-build: added LOCALEDIR config option

s3 needs dyn_LOCALEDIR

13 years agos3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
Andrew Tridgell [Tue, 15 Feb 2011 05:31:35 +0000 (16:31 +1100)]
s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace

this needs to be in souce3/, as otherwise it can't handle an in-tree
kerberos library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agoidl: naming a structure 'VERSION' is not a good idea!
Andrew Tridgell [Tue, 15 Feb 2011 06:50:22 +0000 (17:50 +1100)]
idl: naming a structure 'VERSION' is not a good idea!

this renames it to ntlmssp_VERSION

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agolibndr: remove prototype for nonexisting function ndr_print_ipv4_addr().
Günther Deschner [Tue, 15 Feb 2011 23:43:30 +0000 (00:43 +0100)]
libndr: remove prototype for nonexisting function ndr_print_ipv4_addr().

Guenther

13 years agos3-waf: move libsmb/clikrb5.c and libads/kerberos.c into KRBCLIENT.
Günther Deschner [Wed, 16 Feb 2011 23:49:11 +0000 (00:49 +0100)]
s3-waf: move libsmb/clikrb5.c and libads/kerberos.c into KRBCLIENT.

This avoids two duplicates...

Guenther

13 years agonsswitch: make wb_reqtrans a common subsystem.
Günther Deschner [Wed, 16 Feb 2011 23:43:05 +0000 (00:43 +0100)]
nsswitch: make wb_reqtrans a common subsystem.

Guenther

13 years agos3-waf: make most of the nsswitch common.
Günther Deschner [Wed, 16 Feb 2011 23:11:18 +0000 (00:11 +0100)]
s3-waf: make most of the nsswitch common.

Guenther

13 years agos4-waf: move wbinfo buildrule to winbind.
Günther Deschner [Wed, 16 Feb 2011 22:53:25 +0000 (23:53 +0100)]
s4-waf: move wbinfo buildrule to winbind.

Will be moved back later, once we have a more common samba-util.so

Guenther

13 years agos3-waf: add check for struct stat st_flags member.
Günther Deschner [Wed, 16 Feb 2011 21:15:20 +0000 (22:15 +0100)]
s3-waf: add check for struct stat st_flags member.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104

13 years agos3-waf: add some missing checks for macosx.
Günther Deschner [Wed, 16 Feb 2011 20:58:47 +0000 (21:58 +0100)]
s3-waf: add some missing checks for macosx.

Guenther

13 years agos3-waf: add check for __NR_inotify_init declaration.
Günther Deschner [Wed, 16 Feb 2011 17:38:19 +0000 (18:38 +0100)]
s3-waf: add check for __NR_inotify_init declaration.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104

13 years agos3-waf: add check for various sysconf() variables.
Günther Deschner [Wed, 16 Feb 2011 17:29:33 +0000 (18:29 +0100)]
s3-waf: add check for various sysconf() variables.

Guenther

13 years agos3-waf: add check for posix_fadvise().
Günther Deschner [Wed, 16 Feb 2011 16:55:26 +0000 (17:55 +0100)]
s3-waf: add check for posix_fadvise().

Guenther

13 years agos3-waf: add check for hires timestamps in struct stat.
Günther Deschner [Wed, 16 Feb 2011 16:33:05 +0000 (17:33 +0100)]
s3-waf: add check for hires timestamps in struct stat.

Guenther

13 years agos3-waf: add check for "struct flock64".
Günther Deschner [Wed, 16 Feb 2011 16:03:24 +0000 (17:03 +0100)]
s3-waf: add check for "struct flock64".

Guenther

13 years agos3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.
Günther Deschner [Wed, 16 Feb 2011 15:52:45 +0000 (16:52 +0100)]
s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.

Guenther

13 years agos3-waf: add check for fcntl locking.
Günther Deschner [Wed, 16 Feb 2011 15:51:14 +0000 (16:51 +0100)]
s3-waf: add check for fcntl locking.

Guenther

13 years agos3-waf: add check for "struct dirent64".
Günther Deschner [Wed, 16 Feb 2011 15:42:33 +0000 (16:42 +0100)]
s3-waf: add check for "struct dirent64".

Guenther

13 years agos3:test: run the net.rpc.registry test under "dc" not "dc:local"
Michael Adam [Wed, 16 Feb 2011 13:48:16 +0000 (14:48 +0100)]
s3:test: run the net.rpc.registry test under "dc" not "dc:local"

There is no need to run it on the rpc server, but it should
be run from a remote host.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 16:05:58 CET 2011 on sn-devel-104

13 years agos3:test: remove the give/take admin rights code from the net(rpc)registry test
Michael Adam [Wed, 16 Feb 2011 13:47:02 +0000 (14:47 +0100)]
s3:test: remove the give/take admin rights code from the net(rpc)registry test

This is not neede any more.
The token has been fixed at the lower level on the dc.

13 years agos3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparm
Michael Adam [Wed, 16 Feb 2011 13:43:41 +0000 (14:43 +0100)]
s3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparm

13 years agos3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> samba3.blackbox.net...
Michael Adam [Wed, 16 Feb 2011 13:39:26 +0000 (14:39 +0100)]
s3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> samba3.blackbox.net.local.registry.roundtrip

13 years agos3:test: rename samba3.blackbox.net_s3_registry_rpc -> samba3.blackbox.net.rpc.registry
Michael Adam [Wed, 16 Feb 2011 13:37:05 +0000 (14:37 +0100)]
s3:test: rename samba3.blackbox.net_s3_registry_rpc -> samba3.blackbox.net.rpc.registry

13 years agos3:test: rename samba3.blackbox.net_s3_registry -> samba3.blackbox.net.local.registry
Michael Adam [Wed, 16 Feb 2011 13:37:05 +0000 (14:37 +0100)]
s3:test: rename samba3.blackbox.net_s3_registry -> samba3.blackbox.net.local.registry

13 years agos3:test: rename samba3.blackbox.net_s3_misc --> samba3.blackbox.net.misc
Michael Adam [Wed, 16 Feb 2011 13:35:53 +0000 (14:35 +0100)]
s3:test: rename samba3.blackbox.net_s3_misc --> samba3.blackbox.net.misc

13 years agos3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).
Günther Deschner [Wed, 16 Feb 2011 13:31:30 +0000 (14:31 +0100)]
s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 15:20:14 CET 2011 on sn-devel-104

13 years agos3:test: mark the net_registry_roundtrip test as knownfail
Michael Adam [Wed, 16 Feb 2011 11:38:26 +0000 (12:38 +0100)]
s3:test: mark the net_registry_roundtrip test as knownfail

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 13:45:09 CET 2011 on sn-devel-104

13 years agos3:test: add the registry roundtrip test as samba3.blackbox.net_s3_registry_roundtrip
Michael Adam [Wed, 16 Feb 2011 10:54:58 +0000 (11:54 +0100)]
s3:test: add the registry roundtrip test as samba3.blackbox.net_s3_registry_roundtrip

13 years agos3:test: move the registry roundtrip test to a test script of its own
Michael Adam [Wed, 16 Feb 2011 10:52:39 +0000 (11:52 +0100)]
s3:test: move the registry roundtrip test to a test script of its own

13 years agos3:test: add comment header to test_net_registry.sh
Michael Adam [Wed, 16 Feb 2011 10:50:57 +0000 (11:50 +0100)]
s3:test: add comment header to test_net_registry.sh

13 years agos3:test: use the blackbox subunit test driver in the net_registry tests.
Michael Adam [Tue, 15 Feb 2011 21:54:06 +0000 (22:54 +0100)]
s3:test: use the blackbox subunit test driver in the net_registry tests.

13 years agos3:test: use the blackbox subunit test driver in the net_misc tests.
Michael Adam [Tue, 15 Feb 2011 21:54:06 +0000 (22:54 +0100)]
s3:test: use the blackbox subunit test driver in the net_misc tests.

13 years agos3:test: add the "blackbox.failure" test to the knownfail tests
Michael Adam [Wed, 16 Feb 2011 10:53:24 +0000 (11:53 +0100)]
s3:test: add the "blackbox.failure" test to the knownfail tests

This is designed to fail. Its purpose is to test our test infrastructure.

13 years agos3:test: add the failure blackbox test as samba3.blackbox.failure
Michael Adam [Tue, 15 Feb 2011 21:53:01 +0000 (22:53 +0100)]
s3:test: add the failure blackbox test as samba3.blackbox.failure

13 years agos3:test: add a simple failing blackbox testsuite
Michael Adam [Tue, 15 Feb 2011 15:08:49 +0000 (16:08 +0100)]
s3:test: add a simple failing blackbox testsuite

13 years agos3:test: add the success blackbox test as samba3.blackbox.success
Michael Adam [Tue, 15 Feb 2011 15:05:45 +0000 (16:05 +0100)]
s3:test: add the success blackbox test as samba3.blackbox.success

13 years agos3:test: add a simple blackbox test that succeeds.
Michael Adam [Tue, 15 Feb 2011 15:05:06 +0000 (16:05 +0100)]
s3:test: add a simple blackbox test that succeeds.

13 years agotestprogs/blackbox/subunit: add testok() for easier integration of s3 tests.
Michael Adam [Tue, 15 Feb 2011 15:03:58 +0000 (16:03 +0100)]
testprogs/blackbox/subunit: add testok() for easier integration of s3 tests.

13 years agos3:net: fix usage for "net rpc registry export"
Michael Adam [Wed, 16 Feb 2011 10:45:52 +0000 (11:45 +0100)]
s3:net: fix usage for "net rpc registry export"

13 years agos3-ipasam: Add aliases for trusted domain user
Sumit Bose [Tue, 7 Sep 2010 12:30:34 +0000 (14:30 +0200)]
s3-ipasam: Add aliases for trusted domain user

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 12:58:13 CET 2011 on sn-devel-104

13 years agos3-netlogon: Implement NetrServerGetTrustInfo and NetrGetForestTrustInformation
Sumit Bose [Fri, 3 Sep 2010 09:56:31 +0000 (11:56 +0200)]
s3-netlogon: Implement NetrServerGetTrustInfo and NetrGetForestTrustInformation

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ldap: Add sambaTrustForestTrustInfo to LDAP schemata
Sumit Bose [Thu, 2 Sep 2010 16:22:16 +0000 (18:22 +0200)]
s3-ldap: Add sambaTrustForestTrustInfo to LDAP schemata

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: Implement lsaRSetForestTrustInformation
Sumit Bose [Thu, 2 Sep 2010 16:13:38 +0000 (18:13 +0200)]
s3-lsa: Implement lsaRSetForestTrustInformation

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.
Sumit Bose [Thu, 2 Sep 2010 16:11:47 +0000 (18:11 +0200)]
s4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: add IPA specific attributes
Sumit Bose [Fri, 3 Sep 2010 07:39:45 +0000 (09:39 +0200)]
s3-ipasam: add IPA specific attributes

Signed-off-by: Günther Deschner <gd@samba.org>