metze/samba/wip.git
13 years agoAdded values for the flags in dSHeuristics
Nadezhda Ivanova [Thu, 26 Aug 2010 14:08:01 +0000 (17:08 +0300)]
Added values for the flags in dSHeuristics

These specify the character position, while the character value of that character
controls behavior

13 years agopidl-python: ensure we allocate ref ptrs before use
Andrew Tridgell [Thu, 26 Aug 2010 07:50:13 +0000 (17:50 +1000)]
pidl-python: ensure we allocate ref ptrs before use

this fixes a crash on samba4.samr.python in the build farm

13 years agos4-devel: added enumprivs developer script
Andrew Tridgell [Thu, 26 Aug 2010 07:41:30 +0000 (17:41 +1000)]
s4-devel: added enumprivs developer script

this enumerates all LSA privileges on a server

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

13 years agos4-net: fixed docstring on spn command
Andrew Tridgell [Thu, 26 Aug 2010 07:32:48 +0000 (17:32 +1000)]
s4-net: fixed docstring on spn command

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

13 years agos4-net: added "net rodc preload" command
Andrew Tridgell [Thu, 26 Aug 2010 06:37:24 +0000 (16:37 +1000)]
s4-net: added "net rodc preload" command

this command will preload the credentials for an account from the full
domain controller

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

13 years agos4-drs: split out drs utility python functions
Andrew Tridgell [Thu, 26 Aug 2010 04:35:30 +0000 (14:35 +1000)]
s4-drs: split out drs utility python functions

these will be re-used by other net commands

13 years agos4-pyrpc: convert rpc_talloc.py test to unittest framework
Andrew Tridgell [Wed, 25 Aug 2010 23:45:16 +0000 (09:45 +1000)]
s4-pyrpc: convert rpc_talloc.py test to unittest framework

This fits in better with our test framework

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

13 years agos3-build: Don't paste the summary.
Andreas Schneider [Thu, 26 Aug 2010 09:41:05 +0000 (11:41 +0200)]
s3-build: Don't paste the summary.

The buildfarm outputs the summary if it is available and use the exit
status of the filter or subunit formatter as exit code.

13 years agopidl:Samba3/ClientNDR: remove unused ParseOutputArgument function
Stefan Metzmacher [Wed, 25 Aug 2010 08:07:54 +0000 (10:07 +0200)]
pidl:Samba3/ClientNDR: remove unused ParseOutputArgument function

metze

13 years agosubunit: Make sure "]" in failure reason ends up on its own line, so the
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.

13 years agomanpages: Avoid using Samba-Team specific DTD, which requires net access
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.

13 years agosubunithelper: Pass along lines as normal output when ignoring them for not containin...
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.

13 years agos3-build: only include rpc_misc.h where needed.
Günther Deschner [Fri, 20 Aug 2010 10:15:13 +0000 (12:15 +0200)]
s3-build: only include rpc_misc.h where needed.

Guenther

13 years agos3-build: use talloc_dict.h only where needed.
Günther Deschner [Wed, 18 Aug 2010 17:05:59 +0000 (19:05 +0200)]
s3-build: use talloc_dict.h only where needed.

Guenther

13 years agos3-build: use dbwrap.h only where needed.
Günther Deschner [Wed, 18 Aug 2010 16:59:23 +0000 (18:59 +0200)]
s3-build: use dbwrap.h only where needed.

Guenther

13 years agos3-build: only include krb5 environment variables where required.
Günther Deschner [Wed, 18 Aug 2010 16:45:36 +0000 (18:45 +0200)]
s3-build: only include krb5 environment variables where required.

Guenther

13 years agos3-build: only include libnscd.h where needed.
Günther Deschner [Wed, 18 Aug 2010 16:36:18 +0000 (18:36 +0200)]
s3-build: only include libnscd.h where needed.

Guenther

13 years agos3-build: include mangle.h only where needed.
Günther Deschner [Wed, 18 Aug 2010 16:34:01 +0000 (18:34 +0200)]
s3-build: include mangle.h only where needed.

Guenther

13 years agos3-dcerpc: only include rpc_dce.h where needed.
Günther Deschner [Wed, 18 Aug 2010 16:26:17 +0000 (18:26 +0200)]
s3-dcerpc: only include rpc_dce.h where needed.

Guenther

13 years agos3-build: remove unrequired ntlmssp forward declaration.
Günther Deschner [Wed, 18 Aug 2010 16:25:54 +0000 (18:25 +0200)]
s3-build: remove unrequired ntlmssp forward declaration.

Guenther

13 years agos3-idmap: only include idmap headers where needed.
Günther Deschner [Wed, 18 Aug 2010 16:13:42 +0000 (18:13 +0200)]
s3-idmap: only include idmap headers where needed.

Guenther

13 years agos3-build: no point in including doserr.h, noone uses them.
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

13 years agos3-build: only include "fake_file.h" where needed.
Günther Deschner [Wed, 18 Aug 2010 14:44:47 +0000 (16:44 +0200)]
s3-build: only include "fake_file.h" where needed.

Guenther

13 years agos3-nmbd: move nmbd proto out of main proto.h
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

13 years agos3-build: only include nsswitch header where needed.
Günther Deschner [Wed, 18 Aug 2010 10:42:49 +0000 (12:42 +0200)]
s3-build: only include nsswitch header where needed.

Guenther

13 years agos3-build: remove unrequired forward declaration for struct printjob.
Günther Deschner [Wed, 18 Aug 2010 10:26:53 +0000 (12:26 +0200)]
s3-build: remove unrequired forward declaration for struct printjob.

Guenther

13 years agos3-build: only include memcache.h where needed.
Günther Deschner [Wed, 18 Aug 2010 10:24:35 +0000 (12:24 +0200)]
s3-build: only include memcache.h where needed.

Guenther

13 years agos3-build: further rationalise LIBMSRPC_OBJ and remove RPC_CLIENT_OBJ.
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

13 years agos3-waf: further rationalise LIBMSRPC_SRC and remove RPC_CLIENT_SRC.
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

13 years agos3-build: remove RPC_CLIENT_OBJ1.
Günther Deschner [Wed, 25 Aug 2010 22:05:34 +0000 (00:05 +0200)]
s3-build: remove RPC_CLIENT_OBJ1.

Guenther

13 years agos3-waf: remove RPC_CLIENT_SRC1.
Günther Deschner [Wed, 25 Aug 2010 22:05:16 +0000 (00:05 +0200)]
s3-waf: remove RPC_CLIENT_SRC1.

Guenther

13 years agos3-build: use LIBMSRPC_OBJ instead of single files.
Günther Deschner [Wed, 25 Aug 2010 22:03:42 +0000 (00:03 +0200)]
s3-build: use LIBMSRPC_OBJ instead of single files.

Guenther

13 years agos3-waf: use LIBMSRPC_SRC instead of single files.
Günther Deschner [Wed, 25 Aug 2010 22:03:15 +0000 (00:03 +0200)]
s3-waf: use LIBMSRPC_SRC instead of single files.

Guenther

13 years agos3-waf: only link in samr util code where needed.
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

13 years agos3-build: only link in samr util code where needed.
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

13 years agos3-build: remove RPC_PARSE_OBJ.
Günther Deschner [Thu, 19 Aug 2010 14:18:10 +0000 (16:18 +0200)]
s3-build: remove RPC_PARSE_OBJ.

Guenther

13 years agos3-waf: remove RPC_PARSE_SRC.
Günther Deschner [Thu, 19 Aug 2010 14:25:55 +0000 (16:25 +0200)]
s3-waf: remove RPC_PARSE_SRC.

Guenther

13 years agos3-build: only link in epmapper client code where needed.
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

13 years agos3-waf: only link in epmapper client code where needed.
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

13 years agos3-build: only link in netlogon client code where needed.
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

13 years agos3-waf: only link in netlogon client code where needed.
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

13 years agos3: separate out cli schannel functions that depend on cli_netlogon.
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

13 years agos3-build: only link in samr client code where needed.
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

13 years agos3-waf: only link in samr client code where needed.
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

13 years agos3-build: only link in lsa client code where needed.
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

13 years agos3-waf: only link in lsa client code where needed.
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

13 years agos3-build: only link in srvsvc client code where needed.
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

13 years agos3-waf: only link in srvsvc client code where needed.
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

13 years agos3-build: only link in wkssvc client code where needed.
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

13 years agos3-waf: only link in wkssvc client code where needed.
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

13 years agos3-build: only link in svcctl client code where needed.
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

13 years agos3-waf: only link in svcctl client code where needed.
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

13 years agos3-build: only link in dssetup client code where needed.
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

13 years agos3-waf: only link in dssetup client code where needed.
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

13 years agos3-build: only link in initshutdown client code where needed.
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

13 years agos3-waf: only link in initshutdown client code where needed.
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

13 years agos3-build: only link in echo client code where needed.
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

13 years agos3-waf: only link in eventlog echo code where needed.
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

13 years agos3-build: only link in dfs client code where needed.
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

13 years agos3-waf: only link in dfs client code where needed.
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

13 years agos3-build: only link in drsuapi client code where needed.
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

13 years agos3-waf: only link in drsuapi client code where needed.
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

13 years agos3-build: only link in ntsvcs client code where needed.
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

13 years agos3-waf: only link in ntsvcs client code where needed.
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

13 years agos3-build: only link in winreg client code where needed.
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

13 years agos3-waf: only link in winreg client code where needed.
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

13 years agos3-build: only link in eventlog client code where needed.
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

13 years agos3-build: only link in spoolss client code where needed.
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

13 years agos3-waf: only link in spoolss client code where needed.
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

13 years agos3-lsa: separate out init_lsa headers.
Günther Deschner [Thu, 19 Aug 2010 21:15:22 +0000 (23:15 +0200)]
s3-lsa: separate out init_lsa headers.

Guenther

13 years agos4-pynet: some systems don't have Py_TYPE()
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 ....

13 years agos4-pyrpc: added a test for talloc behaviour in pidl python code
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

13 years agos4-pyglue: added talloc_total_blocks() python call
Andrew Tridgell [Wed, 25 Aug 2010 05:21:08 +0000 (15:21 +1000)]
s4-pyglue: added talloc_total_blocks() python call

13 years agos4-rodc: removed python memory workaround
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

13 years agos4-python: reference substructures onto the parent structure
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

13 years agopytalloc: fixed py_talloc_steal()
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.

13 years agos4-pyglue: pyglue now depends on pytalloc
Andrew Tridgell [Wed, 25 Aug 2010 02:34:30 +0000 (12:34 +1000)]
s4-pyglue: pyglue now depends on pytalloc

13 years agos4-rodc: setup secrets database at end of RODC join
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>

13 years agos4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()
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>

13 years agos4-repl: load RODC partitions using msDS-hasFullReplicaNCs
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>

13 years agos4-pytalloc: use better names for python talloc objects
Andrew Tridgell [Wed, 25 Aug 2010 02:31:32 +0000 (12:31 +1000)]
s4-pytalloc: use better names for python talloc objects

13 years agos3:smbd: add nfs quota support to the linux-non-sysquota code
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.

13 years agos3:smbd: add a nfs backend for sysquotas.
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.

13 years agos4-smbtorture: Added a torture test for forest trusts
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>
13 years agos4-smbtorture: Make test_SetupCredentials3 public
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>
13 years agos4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.
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

13 years agoFix RPC-LSA-TRUSTED-DOMAINS for changed IDL
Sumit Bose [Mon, 23 Aug 2010 14:14:58 +0000 (16:14 +0200)]
Fix RPC-LSA-TRUSTED-DOMAINS for changed IDL

13 years agos4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.
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

13 years agos3-build: Use a wrapper script to run the tests.
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.

13 years agos4-dsdb: make more of the UF_* flags available on pydsdb
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

13 years agos4-rodc: broke up RODC join into separate functions
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

13 years agos4-rodc: added REPL_SECRET exop replication of accounts
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>

13 years agos4-dsdb: add more DS flags to the dsdb module
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>

13 years agos4-dsdb: added get_attid_from_lDAPDisplayName() on samdb
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>

13 years agos4-rodc: next step in RODC join code
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>

13 years agos4-pynet: added replicate_init() and replicate_chunk() calls
Andrew Tridgell [Tue, 24 Aug 2010 05:41:40 +0000 (15:41 +1000)]
s4-pynet: added replicate_init() and replicate_chunk() calls

these calls allow python code to pass chunks from DRS replication
calls into the code that applies the chunks to a database

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

13 years agos4-libnet: added libnet_vampire_replicate_init()
Andrew Tridgell [Tue, 24 Aug 2010 05:40:42 +0000 (15:40 +1000)]
s4-libnet: added libnet_vampire_replicate_init()

this is used to setup for later calls to the replicate chunk functions

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

13 years agoidl-nbt: fixed typo
Andrew Tridgell [Mon, 23 Aug 2010 08:59:47 +0000 (18:59 +1000)]
idl-nbt: fixed typo

13 years agos3: Make char_flags and base_reverse const arrays
Volker Lendecke [Tue, 24 Aug 2010 19:40:25 +0000 (21:40 +0200)]
s3: Make char_flags and base_reverse const arrays

This moves those arrays from dynamic to static, shared memory, removing them
from globals.c.

I did it by dumping the result of init_tables() with dump_data(). Some massage
by an editor macro made it the initializer.

13 years agos3: Move "trans_num" to smbd_server_connection
Volker Lendecke [Tue, 24 Aug 2010 18:47:29 +0000 (20:47 +0200)]
s3: Move "trans_num" to smbd_server_connection