Stefan Metzmacher [Wed, 25 Aug 2010 09:16:52 +0000 (11:16 +0200)]
Revert "pidl hacks"
This reverts commit
4d017f0f965a5bba760f2039bf0920bc9b609c72.
Stefan Metzmacher [Wed, 25 Aug 2010 09:01:01 +0000 (11:01 +0200)]
pidl hacks
Stefan Metzmacher [Fri, 20 Aug 2010 16:20:50 +0000 (18:20 +0200)]
Revert "DOESN't work s3:smbd: detect w2k8 and win7 clients"
This reverts commit
e6bedad0bea0c27e9f431f0b521722d15f1d52ec.
Stefan Metzmacher [Fri, 20 Aug 2010 16:20:03 +0000 (18:20 +0200)]
Revert "remote arch doesn't work"
This reverts commit
676aeddb5a5cea5794953960c3cd51f18a30a975.
Stefan Metzmacher [Fri, 20 Aug 2010 16:08:00 +0000 (18:08 +0200)]
remote arch doesn't work
Stefan Metzmacher [Fri, 20 Aug 2010 10:47:01 +0000 (12:47 +0200)]
DOESN't work s3:smbd: detect w2k8 and win7 clients
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:12:16 +0000 (11:12 +0200)]
pidl:Samba4/NDR/Client: support argument based stubs for [in,out,string]
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:02:52 +0000 (11:02 +0200)]
pidl:NDR: [in,out,string] doesn't need to pointers
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:25:03 +0000 (11:25 +0200)]
librpc/gen_ndr
Stefan Metzmacher [Wed, 25 Aug 2010 09:07:29 +0000 (11:07 +0200)]
pidl:Samba4/NDR/Client: correctly copy [out,charset()] buffers
If the conversion from CH_UTF16 to CH_UNIX uses multi-byte characters
in CH_UNIX, we should not silently truncate the string, but return
an error.
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:21:48 +0000 (11:21 +0200)]
librpc/gen_ndr
Stefan Metzmacher [Wed, 25 Aug 2010 08:07:54 +0000 (10:07 +0200)]
pidl:Samba3/ClientNDR: remove unused ParseOutputArgument function
metze
Stefan Metzmacher [Wed, 25 Aug 2010 09:13:08 +0000 (11:13 +0200)]
pidl:Samba4/NDR/Client: fix skip reason for unsized arrays
metze
Stefan Metzmacher [Wed, 25 Aug 2010 08:05:15 +0000 (10:05 +0200)]
librpc/ndr: correctly implement ndr_charset_length()
Before we ignored the charset type.
metze
Jelmer Vernooij [Thu, 26 Aug 2010 01:50:08 +0000 (03:50 +0200)]
subunit: Make sure "]" in failure reason ends up on its own line, so the
next subunit parser in the line parses it correctly.
Jelmer Vernooij [Thu, 26 Aug 2010 01:49:17 +0000 (03:49 +0200)]
manpages: Avoid using Samba-Team specific DTD, which requires net access
or modification of /etc/catalogs.
Jelmer Vernooij [Thu, 26 Aug 2010 00:25:44 +0000 (02:25 +0200)]
subunithelper: Pass along lines as normal output when ignoring them for not containing commands.
Günther Deschner [Fri, 20 Aug 2010 10:15:13 +0000 (12:15 +0200)]
s3-build: only include rpc_misc.h where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 17:05:59 +0000 (19:05 +0200)]
s3-build: use talloc_dict.h only where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:59:23 +0000 (18:59 +0200)]
s3-build: use dbwrap.h only where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:45:36 +0000 (18:45 +0200)]
s3-build: only include krb5 environment variables where required.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:36:18 +0000 (18:36 +0200)]
s3-build: only include libnscd.h where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:34:01 +0000 (18:34 +0200)]
s3-build: include mangle.h only where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:26:17 +0000 (18:26 +0200)]
s3-dcerpc: only include rpc_dce.h where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:25:54 +0000 (18:25 +0200)]
s3-build: remove unrequired ntlmssp forward declaration.
Guenther
Günther Deschner [Wed, 18 Aug 2010 16:13:42 +0000 (18:13 +0200)]
s3-idmap: only include idmap headers where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 14:51:06 +0000 (16:51 +0200)]
s3-build: no point in including doserr.h, noone uses them.
Guenther
Günther Deschner [Wed, 18 Aug 2010 14:44:47 +0000 (16:44 +0200)]
s3-build: only include "fake_file.h" where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 13:22:09 +0000 (15:22 +0200)]
s3-nmbd: move nmbd proto out of main proto.h
Guenther
Günther Deschner [Wed, 18 Aug 2010 10:42:49 +0000 (12:42 +0200)]
s3-build: only include nsswitch header where needed.
Guenther
Günther Deschner [Wed, 18 Aug 2010 10:26:53 +0000 (12:26 +0200)]
s3-build: remove unrequired forward declaration for struct printjob.
Guenther
Günther Deschner [Wed, 18 Aug 2010 10:24:35 +0000 (12:24 +0200)]
s3-build: only include memcache.h where needed.
Guenther
Günther Deschner [Wed, 25 Aug 2010 22:13:55 +0000 (00:13 +0200)]
s3-build: further rationalise LIBMSRPC_OBJ and remove RPC_CLIENT_OBJ.
Guenther
Günther Deschner [Wed, 25 Aug 2010 22:13:00 +0000 (00:13 +0200)]
s3-waf: further rationalise LIBMSRPC_SRC and remove RPC_CLIENT_SRC.
Guenther
Günther Deschner [Wed, 25 Aug 2010 22:05:34 +0000 (00:05 +0200)]
s3-build: remove RPC_CLIENT_OBJ1.
Guenther
Günther Deschner [Wed, 25 Aug 2010 22:05:16 +0000 (00:05 +0200)]
s3-waf: remove RPC_CLIENT_SRC1.
Guenther
Günther Deschner [Wed, 25 Aug 2010 22:03:42 +0000 (00:03 +0200)]
s3-build: use LIBMSRPC_OBJ instead of single files.
Guenther
Günther Deschner [Wed, 25 Aug 2010 22:03:15 +0000 (00:03 +0200)]
s3-waf: use LIBMSRPC_SRC instead of single files.
Guenther
Günther Deschner [Thu, 19 Aug 2010 22:11:33 +0000 (00:11 +0200)]
s3-waf: only link in samr util code where needed.
Guenther
Günther Deschner [Thu, 19 Aug 2010 22:10:14 +0000 (00:10 +0200)]
s3-build: only link in samr util code where needed.
Guenther
Günther Deschner [Thu, 19 Aug 2010 14:18:10 +0000 (16:18 +0200)]
s3-build: remove RPC_PARSE_OBJ.
Guenther
Günther Deschner [Thu, 19 Aug 2010 14:25:55 +0000 (16:25 +0200)]
s3-waf: remove RPC_PARSE_SRC.
Guenther
Günther Deschner [Wed, 25 Aug 2010 21:53:24 +0000 (23:53 +0200)]
s3-build: only link in epmapper client code where needed.
Guenther
Günther Deschner [Mon, 16 Aug 2010 22:59:23 +0000 (00:59 +0200)]
s3-waf: only link in epmapper client code where needed.
Guenther
Günther Deschner [Wed, 25 Aug 2010 21:15:52 +0000 (23:15 +0200)]
s3-build: only link in netlogon client code where needed.
Guenther
Günther Deschner [Wed, 25 Aug 2010 21:14:33 +0000 (23:14 +0200)]
s3-waf: only link in netlogon client code where needed.
Guenther
Günther Deschner [Mon, 16 Aug 2010 22:46:25 +0000 (00:46 +0200)]
s3: separate out cli schannel functions that depend on cli_netlogon.
Guenther
Günther Deschner [Fri, 13 Aug 2010 10:32:53 +0000 (12:32 +0200)]
s3-build: only link in samr client code where needed.
Guenther
Günther Deschner [Fri, 13 Aug 2010 10:27:20 +0000 (12:27 +0200)]
s3-waf: only link in samr client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 17:13:16 +0000 (19:13 +0200)]
s3-build: only link in lsa client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 17:06:57 +0000 (19:06 +0200)]
s3-waf: only link in lsa client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:58:49 +0000 (18:58 +0200)]
s3-build: only link in srvsvc client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:52:23 +0000 (18:52 +0200)]
s3-waf: only link in srvsvc client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:47:51 +0000 (18:47 +0200)]
s3-build: only link in wkssvc client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:47:38 +0000 (18:47 +0200)]
s3-waf: only link in wkssvc client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:42:06 +0000 (18:42 +0200)]
s3-build: only link in svcctl client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:41:45 +0000 (18:41 +0200)]
s3-waf: only link in svcctl client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:36:16 +0000 (18:36 +0200)]
s3-build: only link in dssetup client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:36:06 +0000 (18:36 +0200)]
s3-waf: only link in dssetup client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:30:57 +0000 (18:30 +0200)]
s3-build: only link in initshutdown client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:30:46 +0000 (18:30 +0200)]
s3-waf: only link in initshutdown client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:22:31 +0000 (18:22 +0200)]
s3-build: only link in echo client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 16:22:19 +0000 (18:22 +0200)]
s3-waf: only link in eventlog echo code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:50:37 +0000 (17:50 +0200)]
s3-build: only link in dfs client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:47:48 +0000 (17:47 +0200)]
s3-waf: only link in dfs client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:45:54 +0000 (17:45 +0200)]
s3-build: only link in drsuapi client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:42:59 +0000 (17:42 +0200)]
s3-waf: only link in drsuapi client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:40:18 +0000 (17:40 +0200)]
s3-build: only link in ntsvcs client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:38:09 +0000 (17:38 +0200)]
s3-waf: only link in ntsvcs client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:35:24 +0000 (17:35 +0200)]
s3-build: only link in winreg client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:31:40 +0000 (17:31 +0200)]
s3-waf: only link in winreg client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:28:48 +0000 (17:28 +0200)]
s3-build: only link in eventlog client code where needed.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:19:59 +0000 (17:19 +0200)]
s3-build: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.
Guenther
Günther Deschner [Thu, 12 Aug 2010 15:19:24 +0000 (17:19 +0200)]
s3-waf: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.
Guenther
Günther Deschner [Thu, 19 Aug 2010 21:15:22 +0000 (23:15 +0200)]
s3-lsa: separate out init_lsa headers.
Guenther
Andrew Tridgell [Wed, 25 Aug 2010 13:04:11 +0000 (23:04 +1000)]
s4-pynet: some systems don't have Py_TYPE()
we need a better method than this ....
Andrew Tridgell [Wed, 25 Aug 2010 05:21:36 +0000 (15:21 +1000)]
s4-pyrpc: added a test for talloc behaviour in pidl python code
Andrew Tridgell [Wed, 25 Aug 2010 05:21:08 +0000 (15:21 +1000)]
s4-pyglue: added talloc_total_blocks() python call
Andrew Tridgell [Wed, 25 Aug 2010 04:33:17 +0000 (14:33 +1000)]
s4-rodc: removed python memory workaround
we can now assign pidl generates structures directly without errors
Andrew Tridgell [Wed, 25 Aug 2010 04:32:38 +0000 (14:32 +1000)]
s4-python: reference substructures onto the parent structure
when a python object that is part of a parent structure is created, we
should reference it on the parent structure. This ensures that when
the child object goes out of scope that the parent structure is still
valid
Andrew Tridgell [Wed, 25 Aug 2010 04:29:59 +0000 (14:29 +1000)]
pytalloc: fixed py_talloc_steal()
py_talloc_steal() was implemented as a macro which evaluated it's 2nd
argument twice. It was often called via a macro with a 2nd argument
that was a function call, for example an allocation in
py_talloc_new(). This meant it allocated memory twice, and leaked one
of them.
This re-implements py_talloc_steal() as a function, so that it only
does the allocation once.
Andrew Tridgell [Wed, 25 Aug 2010 02:34:30 +0000 (12:34 +1000)]
s4-pyglue: pyglue now depends on pytalloc
Andrew Tridgell [Wed, 25 Aug 2010 02:34:15 +0000 (12:34 +1000)]
s4-rodc: setup secrets database at end of RODC join
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Wed, 25 Aug 2010 02:33:38 +0000 (12:33 +1000)]
s4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()
these are useful for tracking down leaks and bugs in python scripts
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Andrew Tridgell [Wed, 25 Aug 2010 02:32:48 +0000 (12:32 +1000)]
s4-repl: load RODC partitions using msDS-hasFullReplicaNCs
we mark these as incoming_only
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Wed, 25 Aug 2010 02:31:32 +0000 (12:31 +1000)]
s4-pytalloc: use better names for python talloc objects
Michael Adam [Fri, 6 Aug 2010 09:58:46 +0000 (11:58 +0200)]
s3:smbd: add nfs quota support to the linux-non-sysquota code
This is based on the implementation for solaris and FreeBSD.
It makes rpc calls out to the nfs server to retrieve quota
information.
Michael Adam [Fri, 6 Aug 2010 08:21:09 +0000 (10:21 +0200)]
s3:smbd: add a nfs backend for sysquotas.
This module is based on the Solaris/FreeBSD implementation
of NFS quotas in the quotas.c module.
It implements the SMB_USER_QUOTA_TYPE query of the
get_quotas call. The other types and the set_quota call
are not implemented.
Sumit Bose [Tue, 22 Jun 2010 13:06:27 +0000 (15:06 +0200)]
s4-smbtorture: Added a torture test for forest trusts
Signed-off-by: Günther Deschner <gd@samba.org>
Sumit Bose [Tue, 29 Jun 2010 14:24:36 +0000 (16:24 +0200)]
s4-smbtorture: Make test_SetupCredentials3 public
Signed-off-by: Günther Deschner <gd@samba.org>
Günther Deschner [Fri, 16 Jul 2010 02:07:01 +0000 (04:07 +0200)]
s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.
Guenther
Sumit Bose [Mon, 23 Aug 2010 14:14:58 +0000 (16:14 +0200)]
Fix RPC-LSA-TRUSTED-DOMAINS for changed IDL
Günther Deschner [Fri, 16 Jul 2010 02:06:48 +0000 (04:06 +0200)]
s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.
Also remove bogus trustCurrentPasswords struct which we just had because our IDL
was incorrect.
Guenther
Andreas Schneider [Wed, 25 Aug 2010 09:17:33 +0000 (11:17 +0200)]
s3-build: Use a wrapper script to run the tests.
This fixes the buildfarm and returns the correct exit code of selftest.
Andrew Tridgell [Tue, 24 Aug 2010 13:37:57 +0000 (23:37 +1000)]
s4-dsdb: make more of the UF_* flags available on pydsdb
this really should be moved to IDL
Andrew Tridgell [Tue, 24 Aug 2010 13:37:25 +0000 (23:37 +1000)]
s4-rodc: broke up RODC join into separate functions
this also removes some of the magic constants
Andrew Tridgell [Tue, 24 Aug 2010 12:10:46 +0000 (22:10 +1000)]
s4-rodc: added REPL_SECRET exop replication of accounts
During a RODC join, we need to fetch the secrets for the machine
account and krbtgt account using GetNCChanges
DRSUAPI_EXOP_REPL_SECRET calls
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Tue, 24 Aug 2010 12:09:18 +0000 (22:09 +1000)]
s4-dsdb: add more DS flags to the dsdb module
These are from libds/common/flags.h
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Tue, 24 Aug 2010 12:08:27 +0000 (22:08 +1000)]
s4-dsdb: added get_attid_from_lDAPDisplayName() on samdb
This can be used to form the partial_attribute_set list for
GetNCChanges
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Tue, 24 Aug 2010 05:42:54 +0000 (15:42 +1000)]
s4-rodc: next step in RODC join code
a RODC net join can now replicate the schame, config and base
partitions, by calling the net.replicate*() python hooks, and driving
the GetNCChanges calls from python
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>