kai/samba.git
13 years agos4-smbd: don't initialise process models more than once
Andrew Tridgell [Sat, 30 Oct 2010 00:24:15 +0000 (11:24 +1100)]
s4-smbd: don't initialise process models more than once

this also removes the event_context parameter from process model
initialisation. It isn't needed, and is confusing when a process model
init can be called from more than one place, possibly with different
event contexts.

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

13 years agowaf: save the samba_deps_extended
Andrew Tridgell [Sat, 30 Oct 2010 00:23:09 +0000 (11:23 +1100)]
waf: save the samba_deps_extended

this is needed for the symbols.py extension

13 years agowaf: give a better error on a bad grouping library
Andrew Tridgell [Sat, 30 Oct 2010 00:22:29 +0000 (11:22 +1100)]
waf: give a better error on a bad grouping library

give a clear error on an unknown dependency in a grouping library

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

13 years agowaf: cope with subsystems with no static modules
Andrew Tridgell [Sat, 30 Oct 2010 00:21:35 +0000 (11:21 +1100)]
waf: cope with subsystems with no static modules

we still need the STATIC_xx_MODULES define when there are no static
modules. It contains just the sentinal.

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

13 years agowaf: don't auto-depend on subsystems
Andrew Tridgell [Sat, 30 Oct 2010 00:19:08 +0000 (11:19 +1100)]
waf: don't auto-depend on subsystems

this is part of an effort to reduce the amount of automatic dependency
munging we do. When working on the correct dependency tree for Samba
it is easier to add the right dependencies in the wscript files than
rely on them being added by the waf rules. This change removes the
automatic dependency of modules on their subsystem. Many modules don't
actually need this dependency anyway, so it is better to add it where
they are needed (for example, for ldb modules)

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

13 years agowaf: added --symbol-check option
Andrew Tridgell [Sat, 30 Oct 2010 00:17:30 +0000 (11:17 +1100)]
waf: added --symbol-check option

this adds checking of the symbols in all our object files, libraries
and syslibs. It will form the basis in future for a lot more checks,
but for now it just checks basic rules like not allowing us to use
symbols that are in system libs.

Currently this is enabled only if you use the --symbol-check option,
(or use make with SYMBOLCHECK=1) but I intend to make this always
enabled once it has had more testing.

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

13 years agowaf: build all libraries after all object files
Andrew Tridgell [Sat, 30 Oct 2010 00:07:40 +0000 (11:07 +1100)]
waf: build all libraries after all object files

this makes it easier to perform symbol checking before the link
stage. The two new build groups symbolcheck and syslibcheck will be
used by the symbols.py extension

13 years agowaf: use Utils.WafError() instead of raising an AssertionError
Andrew Tridgell [Sat, 30 Oct 2010 00:06:13 +0000 (11:06 +1100)]
waf: use Utils.WafError() instead of raising an AssertionError

this produces clearer output on errors

13 years agowaf: cope with rules with no inputs
Andrew Tridgell [Fri, 29 Oct 2010 00:53:15 +0000 (11:53 +1100)]
waf: cope with rules with no inputs

when we display a rule with no inputs, just call the original display
function

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

13 years agowaf: separate out get_tgt_list()
Andrew Tridgell [Fri, 29 Oct 2010 00:52:25 +0000 (11:52 +1100)]
waf: separate out get_tgt_list()

this is a useful function for the new symbols code, so separate it out
of samba_deps.py

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

13 years agowaf: display the paths in library loops
Andrew Tridgell [Fri, 29 Oct 2010 00:51:17 +0000 (11:51 +1100)]
waf: display the paths in library loops

when we detect a library loop, try to display the paths between the
two libraries. This should make it easier to fix.

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

13 years agowaf: added env.DEVELOPER_MODE flag
Andrew Tridgell [Fri, 29 Oct 2010 00:50:25 +0000 (11:50 +1100)]
waf: added env.DEVELOPER_MODE flag

this makes it easier to add project rules that are only run in
developer mode

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

13 years agowaf: added suncc_wrap
Andrew Tridgell [Fri, 29 Oct 2010 00:49:31 +0000 (11:49 +1100)]
waf: added suncc_wrap

this should solve a problem with creating alias modules with Sun CC.

Thanks to Matthieu for the idea, and Thomas for the waf code

13 years agos4-kdc: create a 'pac' private grouping library
Andrew Tridgell [Fri, 29 Oct 2010 00:48:06 +0000 (11:48 +1100)]
s4-kdc: create a 'pac' private grouping library

this removes the final case where we have an object file linked into
two libraries

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

13 years agos4-heimdal: removed the use of signal.c from roken
Andrew Tridgell [Fri, 29 Oct 2010 00:47:11 +0000 (11:47 +1100)]
s4-heimdal: removed the use of signal.c from roken

we don't need to replace signal()

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

13 years agos4-heimdal: fixed the use of error_message() in heimdal
Andrew Tridgell [Fri, 29 Oct 2010 00:46:44 +0000 (11:46 +1100)]
s4-heimdal: fixed the use of error_message() in heimdal

the lex code in heimdal had a function error_message() which conflicts
with a function from the com_err library. This replaces it with
lex_err_message()

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

13 years agoreplace: create a private replace-test library
Andrew Tridgell [Wed, 27 Oct 2010 03:25:39 +0000 (14:25 +1100)]
replace: create a private replace-test library

used by replace_testuite and smbtorture

13 years agos4-ldb: create a private library ldb-cmdline
Andrew Tridgell [Wed, 27 Oct 2010 03:25:06 +0000 (14:25 +1100)]
s4-ldb: create a private library ldb-cmdline

this prevents duplicate linking of the cmdline support code

13 years agotalloc: Fix manual pages in standalone build.
Jelmer Vernooij [Sat, 30 Oct 2010 06:27:12 +0000 (08:27 +0200)]
talloc: Fix manual pages in standalone build.

13 years agoFix bug #7700 - Improvement of return code of smbclient
Jeremy Allison [Fri, 29 Oct 2010 18:56:51 +0000 (11:56 -0700)]
Fix bug #7700 - Improvement of return code of smbclient

Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>.
Convert cli_list and associated functions to take calls that return NTSTATUS.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104

13 years agos4:torture/rpc/samr.c - fix NTTIME warnings by casts
Matthias Dieter Wallnöfer [Fri, 29 Oct 2010 09:26:47 +0000 (11:26 +0200)]
s4:torture/rpc/samr.c - fix NTTIME warnings by casts

And also the format specifier is wrong since NTTIME is "uint64_t" and
therefore unsigned.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Oct 29 10:36:46 UTC 2010 on sn-devel-104

13 years agos4:torture/rpc/samr.c - test the "ReplicaSourceNodeName" only against s3
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 08:54:29 +0000 (10:54 +0200)]
s4:torture/rpc/samr.c - test the "ReplicaSourceNodeName" only against s3

AD handles this differently (see MS-SAMR 2.2.4.1)

13 years agos4:samr RPC server - fix trailing whitespaces
Matthias Dieter Wallnöfer [Fri, 29 Oct 2010 08:55:07 +0000 (10:55 +0200)]
s4:samr RPC server - fix trailing whitespaces

13 years agos4:samr RPC server - fix indentation of function parameters
Matthias Dieter Wallnöfer [Fri, 29 Oct 2010 08:53:39 +0000 (10:53 +0200)]
s4:samr RPC server - fix indentation of function parameters

13 years agos4:samr RPC server - DomainGeneralInformation - never return NULL on the oem name
Matthias Dieter Wallnöfer [Fri, 29 Oct 2010 09:03:26 +0000 (11:03 +0200)]
s4:samr RPC server - DomainGeneralInformation - never return NULL on the oem name

As far as I can tell Windows SAMR never returns NULL on unknown values in this
call.

13 years agos4:samr RPC server - provide the right "ReplicaSourceNodeName"
Matthias Dieter Wallnöfer [Fri, 29 Oct 2010 08:45:47 +0000 (10:45 +0200)]
s4:samr RPC server - provide the right "ReplicaSourceNodeName"

It's the content of the "domainReplica" attribute if it exists and has only a
meaning on interim/mixed domain function levels (with NT4 dcs).

13 years agos4:samr RPC server - remove wrong implementation of ReplicaSourceNodeName
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 08:50:28 +0000 (10:50 +0200)]
s4:samr RPC server - remove wrong implementation of ReplicaSourceNodeName

This should represent a replication partner - never the DC iself

13 years agos4-drs_tests: drs_util_DsAttributeId_to_string() is not used anymore
Kamen Mazdrashki [Thu, 28 Oct 2010 22:54:51 +0000 (01:54 +0300)]
s4-drs_tests: drs_util_DsAttributeId_to_string() is not used anymore

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Fri Oct 29 09:54:01 UTC 2010 on sn-devel-104

13 years agos4-resolve_oids: Remove redundant check - resolve_oids_need_value() handle this
Kamen Mazdrashki [Thu, 28 Oct 2010 22:18:31 +0000 (01:18 +0300)]
s4-resolve_oids: Remove redundant check - resolve_oids_need_value() handle this

13 years agos4-schema_init: we should be able to resolve Syntax OIDs with prefixMap we have
Kamen Mazdrashki [Wed, 27 Oct 2010 19:29:40 +0000 (22:29 +0300)]
s4-schema_init: we should be able to resolve Syntax OIDs with prefixMap we have

If Syntax OID is not in the prefixMap then we are getting
an unknown Attribute Syntax (which we can't handle anyway)

13 years agos4-pfm_test: Use single instance of global testing data to test with
Kamen Mazdrashki [Wed, 27 Oct 2010 19:21:50 +0000 (22:21 +0300)]
s4-pfm_test: Use single instance of global testing data to test with

13 years agos4-pfm-test: Enrich and fix comment primary for testing data
Kamen Mazdrashki [Wed, 27 Oct 2010 19:12:11 +0000 (22:12 +0300)]
s4-pfm-test: Enrich and fix comment primary for testing data

13 years agobuild: add the -fno-common flags to fix the link pb on mac os X
Matthieu Patou [Thu, 28 Oct 2010 21:52:32 +0000 (01:52 +0400)]
build: add the -fno-common flags to fix the link pb on mac os X

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104

13 years agos3-waf: add vfs_time_audit to the build.
Günther Deschner [Thu, 28 Oct 2010 13:59:36 +0000 (15:59 +0200)]
s3-waf: add vfs_time_audit to the build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct 28 15:14:27 UTC 2010 on sn-devel-104

13 years agos3-waf: use LZXPRESS subsystem.
Günther Deschner [Wed, 27 Oct 2010 14:31:05 +0000 (16:31 +0200)]
s3-waf: use LZXPRESS subsystem.

Guenther

13 years agos3-selftest: add vfs_modulesdir variable for both test systems.
Günther Deschner [Tue, 26 Oct 2010 13:26:17 +0000 (15:26 +0200)]
s3-selftest: add vfs_modulesdir variable for both test systems.

Guenther

13 years agos3: Streamline regdb_normalize_keynames_fn a bit
Volker Lendecke [Thu, 28 Oct 2010 13:41:30 +0000 (15:41 +0200)]
s3: Streamline regdb_normalize_keynames_fn a bit

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 28 14:32:11 UTC 2010 on sn-devel-104

13 years agos3: Fix the registry upgrade code
Volker Lendecke [Thu, 28 Oct 2010 13:30:21 +0000 (15:30 +0200)]
s3: Fix the registry upgrade code

The strings have the 0-terminator as part of the keys. The rest of the registry
code would not cope well without.

13 years agos3: FILE_WRITE_DATA & friends have gone from includes.h
Volker Lendecke [Thu, 28 Oct 2010 13:50:37 +0000 (07:50 -0600)]
s3: FILE_WRITE_DATA & friends have gone from includes.h

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 28 13:37:06 UTC 2010 on sn-devel-104

13 years agounit tests: use skip file to exclude smb2.dir instead of hack
Matthieu Patou [Thu, 28 Oct 2010 08:20:28 +0000 (12:20 +0400)]
unit tests: use skip file to exclude smb2.dir instead of hack

Thanks metze for pointing this.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Thu Oct 28 09:39:11 UTC 2010 on sn-devel-104

13 years agobuild: Add XPG6 otherwise we have a configure pb on sun Solaris
Matthieu Patou [Thu, 28 Oct 2010 08:09:29 +0000 (12:09 +0400)]
build: Add XPG6 otherwise we have a configure pb on sun Solaris

13 years agos3: Add a vfs_time_audit module
Abhidnya P Chirmule [Wed, 6 Jan 2010 18:45:24 +0000 (19:45 +0100)]
s3: Add a vfs_time_audit module

This warns if a file system is slow

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 28 08:56:44 UTC 2010 on sn-devel-104

13 years agos3: Fix bug 7759
Volodymyr Khomenko [Thu, 28 Oct 2010 07:34:05 +0000 (09:34 +0200)]
s3: Fix bug 7759

13 years agos4 net: rename to samba-tool in order to not clash with s3 net
Kai Blin [Sun, 24 Oct 2010 02:27:26 +0000 (19:27 -0700)]
s4 net: rename to samba-tool in order to not clash with s3 net

Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104

13 years agobuild: remove warnings about redifinition of boolean use -KPIC on suncc
Matthieu Patou [Wed, 27 Oct 2010 22:12:53 +0000 (02:12 +0400)]
build: remove warnings about redifinition of boolean use -KPIC on suncc

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 27 22:57:19 UTC 2010 on sn-devel-104

13 years agoFix for bug 7755 - SMBC_getdents_ctx() ignores struct alignment rules
Jeremy Allison [Wed, 27 Oct 2010 21:17:46 +0000 (14:17 -0700)]
Fix for bug 7755 - SMBC_getdents_ctx() ignores struct alignment rules

Based on a fix from Sven Neumann <s.neumann@raumfeld.com>.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct 27 22:02:11 UTC 2010 on sn-devel-104

13 years agondr: Make sure ndr_dns.c has no lines wider than 80 chars
Kai Blin [Wed, 27 Oct 2010 20:15:10 +0000 (22:15 +0200)]
ndr: Make sure ndr_dns.c has no lines wider than 80 chars

Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Wed Oct 27 21:17:50 UTC 2010 on sn-devel-104

13 years agotls: Inform the user if the cert/ca/private key can't be saved
Matthieu Patou [Wed, 27 Oct 2010 18:59:25 +0000 (22:59 +0400)]
tls: Inform the user if the cert/ca/private key can't be saved

Most of the time this problem is due to a missing <private>/tls dir.
Should close bug 7640.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 27 20:08:54 UTC 2010 on sn-devel-104

13 years agoFix bug 7754 - samba uses index(), marked as legacy.
Sven Neumann [Wed, 27 Oct 2010 18:42:34 +0000 (11:42 -0700)]
Fix bug 7754 - samba uses index(), marked as legacy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct 27 19:25:16 UTC 2010 on sn-devel-104

13 years agos4:setup/schema_samba4.ldif - this control isn't used anymore
Matthias Dieter Wallnöfer [Wed, 27 Oct 2010 15:40:35 +0000 (17:40 +0200)]
s4:setup/schema_samba4.ldif - this control isn't used anymore

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Oct 27 16:32:28 UTC 2010 on sn-devel-104

13 years agos3: Make gpfs winattrs work again
Volker Lendecke [Tue, 26 Oct 2010 17:37:48 +0000 (11:37 -0600)]
s3: Make gpfs winattrs work again

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Oct 27 15:32:00 UTC 2010 on sn-devel-104

13 years agos4-ldb: Added the correct extended check for read access to nTSecurityDescriptor
Nadezhda Ivanova [Wed, 27 Oct 2010 12:20:49 +0000 (15:20 +0300)]
s4-ldb: Added the correct extended check for read access to nTSecurityDescriptor

It does not depend on READ_PROPERTY, but on SECURITY_PRIVILEGE and READ_CONTROL

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Wed Oct 27 13:18:50 UTC 2010 on sn-devel-104

13 years agos4-ldb: Changes the aclread module to use LDB_HANDLE_FLAG_UNTRUSTED to determine...
Nadezhda Ivanova [Wed, 27 Oct 2010 11:04:03 +0000 (14:04 +0300)]
s4-ldb: Changes the aclread module to use LDB_HANDLE_FLAG_UNTRUSTED to determine the source of the request

The aclread module used to use a control to make sure the request comes from the ldap server,
but now the rootdse filters out any unregistered controls comming from ldap, so the control is
lost. Using the LDB_HANDLE_FLAG_UNTRUSTED is a much more elegant solution.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Wed Oct 27 11:55:11 UTC 2010 on sn-devel-104

13 years agounit tests: move backend testing to the end
Matthieu Patou [Wed, 27 Oct 2010 10:15:10 +0000 (14:15 +0400)]
unit tests: move backend testing to the end

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 27 11:12:02 UTC 2010 on sn-devel-104

13 years agounit tests: remove smb2.dir
Matthieu Patou [Tue, 26 Oct 2010 20:50:41 +0000 (00:50 +0400)]
unit tests: remove smb2.dir

Tridge says that it's a hard to fix pb and that it's not the priority
for 4.0.0

13 years agolibrpc/ndr/ndr.c - fix some counter types
Matthias Dieter Wallnöfer [Wed, 27 Oct 2010 06:54:46 +0000 (08:54 +0200)]
librpc/ndr/ndr.c - fix some counter types

The "depth" is "uint32_t"

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Oct 27 08:13:40 UTC 2010 on sn-devel-104

13 years agoauth/credentials Give a sensible behaviour for resetting the krb5 context
Andrew Bartlett [Wed, 27 Oct 2010 04:22:46 +0000 (15:22 +1100)]
auth/credentials Give a sensible behaviour for resetting the krb5 context

This extra code isn't used at the moment, but I noticed the old API
was rather supprising in it's behaviour, and might catch someone out
at some later time.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Oct 27 05:24:22 UTC 2010 on sn-devel-104

13 years agolibrpc Make ndrdump use printf() rather than having to mess with DEBUG()
Andrew Bartlett [Wed, 27 Oct 2010 04:19:05 +0000 (15:19 +1100)]
librpc Make ndrdump use printf() rather than having to mess with DEBUG()

This means it no longer needs to force the debug level etc.

(this builds on the fine work by Volker to create dump_data_cb())

Andrew Bartlett

13 years agos3-smbd Remove manual override of DEBUGELVEL during exit
Andrew Bartlett [Wed, 27 Oct 2010 01:58:10 +0000 (12:58 +1100)]
s3-smbd Remove manual override of DEBUGELVEL during exit

This code, originally added at the dawn of time (the import into CVS)
does not seem to be required any more, as all the DEBUG() statements
in the intermediate functions are at level 0.

Andrew Bartlett

13 years agotalloc: fix waf build for libtalloc-compat1
Stefan Metzmacher [Wed, 27 Oct 2010 00:56:10 +0000 (02:56 +0200)]
talloc: fix waf build for libtalloc-compat1

We need to use 'libtalloc.so.1' as soname, otherwise the
compat library is useless.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 27 03:53:21 UTC 2010 on sn-devel-104

13 years agowafsamba: support 'soname' attribute on SAMBA_LIBRARY()
Stefan Metzmacher [Wed, 27 Oct 2010 00:54:56 +0000 (02:54 +0200)]
wafsamba: support 'soname' attribute on SAMBA_LIBRARY()

It's sometimes needed to specifiy the soname directly.

metze

13 years agowaf: sped up the project rules checking
Andrew Tridgell [Wed, 27 Oct 2010 00:47:54 +0000 (11:47 +1100)]
waf: sped up the project rules checking

this also makes the --show-duplicates output more useful

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct 27 01:36:46 UTC 2010 on sn-devel-104

13 years agos3-waf: fixed the s3 waf build
Andrew Tridgell [Tue, 26 Oct 2010 23:38:50 +0000 (10:38 +1100)]
s3-waf: fixed the s3 waf build

Jelmer, this undoes some of your library renaming, as it conflicted
with existing binary and subsystem names

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct 27 00:22:34 UTC 2010 on sn-devel-104

13 years agowaf: quote subsystem names to make them clearer
Andrew Tridgell [Tue, 26 Oct 2010 23:37:58 +0000 (10:37 +1100)]
waf: quote subsystem names to make them clearer

13 years agolib/util: remove useless ../lib/util/mutex.*
Stefan Metzmacher [Sun, 24 Oct 2010 18:15:01 +0000 (20:15 +0200)]
lib/util: remove useless ../lib/util/mutex.*

Only the disabled process_thread.c registers uses the register fn,
all other functions are not used anywhere.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Oct 26 23:29:46 UTC 2010 on sn-devel-104

13 years agos4-dsdb_syntax: *_OID_oid_ldb_to_drsuapi() functions should use
Kamen Mazdrashki [Tue, 26 Oct 2010 19:14:43 +0000 (22:14 +0300)]
s4-dsdb_syntax: *_OID_oid_ldb_to_drsuapi() functions should use

dsdb_schema_pfm_attid_from_oid() instead of
dsdb_schema_pfm_make_attid() as those functions are
supposed to return ATTIDs only for OIDs we already know about
(i.e. are in prefixMap)

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct 26 22:44:36 UTC 2010 on sn-devel-104

13 years agos4-pfm_test: no need to test created prefixMap contents here - it already tested
Kamen Mazdrashki [Tue, 26 Oct 2010 18:20:11 +0000 (21:20 +0300)]
s4-pfm_test: no need to test created prefixMap contents here - it already tested

13 years agos4-pfm_test: Tests for dsdb_schema_pfm_attid_from_oid()
Kamen Mazdrashki [Tue, 26 Oct 2010 18:17:55 +0000 (21:17 +0300)]
s4-pfm_test: Tests for dsdb_schema_pfm_attid_from_oid()

13 years agos4-prefixMap: split dsdb_schema_make_attid() function into read-only and
Kamen Mazdrashki [Tue, 26 Oct 2010 15:33:32 +0000 (18:33 +0300)]
s4-prefixMap: split dsdb_schema_make_attid() function into read-only and

read-write functions.
dsdb_schema_make_attid() may change prefixMap implicitly
and this is not always desired behavior.
The problem was that
(1) callers had no control on this behavior
(2) callers had no way to know wheter prefixMap has been
    changed which can lead to hard to find bugs like
    prefixMap is changed in read operation

13 years agos4-prefixmap: Use WERR_NOT_FOUND when OID is not found in current prefixMap
Kamen Mazdrashki [Fri, 22 Oct 2010 13:22:08 +0000 (16:22 +0300)]
s4-prefixmap: Use WERR_NOT_FOUND when OID is not found in current prefixMap

rather than WERR_DS_NO_MSDS_INTID.
WERR_DS_NO_MSDS_INTID is intended to be used for msDsIntId
attribute values handling

13 years agoAdd a script for formating test result of st/subunit
Matthieu Patou [Fri, 22 Oct 2010 07:56:40 +0000 (11:56 +0400)]
Add a script for formating test result of st/subunit

This script show the time of each test and tests are sorted by execution
time (from the slowest to the quickest)

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Oct 26 20:42:11 UTC 2010 on sn-devel-104

13 years agoreplace: restore the order for #define + rep_strtoll
Matthieu Patou [Fri, 22 Oct 2010 06:23:23 +0000 (10:23 +0400)]
replace: restore the order for #define + rep_strtoll

13 years agos4:librpc: we don't need dcerpc client bindings for dns.idl
Stefan Metzmacher [Tue, 26 Oct 2010 18:47:44 +0000 (20:47 +0200)]
s4:librpc: we don't need dcerpc client bindings for dns.idl

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Oct 26 19:35:59 UTC 2010 on sn-devel-104

13 years agos4:ldap.py - add a test for attribute ranges - still very basic
Matthias Dieter Wallnöfer [Tue, 26 Oct 2010 17:09:44 +0000 (19:09 +0200)]
s4:ldap.py - add a test for attribute ranges - still very basic

And partially outcommented.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct 26 18:53:12 UTC 2010 on sn-devel-104

13 years agos4:sam.py - enhance users and groups test
Matthias Dieter Wallnöfer [Tue, 26 Oct 2010 10:37:21 +0000 (12:37 +0200)]
s4:sam.py - enhance users and groups test

13 years agos4:samldb LDB module - enhance the "member"-check trigger
Matthias Dieter Wallnöfer [Tue, 26 Oct 2010 10:08:02 +0000 (12:08 +0200)]
s4:samldb LDB module - enhance the "member"-check trigger

- Also multi-valued "member" attributes are allowed
- When you try to delete a member from a group which has it primary group set
  exactly to this group you get "UNWILLING_TO_PERFORM"

13 years agos4:ldap.py - enhance and activate the "description" attribute test
Matthias Dieter Wallnöfer [Sun, 24 Oct 2010 19:25:52 +0000 (21:25 +0200)]
s4:ldap.py - enhance and activate the "description" attribute test

It tests only the "description" attribute in particular since it behaves
differently from all others.

13 years agos4:objectclass_attrs.c - rework to support these special "description" constraints
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 11:56:14 +0000 (13:56 +0200)]
s4:objectclass_attrs.c - rework to support these special "description" constraints

Only the "description" attribute has this special restrictions.

13 years agowafsamba: Fix soname for standalone private libraries.
Jelmer Vernooij [Tue, 26 Oct 2010 17:25:35 +0000 (10:25 -0700)]
wafsamba: Fix soname for standalone private libraries.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct 26 18:10:13 UTC 2010 on sn-devel-104

13 years agotalloc: change pytalloc-util to be a public library.
Jelmer Vernooij [Sun, 24 Oct 2010 19:53:59 +0000 (12:53 -0700)]
talloc: change pytalloc-util to be a public library.

13 years agotalloc: Install pytalloc-util as system library.
Jelmer Vernooij [Sun, 24 Oct 2010 19:37:08 +0000 (12:37 -0700)]
talloc: Install pytalloc-util as system library.

13 years agowaf: Remove unused EXT_LIB_PYTHON.
Jelmer Vernooij [Sun, 24 Oct 2010 19:17:43 +0000 (12:17 -0700)]
waf: Remove unused EXT_LIB_PYTHON.

13 years agotalloc: Avoid dependency on unknown EXT_LIB_PYTHON.
Jelmer Vernooij [Sun, 24 Oct 2010 19:15:12 +0000 (12:15 -0700)]
talloc: Avoid dependency on unknown EXT_LIB_PYTHON.

13 years agotalloc: Move pytalloc to lib/talloc.
Jelmer Vernooij [Sun, 24 Oct 2010 18:58:47 +0000 (11:58 -0700)]
talloc: Move pytalloc to lib/talloc.

13 years agowaf: Only specify vnum for non-private libraries.
Jelmer Vernooij [Sun, 24 Oct 2010 18:50:47 +0000 (11:50 -0700)]
waf: Only specify vnum for non-private libraries.

13 years agowaf: Stop automaticaly changing dashes to underscores in library names.
Jelmer Vernooij [Sun, 24 Oct 2010 18:26:09 +0000 (11:26 -0700)]
waf: Stop automaticaly changing dashes to underscores in library names.

13 years agowaf: Don't auto-lowercase library names.
Jelmer Vernooij [Sun, 24 Oct 2010 17:49:13 +0000 (10:49 -0700)]
waf: Don't auto-lowercase library names.

13 years agowaf: Remove lib prefix from libraries manually.
Jelmer Vernooij [Sun, 24 Oct 2010 17:42:58 +0000 (10:42 -0700)]
waf: Remove lib prefix from libraries manually.

13 years agotorture_local: Add missing dependency on socket_wrapper.
Jelmer Vernooij [Sun, 24 Oct 2010 08:49:03 +0000 (01:49 -0700)]
torture_local: Add missing dependency on socket_wrapper.

13 years agowaf: build private libraries with so names.
Jelmer Vernooij [Sun, 24 Oct 2010 07:54:40 +0000 (00:54 -0700)]
waf: build private libraries with so names.

13 years agodcerpc_dns: Change back to subsystem for the moment.
Jelmer Vernooij [Sun, 24 Oct 2010 02:27:03 +0000 (19:27 -0700)]
dcerpc_dns: Change back to subsystem for the moment.

13 years agos4: Drop duplicate 'lib' prefix for private libraries.
Jelmer Vernooij [Sun, 24 Oct 2010 01:41:59 +0000 (18:41 -0700)]
s4: Drop duplicate 'lib' prefix for private libraries.

13 years agos3: Fix some DEBUG msgs
Volker Lendecke [Tue, 26 Oct 2010 14:36:38 +0000 (16:36 +0200)]
s3: Fix some DEBUG msgs

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Oct 26 15:20:01 UTC 2010 on sn-devel-104

13 years agos3: Package tdbrestore in RHEL-CTDB
Volker Lendecke [Tue, 26 Oct 2010 15:17:57 +0000 (09:17 -0600)]
s3: Package tdbrestore in RHEL-CTDB

13 years agos3: Pass tdb_flags to ctdbd when attaching to a db
Volker Lendecke [Mon, 25 Oct 2010 09:07:36 +0000 (11:07 +0200)]
s3: Pass tdb_flags to ctdbd when attaching to a db

This is required to make ctdb create databases with INCOMPATIBLE_HASH

13 years agos4:samr RPC server - "dcesrv_samr_info_DomGeneralInformation" - count always all...
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 18:48:18 +0000 (20:48 +0200)]
s4:samr RPC server - "dcesrv_samr_info_DomGeneralInformation" - count always all type of groups

One pair are universal an global groups (on the SAMR pipe called "groups") and
the other one are the domain and builtin local groups (on the SAMR pipe called
"aliases").

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct 25 19:37:27 UTC 2010 on sn-devel-104

13 years agos4:samr RPC server - remove a somewhat pointless comment
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 18:39:05 +0000 (20:39 +0200)]
s4:samr RPC server - remove a somewhat pointless comment

Regardless if groups and users do exist in the builtin domain or not we do
count always all users, groups and aliases.

13 years agos4:"samdb_search_count" - introduce a "mem_ctx" parameter
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 16:14:02 +0000 (18:14 +0200)]
s4:"samdb_search_count" - introduce a "mem_ctx" parameter

All other "samdb_search_*" calls do have one - why "samdb_search_count" doesn't?

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct 25 17:42:33 UTC 2010 on sn-devel-104

13 years agoldb:gendb_* calls: support a "NULL" resultset parameter
Matthias Dieter Wallnöfer [Mon, 25 Oct 2010 16:10:04 +0000 (18:10 +0200)]
ldb:gendb_* calls: support a "NULL" resultset parameter

This is useful for "samdb_search_count" where only the amount of entries
matters.

13 years agos4-test: Extend DRS-msDSIntId test to verify Configuration NC replica also
Kamen Mazdrashki [Sat, 9 Oct 2010 03:47:20 +0000 (06:47 +0300)]
s4-test: Extend DRS-msDSIntId test to verify Configuration NC replica also

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Oct 25 13:13:48 UTC 2010 on sn-devel-104