sfrench/samba-autobuild/.git
10 years agoCheck in configure/Makefile for those projects that have waf as primary build system.
Jelmer Vernooij [Fri, 24 Sep 2010 00:29:53 +0000 (17:29 -0700)]
Check in configure/Makefile for those projects that have waf as primary build system.

10 years agopytevent: Add more tests.
Jelmer Vernooij [Fri, 24 Sep 2010 00:13:56 +0000 (17:13 -0700)]
pytevent: Add more tests.

10 years agopytevent: Fill in client side fnuctions.
Jelmer Vernooij [Thu, 23 Sep 2010 23:50:36 +0000 (16:50 -0700)]
pytevent: Fill in client side fnuctions.

10 years agoselftest: If a testsuite is killed by a signal, let selftest die.
Jelmer Vernooij [Thu, 23 Sep 2010 22:14:57 +0000 (15:14 -0700)]
selftest: If a testsuite is killed by a signal, let selftest die.

10 years agotevent: Add infrastructure for python bindings.
Jelmer Vernooij [Thu, 23 Sep 2010 21:28:02 +0000 (14:28 -0700)]
tevent: Add infrastructure for python bindings.

10 years agotevent: Switch to using waf by default.
Jelmer Vernooij [Thu, 23 Sep 2010 21:01:02 +0000 (14:01 -0700)]
tevent: Switch to using waf by default.

10 years agos3: Fix bug 7470
Volker Lendecke [Sat, 25 Sep 2010 17:56:58 +0000 (10:56 -0700)]
s3: Fix bug 7470

S_IREAD and S_IWRITE are not standard.

Thanks to Joachim Schmitz <schmitz@hp.com> for reporting!

10 years agoldb: mark the location of a lot more ldb requests
Andrew Tridgell [Fri, 24 Sep 2010 19:50:13 +0000 (12:50 -0700)]
ldb: mark the location of a lot more ldb requests

10 years agos4-dsdb: added tagging of requests in dsdb modules
Andrew Tridgell [Fri, 24 Sep 2010 19:09:26 +0000 (12:09 -0700)]
s4-dsdb: added tagging of requests in dsdb modules

this allows you to call dsdb_req_chain_debug() in gdb or when writing
debug code to see the request chain

10 years agoldb: added request location tracking
Andrew Tridgell [Fri, 24 Sep 2010 19:07:16 +0000 (12:07 -0700)]
ldb: added request location tracking

this is used to help debug async ldb requests. The ldb request handle
now contains a location string and the parent request pointer. This
allows us to print a backtrace of ldb requests in the dsdb modules.

10 years agos4-repl: make getncchanges a bit less verbose
Andrew Tridgell [Fri, 24 Sep 2010 17:05:07 +0000 (10:05 -0700)]
s4-repl: make getncchanges a bit less verbose

this should reduce some of the clutter in make test

10 years agos4-net: added --ipaddress option to net commands
Andrew Tridgell [Fri, 24 Sep 2010 02:51:36 +0000 (19:51 -0700)]
s4-net: added --ipaddress option to net commands

this allows override of server IP address, bypassing NBT or DNS name
resolution of DCs

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

10 years agos4-pynet: added server keyword to Net() initialisation
Andrew Tridgell [Fri, 24 Sep 2010 02:52:19 +0000 (19:52 -0700)]
s4-pynet: added server keyword to Net() initialisation

this sets up server_address in the libnet context

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

10 years agos4-libnet: added server_address option in libnet context
Andrew Tridgell [Fri, 24 Sep 2010 02:50:00 +0000 (19:50 -0700)]
s4-libnet: added server_address option in libnet context

this is used by libnet_LookupDCs

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

10 years agos4-finddcs: allow override of server IP address
Andrew Tridgell [Fri, 24 Sep 2010 02:49:12 +0000 (19:49 -0700)]
s4-finddcs: allow override of server IP address

this will be used to implement --ipaddress option to net commands

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

10 years agos4-repl: don't store repsFrom on DNs other than NC heads
Andrew Tridgell [Fri, 24 Sep 2010 02:48:03 +0000 (19:48 -0700)]
s4-repl: don't store repsFrom on DNs other than NC heads

we don't want a refsFrom on the Rid Manage$ DN

Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>

10 years agos4-pycredentials: avoid a tallloc_free on ref
Andrew Tridgell [Fri, 24 Sep 2010 02:46:27 +0000 (19:46 -0700)]
s4-pycredentials: avoid a tallloc_free on ref

with the new py object structure, we need to unlink not free

10 years agos4-repl: use namingContexts from rootDSE to initialise partition list
Andrew Tridgell [Thu, 23 Sep 2010 22:40:20 +0000 (15:40 -0700)]
s4-repl: use namingContexts from rootDSE to initialise partition list

this is preferable to looking for the hasMasterNCs attribute on
nTDSDSA objects.

10 years agos4-repl: force on WRIT_REP when we are a writable replica
Andrew Tridgell [Thu, 23 Sep 2010 22:39:37 +0000 (15:39 -0700)]
s4-repl: force on WRIT_REP when we are a writable replica

this ensures we always mark ourselves as writeable when we are not
an RODC

10 years agos4-repl: use dreplsrv_partition_source_dsa_by_guid to find source dsa
Andrew Tridgell [Thu, 23 Sep 2010 22:38:07 +0000 (15:38 -0700)]
s4-repl: use dreplsrv_partition_source_dsa_by_guid to find source dsa

this avoids a list walk in the calling code

10 years agotorture: fixed a valgrind error in SMB2-CREATE
Andrew Tridgell [Thu, 23 Sep 2010 22:33:36 +0000 (15:33 -0700)]
torture: fixed a valgrind error in SMB2-CREATE

the lock structure had uninitialised elements, so we sent a random
length.

This also adds a 1 byte write, so there is real data that is being
truncated with the 2nd open

10 years agos4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn.
Nadezhda Ivanova [Sat, 25 Sep 2010 17:19:11 +0000 (10:19 -0700)]
s4-dsdb: Fixed a call to the wrong ops function in dsdb_module_search_dn.

10 years agos3-waf: fix debug2html.
Günther Deschner [Sat, 25 Sep 2010 06:50:23 +0000 (23:50 -0700)]
s3-waf: fix debug2html.

Guenther

10 years agos3-waf: add missing idmap module objectfiles.
Günther Deschner [Sat, 25 Sep 2010 06:37:43 +0000 (23:37 -0700)]
s3-waf: add missing idmap module objectfiles.

Guenther

10 years agos3-waf: convert DISPLAY_SEC into a subsystem.
Günther Deschner [Sat, 25 Sep 2010 05:14:22 +0000 (22:14 -0700)]
s3-waf: convert DISPLAY_SEC into a subsystem.

Guenther

10 years agos3-waf: fix libnetapi and libaddns unresolved symbols.
Günther Deschner [Sat, 25 Sep 2010 04:52:07 +0000 (21:52 -0700)]
s3-waf: fix libnetapi and libaddns unresolved symbols.

Guenther

10 years agos3-waf: install header files for our libraries.
Günther Deschner [Sat, 25 Sep 2010 04:46:39 +0000 (21:46 -0700)]
s3-waf: install header files for our libraries.

Guenther

10 years agos3-waf: convert LIBEVENTLOG into a subsystem.
Günther Deschner [Sat, 25 Sep 2010 00:06:16 +0000 (17:06 -0700)]
s3-waf: convert LIBEVENTLOG into a subsystem.

Guenther

10 years agos4-waf: add NDR_EVENTLOG.
Günther Deschner [Sat, 25 Sep 2010 00:05:44 +0000 (17:05 -0700)]
s4-waf: add NDR_EVENTLOG.

Guenther

10 years agos4-waf: rename subsystem NDR_LSAPRC to NDR_LSA.
Günther Deschner [Sat, 25 Sep 2010 00:18:03 +0000 (17:18 -0700)]
s4-waf: rename subsystem NDR_LSAPRC to NDR_LSA.

Guenther

10 years agos3-waf: convert LIBNET et al into subsystems.
Günther Deschner [Fri, 24 Sep 2010 23:45:41 +0000 (16:45 -0700)]
s3-waf: convert LIBNET et al into subsystems.

Guenther

10 years agos3-waf: convert PASSWD_UTIL into a subsystem.
Günther Deschner [Fri, 24 Sep 2010 23:13:55 +0000 (16:13 -0700)]
s3-waf: convert PASSWD_UTIL into a subsystem.

Guenther

10 years agotalloc: Add a warning about talloc_autofree_context() and dlclose()
Volker Lendecke [Fri, 24 Sep 2010 17:20:06 +0000 (19:20 +0200)]
talloc: Add a warning about talloc_autofree_context() and dlclose()

10 years agos3-waf: convert READLINE into a subsystem.
Günther Deschner [Fri, 24 Sep 2010 19:42:05 +0000 (12:42 -0700)]
s3-waf: convert READLINE into a subsystem.

Guenther

10 years agos3-waf: convert PROFILE into a subsystem.
Günther Deschner [Fri, 24 Sep 2010 19:27:57 +0000 (12:27 -0700)]
s3-waf: convert PROFILE into a subsystem.

Guenther

10 years agos3-waf: convert AFS_SETTOKEN and AFS into subsystems.
Günther Deschner [Fri, 24 Sep 2010 19:13:27 +0000 (12:13 -0700)]
s3-waf: convert AFS_SETTOKEN and AFS into subsystems.

Guenther

10 years agos3-waf: let winbind depend on SRV_NDR_WBINT and RPCCLI_NDR_WBINT.
Günther Deschner [Fri, 24 Sep 2010 19:04:19 +0000 (12:04 -0700)]
s3-waf: let winbind depend on SRV_NDR_WBINT and RPCCLI_NDR_WBINT.

Guenther

10 years agos3-waf: convert LOCKING into a subsystem.
Günther Deschner [Fri, 24 Sep 2010 18:43:40 +0000 (11:43 -0700)]
s3-waf: convert LOCKING into a subsystem.

Guenther

10 years agos3-waf: add RPC_NDR_WBINT to librpc/wscript_build.
Günther Deschner [Fri, 24 Sep 2010 18:28:44 +0000 (11:28 -0700)]
s3-waf: add RPC_NDR_WBINT to librpc/wscript_build.

Guenther

10 years agos3-waf: add autogen-waf.sh to source3.
Günther Deschner [Fri, 24 Sep 2010 18:16:53 +0000 (11:16 -0700)]
s3-waf: add autogen-waf.sh to source3.

Guenther

10 years agos3-waf: add wscript_build to s3 librpc dir for NDR_ subsystems.
Günther Deschner [Fri, 24 Sep 2010 18:12:39 +0000 (11:12 -0700)]
s3-waf: add wscript_build to s3 librpc dir for NDR_ subsystems.

Guenther

10 years agos4-kerberos Rework keytab handling to export servicePrincipalName entries
Andrew Bartlett [Fri, 24 Sep 2010 04:17:58 +0000 (14:17 +1000)]
s4-kerberos Rework keytab handling to export servicePrincipalName entries

This creates keytab entries with all the servicePrincipalNames listed
in the secrets.ldb entry.

Andrew Bartlett

10 years agoFix bug 7694 - Crash bug with invalid SPNEGO token.
Jeremy Allison [Fri, 24 Sep 2010 04:44:24 +0000 (21:44 -0700)]
Fix bug 7694 - Crash bug with invalid SPNEGO token.

Found by the CodeNomicon test suites at the SNIA plugfest.

http://www.codenomicon.com/

If an invalid SPNEGO packet contains no OIDs we crash in the SMB1/SMB2 server
as we indirect the first returned value OIDs[0], which is returned as NULL.

Jeremy.

10 years agos3-waf: add check for seteuid method.
Günther Deschner [Fri, 24 Sep 2010 01:15:09 +0000 (18:15 -0700)]
s3-waf: add check for seteuid method.

Thanks to Kai and Metze!

Guenther

10 years agos3-waf: fix the build.
Günther Deschner [Thu, 23 Sep 2010 23:40:43 +0000 (16:40 -0700)]
s3-waf: fix the build.

Guenther

10 years agos3-waf: add more diroptions.
Günther Deschner [Thu, 23 Sep 2010 23:39:41 +0000 (16:39 -0700)]
s3-waf: add more diroptions.

Guenther

10 years agos3 waf: more correctly generate symbols for pdb/vfs/auth/etc. modules
Kai Blin [Thu, 23 Sep 2010 23:29:06 +0000 (16:29 -0700)]
s3 waf: more correctly generate symbols for pdb/vfs/auth/etc. modules

10 years agoselftest Don't run 'speed' tests for very long
Andrew Bartlett [Thu, 23 Sep 2010 07:32:46 +0000 (17:32 +1000)]
selftest Don't run 'speed' tests for very long

'make test' is too long, and the main thing we need with these
tests is to ensure they don't segfault - there is no need to benchmark
every box in the build farm, and we have no 'fail' metric in any case.

Andrew Bartlett

10 years agos4-selftest Run slow tests less often
Andrew Bartlett [Thu, 23 Sep 2010 07:11:24 +0000 (17:11 +1000)]
s4-selftest Run slow tests less often

These tests don't need to be run twice - basic parsing errors that
will show up with the various options will be caught quite well
by other tests.

Andrew Bartlett

10 years agos4-libnet_join Use header constant for 'all encryption types' in msDS-SupportedEncryp...
Andrew Bartlett [Thu, 23 Sep 2010 07:02:31 +0000 (17:02 +1000)]
s4-libnet_join Use header constant for 'all encryption types' in msDS-SupportedEncryptionTypes

10 years agos4-kerberos Move 'set key into keytab' code out of credentials.
Andrew Bartlett [Thu, 23 Sep 2010 07:01:44 +0000 (17:01 +1000)]
s4-kerberos Move 'set key into keytab' code out of credentials.

This code never really belonged in the credentials layer, and
is easier done with direct access to the ldb_message that is
in secrets.ldb.

Andrew Bartlett

10 years agos4-libnet Remove libnet_samdump_keytab() and net samdump keytab
Andrew Bartlett [Thu, 23 Sep 2010 06:54:06 +0000 (16:54 +1000)]
s4-libnet Remove libnet_samdump_keytab() and net samdump keytab

There is a beter implementation of this in Samba3, and this uses
functions in the credentials code that I want to remove.

The same functionality is available by running 'net samsync' and
'net export keytab'.  This isn't a DRS-backed utility, it only
used netlogon replication.

Andrew Bartlett

10 years agos4-kerberos Fix kerberos_enctype_bitmap_to_enctypes()
Andrew Bartlett [Thu, 23 Sep 2010 09:41:20 +0000 (19:41 +1000)]
s4-kerberos Fix kerberos_enctype_bitmap_to_enctypes()

The previous code never worked

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:repl_meta_data - also on delete operations the new RDN attribute has to be casefol...
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 18:34:08 +0000 (20:34 +0200)]
s4:repl_meta_data - also on delete operations the new RDN attribute has to be casefolded correctly

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:lazy_commit LDB module - the "show_deleted" control is initialised by the "show_de...
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 20:39:44 +0000 (22:39 +0200)]
s4:lazy_commit LDB module - the "show_deleted" control is initialised by the "show_deleted" LDB module

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - make use of "dsdb_forest_functional_level"
Matthias Dieter Wallnöfer [Fri, 17 Sep 2010 06:49:07 +0000 (08:49 +0200)]
s4:rootdse LDB module - make use of "dsdb_forest_functional_level"

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:ldap.py - add tests for the "dsServiceName", "serverName", "dnsHostName" and ...
Matthias Dieter Wallnöfer [Fri, 17 Sep 2010 08:47:08 +0000 (10:47 +0200)]
s4:ldap.py - add tests for the "dsServiceName", "serverName", "dnsHostName" and "ldapServiceName" rootDSE attributes

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:provision - rootdse - remove static "ldapServiceName" attribute
Matthias Dieter Wallnöfer [Sat, 18 Sep 2010 19:46:51 +0000 (21:46 +0200)]
s4:provision - rootdse - remove static "ldapServiceName" attribute

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - introduce dynamic "ldapServiceName"
Matthias Dieter Wallnöfer [Sat, 18 Sep 2010 19:44:26 +0000 (21:44 +0200)]
s4:rootdse LDB module - introduce dynamic "ldapServiceName"

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:provision - rootdse - remove static "dnsHostName" attribute
Matthias Dieter Wallnöfer [Sat, 18 Sep 2010 18:54:33 +0000 (20:54 +0200)]
s4:provision - rootdse - remove static "dnsHostName" attribute

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - introduce dynamic "dnsHostName" attribute
Matthias Dieter Wallnöfer [Sat, 18 Sep 2010 18:50:25 +0000 (20:50 +0200)]
s4:rootdse LDB module - introduce dynamic "dnsHostName" attribute

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:provision - rootdse - remove the static attribute "serverName"
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 16:44:00 +0000 (18:44 +0200)]
s4:provision - rootdse - remove the static attribute "serverName"

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - make "serverName" dynamic
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 16:36:03 +0000 (18:36 +0200)]
s4:rootdse LDB module - make "serverName" dynamic

This helps to fix bug #7347. "dsServiceName" cannot be made dynamic in such a
simple way since it's already needed on LDB initialisation time.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - remove "priv" checks where not needed
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 12:37:11 +0000 (14:37 +0200)]
s4:rootdse LDB module - remove "priv" checks where not needed

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - better that the "edn" control handling is done last
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 16:24:53 +0000 (18:24 +0200)]
s4:rootdse LDB module - better that the "edn" control handling is done last

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name"
Matthias Dieter Wallnöfer [Sat, 18 Sep 2010 18:42:18 +0000 (20:42 +0200)]
s4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name"

Since this one relies on the right server loadparm context which we aren't able
to provide over torture.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:provision.py - support still not fully provisioned trees regarding the rootDSE...
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 15:31:56 +0000 (17:31 +0200)]
s4:provision.py - support still not fully provisioned trees regarding the rootDSE module

We simply override the NTDS settings path manually

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:provision.py - make more use of "names.serverdn" on NTDS settings location
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 14:58:18 +0000 (16:58 +0200)]
s4:provision.py - make more use of "names.serverdn" on NTDS settings location

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:samldb LDB module - it isn't allowed to create user/computer accounts with a prima...
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 13:19:38 +0000 (15:19 +0200)]
s4:samldb LDB module - it isn't allowed to create user/computer accounts with a primary group specified

It can only be changed afterwards. We allow a "relax"ed exception for the
provision state since we need this for the guest account.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:dsdb/common/util_samr.c - remove the primary group specifications
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 13:01:00 +0000 (15:01 +0200)]
s4:dsdb/common/util_samr.c - remove the primary group specifications

Now also the primary group detection/change on modify operations does work

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:ldap.py - test default primary groups on modify operations
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 12:57:59 +0000 (14:57 +0200)]
s4:ldap.py - test default primary groups on modify operations

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:samldb LDB module - support the "userAccountControl" -> "primaryGroupID" detection...
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 12:13:18 +0000 (14:13 +0200)]
s4:samldb LDB module - support the "userAccountControl" -> "primaryGroupID" detection also on modify operations

Also requested by MS-SAMR 3.1.1.8.1.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:ldap.py - enhance SAM user/groups behaviour test regarding default primary groups
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 11:49:24 +0000 (13:49 +0200)]
s4:ldap.py - enhance SAM user/groups behaviour test regarding default primary groups

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agolibds:flag_mapping.c - support also the default read-only DC primary group
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 11:36:04 +0000 (13:36 +0200)]
libds:flag_mapping.c - support also the default read-only DC primary group

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:python/samba/join.py - add a comment to point out that NCs have to be assigned...
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 21:24:02 +0000 (23:24 +0200)]
s4:python/samba/join.py - add a comment to point out that NCs have to be assigned dynamically

We could also have DNS partitions (only to make one example).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:python/samba/join.py - use constant for DC function level
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 21:19:32 +0000 (23:19 +0200)]
s4:python/samba/join.py - use constant for DC function level

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - make more use of LDB result constants
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 16:21:43 +0000 (18:21 +0200)]
s4:rootdse LDB module - make more use of LDB result constants

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - fix comment typo
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 07:40:13 +0000 (09:40 +0200)]
s4:rootdse LDB module - fix comment typo

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:password_hash LDB module - don't assign "lp_ctx" twice
Matthias Dieter Wallnöfer [Sat, 18 Sep 2010 08:06:03 +0000 (10:06 +0200)]
s4:password_hash LDB module - don't assign "lp_ctx" twice

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agoldb:ldb_match.c - fix counter variable type
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 11:00:38 +0000 (13:00 +0200)]
ldb:ldb_match.c - fix counter variable type

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agoldb:ldb_msg_add_linearized_dn - handle NULL DNs
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 16:08:56 +0000 (18:08 +0200)]
ldb:ldb_msg_add_linearized_dn - handle NULL DNs

Don't let the routine crash

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rootdse LDB module - fix counter types
Matthias Dieter Wallnöfer [Mon, 20 Sep 2010 07:23:37 +0000 (09:23 +0200)]
s4:rootdse LDB module - fix counter types

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:extended_dn_in LDB module - fix a counter type
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 15:52:42 +0000 (17:52 +0200)]
s4:extended_dn_in LDB module - fix a counter type

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:drepl_out_helpers.c - fix a counter type
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 12:02:21 +0000 (14:02 +0200)]
s4:drepl_out_helpers.c - fix a counter type

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:rpc_server/dcerpc_server.c - fix a "const" warning
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 20:08:10 +0000 (22:08 +0200)]
s4:rpc_server/dcerpc_server.c - fix a "const" warning

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos4:libcli/resolve/file.c - fix "const" warning
Matthias Dieter Wallnöfer [Thu, 16 Sep 2010 20:05:48 +0000 (22:05 +0200)]
s4:libcli/resolve/file.c - fix "const" warning

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
10 years agos3-waf: remove duplicate CONFIGFILE from dynconfig.py which caused sysconfigdir
Günther Deschner [Thu, 23 Sep 2010 22:33:43 +0000 (15:33 -0700)]
s3-waf: remove duplicate CONFIGFILE from dynconfig.py which caused sysconfigdir
to be ignored.

Guenther

10 years agos3-waf: fix the build of nsstest with --enable-nss-wrapper.
Günther Deschner [Thu, 23 Sep 2010 22:13:23 +0000 (15:13 -0700)]
s3-waf: fix the build of nsstest with --enable-nss-wrapper.

Guenther

10 years agos4-waf: move the RPC_NDR subsystems to main librpc wscript_build.
Günther Deschner [Thu, 23 Sep 2010 20:55:18 +0000 (13:55 -0700)]
s4-waf: move the RPC_NDR subsystems to main librpc wscript_build.

Guenther

10 years agos4/eventlog6: Add dummy implementation for calls 0x5 and 0xB
Anatoliy Atanasov [Thu, 23 Sep 2010 18:45:16 +0000 (11:45 -0700)]
s4/eventlog6: Add dummy implementation for calls 0x5 and 0xB

The code is enough to let us run all dcdiag tests against samba4 server

10 years agos4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idl
Anatoliy Atanasov [Thu, 23 Sep 2010 18:39:47 +0000 (11:39 -0700)]
s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idl

10 years agos4/eventlog6: Add endpoint server for EventLog6 RPC
Anatoliy Atanasov [Thu, 23 Sep 2010 18:38:19 +0000 (11:38 -0700)]
s4/eventlog6: Add endpoint server for EventLog6 RPC

The file is generated using PIDL --template command.

10 years agos4/eventlog6: Add idl for EventLog6 RPC
Anatoliy Atanasov [Thu, 23 Sep 2010 18:31:32 +0000 (11:31 -0700)]
s4/eventlog6: Add idl for EventLog6 RPC

The idl is translated from [MS-EVEN6].pdf.

10 years agopidl:NDR/Parser: fix range() for arrays
Stefan Metzmacher [Tue, 21 Sep 2010 03:41:37 +0000 (05:41 +0200)]
pidl:NDR/Parser: fix range() for arrays

metze

10 years agotdb: add restore
Volker Lendecke [Sat, 18 Sep 2010 06:56:10 +0000 (10:56 +0400)]
tdb: add restore

Based on an idea by Simon McVittie, largely rewritten

10 years agoselftest: Pass prefix to setup_env function.
Jelmer Vernooij [Thu, 23 Sep 2010 17:28:22 +0000 (10:28 -0700)]
selftest: Pass prefix to setup_env function.

10 years agoselftest: Use variable for clientdir.
Jelmer Vernooij [Thu, 23 Sep 2010 08:42:57 +0000 (01:42 -0700)]
selftest: Use variable for clientdir.

10 years agotorture: Remove unused variable.
Jelmer Vernooij [Thu, 23 Sep 2010 06:40:20 +0000 (23:40 -0700)]
torture: Remove unused variable.

10 years agos3-waf: convert LIBMSRPC into a subsystem.
Günther Deschner [Thu, 23 Sep 2010 18:14:00 +0000 (11:14 -0700)]
s3-waf: convert LIBMSRPC into a subsystem.

Guenther

10 years agos3-waf: fix the build after rpc_server crypto changes.
Günther Deschner [Thu, 23 Sep 2010 18:05:56 +0000 (11:05 -0700)]
s3-waf: fix the build after rpc_server crypto changes.

Guenther