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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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".

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

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

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