nivanova/samba-autobuild/.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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 ....

9 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

9 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

9 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

9 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

9 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.

9 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

9 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>

9 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>

9 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>

9 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

9 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.

9 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.

9 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>
9 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>
9 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

9 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

9 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

9 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.

9 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

9 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

9 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>

9 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>

9 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>

9 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>

9 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>

9 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>

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

9 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.

9 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

9 years agos3: Make srv_send_smb take an sconn instead of a sock fd
Volker Lendecke [Tue, 24 Aug 2010 18:10:20 +0000 (20:10 +0200)]
s3: Make srv_send_smb take an sconn instead of a sock fd

9 years agopam: fix unused variable warning
Björn Jacke [Tue, 24 Aug 2010 09:07:38 +0000 (11:07 +0200)]
pam: fix unused variable warning

9 years agos4-waf: try to fix the s4 wbinfo build dependencies.
Günther Deschner [Tue, 24 Aug 2010 01:04:41 +0000 (03:04 +0200)]
s4-waf: try to fix the s4 wbinfo build dependencies.

Guenther

9 years agos3-dcerpc: avoid talloc_move on schannel creds in cli_rpc_pipe_open_schannel_with_key().
Günther Deschner [Mon, 23 Aug 2010 14:02:23 +0000 (16:02 +0200)]
s3-dcerpc: avoid talloc_move on schannel creds in cli_rpc_pipe_open_schannel_with_key().

Initially, the schannel creds were talloc memduped, then, during the netlogon
creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first
talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9)
talloc_moved.

The issue with using talloc_move here is that users of that function in winbind
will only be able to have two schanneled connections, as the cached schannel
credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy
of the struct instead.

Guenther

9 years agoFinal part of fix for bug #7636 - winbind internal error, backtrace.
Jeremy Allison [Mon, 23 Aug 2010 20:05:56 +0000 (13:05 -0700)]
Final part of fix for bug #7636 - winbind internal error, backtrace.

Ensure cm_get_schannel_creds() returns NTSTATUS.

Jeremy.

9 years agos3-dcerpc: Allocate structure members on the right context
Simo Sorce [Mon, 23 Aug 2010 21:11:32 +0000 (17:11 -0400)]
s3-dcerpc: Allocate structure members on the right context

9 years agos3: PAM_RHOST and PAM_TTY are enums on FreeBSD
Volker Lendecke [Mon, 23 Aug 2010 19:00:27 +0000 (21:00 +0200)]
s3: PAM_RHOST and PAM_TTY are enums on FreeBSD

9 years agos4:getncchanges.c - fix some counter variable types
Matthias Dieter Wallnöfer [Mon, 23 Aug 2010 05:37:36 +0000 (07:37 +0200)]
s4:getncchanges.c - fix some counter variable types

They should be "unsigned" since they count LDB objects. And also the SID array
can be counted as "unsigned".

9 years agoreplace: Fix ifndefs for formatting defines.
Jelmer Vernooij [Mon, 23 Aug 2010 13:10:07 +0000 (15:10 +0200)]
replace: Fix ifndefs for formatting defines.

Thanks to Michael Brown for pointing this out.

9 years agos4-devel: added a getncchanges developer script
Andrew Tridgell [Mon, 23 Aug 2010 02:47:51 +0000 (12:47 +1000)]
s4-devel: added a getncchanges developer script

this allows for command line access to getncchanges

it also provides a good example of calling DRSUAPI interfaces from
python

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

9 years agos4-pyrpc: use s4_event_context_init()
Andrew Tridgell [Mon, 23 Aug 2010 02:07:56 +0000 (12:07 +1000)]
s4-pyrpc: use s4_event_context_init()

This fixes a crash when using kerberos and the python dcercpc
interface, which requires event nesting

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

9 years agos4-pyregistry: use s4_event_context_init()
Andrew Tridgell [Mon, 23 Aug 2010 02:07:19 +0000 (12:07 +1000)]
s4-pyregistry: use s4_event_context_init()

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

9 years agos4-event: event_context_find() should use s4_event_context_init()
Andrew Tridgell [Mon, 23 Aug 2010 02:07:00 +0000 (12:07 +1000)]
s4-event: event_context_find() should use s4_event_context_init()

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

9 years agos4-net: role should be case insensitive for join
Andrew Tridgell [Mon, 23 Aug 2010 01:36:29 +0000 (11:36 +1000)]
s4-net: role should be case insensitive for join

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

9 years agos4-drs: show the user sid that does the GetNCChanges call
Andrew Tridgell [Mon, 23 Aug 2010 01:33:19 +0000 (11:33 +1000)]
s4-drs: show the user sid that does the GetNCChanges call

this is useful when debugging replication

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

9 years agos4-drs: removed the warning on WRIT_REP being set
Andrew Tridgell [Mon, 23 Aug 2010 01:32:28 +0000 (11:32 +1000)]
s4-drs: removed the warning on WRIT_REP being set

we just need to clear this flag

9 years agos4-net: added initial implemention of RODC join
Andrew Tridgell [Mon, 23 Aug 2010 01:31:48 +0000 (11:31 +1000)]
s4-net: added initial implemention of RODC join

This does the join using python code

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

9 years agolibnet-s4: added replicate() command in pynet
Andrew Tridgell [Mon, 23 Aug 2010 01:30:22 +0000 (11:30 +1000)]
libnet-s4: added replicate() command in pynet

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

9 years agos4-libnet: split libnet_Vampire() into two parts
Andrew Tridgell [Mon, 23 Aug 2010 01:13:22 +0000 (11:13 +1000)]
s4-libnet: split libnet_Vampire() into two parts

libnet_Replicate() will do just the replication portion of
libnet_Vampire(). This will be used by the RODC join, where the join
part of the operation happens in python, and behaves quite differently
to the libnet_Join() code.

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

9 years agos4-libnet: show the DN when DsAddEntry() fails
Andrew Tridgell [Mon, 23 Aug 2010 01:11:35 +0000 (11:11 +1000)]
s4-libnet: show the DN when DsAddEntry() fails

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

9 years agos4-net: moved the net join command to python
Andrew Tridgell [Sun, 22 Aug 2010 22:52:19 +0000 (08:52 +1000)]
s4-net: moved the net join command to python

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

9 years agos4-libnet: added join type constants to python interface
Andrew Tridgell [Sun, 22 Aug 2010 22:50:04 +0000 (08:50 +1000)]
s4-libnet: added join type constants to python interface

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

9 years agos4-python: added ndr_print() method in ndr
Andrew Tridgell [Sun, 22 Aug 2010 21:52:25 +0000 (07:52 +1000)]
s4-python: added ndr_print() method in ndr

9 years agopidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpack
Andrew Tridgell [Sun, 22 Aug 2010 21:51:55 +0000 (07:51 +1000)]
pidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpack

9 years agolibreplace: fixed the strptime() waf test
Andrew Tridgell [Sun, 22 Aug 2010 21:28:09 +0000 (07:28 +1000)]
libreplace: fixed the strptime() waf test

Thanks to Jelmer for pointing this out

9 years agos4:security Change struct security_token->sids from struct dom_sid * to struct dom_sid
Andrew Bartlett [Fri, 20 Aug 2010 02:15:15 +0000 (12:15 +1000)]
s4:security Change struct security_token->sids from struct dom_sid * to struct dom_sid

This makes the structure much more like NT_USER_TOKEN in the source3/
code.  (The remaining changes are that privilages still need to be merged)

Andrew Bartlett