summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-28Remove stub ldb_version.h and source3/include/autoconf as no longer neededAndrew Bartlett2-9/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28build: Remove autoconf directory no longer neededAndrew Bartlett3-13/+0
This was only needed to avoid autoconf and waf builds colliding. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28build: Remove unused script/mkversion.shAndrew Bartlett1-150/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28build: Remove unused install-shAndrew Bartlett1-238/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28build: Remove autoconf build systemAndrew Bartlett41-18312/+0
We are now confident that that waf build system meets enough of our needs that we will work to improve it, rather than maintain two build systems. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28build: No longer run autogen.sh during tarball creationAndrew Bartlett1-7/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28autobuild: Remove samba3 and samba3-ctdb targets to allow autoconf removal ↵Andrew Bartlett1-23/+1
for 4.1 Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28waf: build position independent executablesDavid Disseldorp1-2/+9
This patch re-instates support for building Position Independent Executables using the '-fPIE' and '-pie' compiler and linker flags respectively. PIE builds are enabled by default, and can be explicitly disabled using the '--without-pie' configure argument. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue May 28 02:56:36 CEST 2013 on sn-devel-104
2013-05-28waf: add --with[out]-pie configure argumentsDavid Disseldorp1-0/+11
The arguments do not currently have any effect. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-27build: Install smbtar in waf buildAndrew Bartlett2-0/+8
Reviewed-by: Kai Blin <kai@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon May 27 12:55:05 CEST 2013 on sn-devel-104
2013-05-27docs: Remove all references to testprnsAndrew Bartlett7-43/+0
Based on debian patch documentation2.patch by Christian Perrier <bubulle@debian.org>. This tool no longer exists in Samba. Andrew Bartlett Reviewed-by: Kai Blin <kai@samba.org>
2013-05-27build: Remove duplicate call to bld.SYMBOL_CHECK()Andrew Bartlett1-1/+0
This was missed when we merged the two waf systems. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon May 27 10:30:06 CEST 2013 on sn-devel-104
2013-05-27build: Remove mkinstalldirsAndrew Bartlett1-38/+0
This is not used in the waf build. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27lib/replace: Remove unused install-shAndrew Bartlett1-238/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon May 27 05:51:04 CEST 2013 on sn-devel-104
2013-05-27build: Remove unused expand-includes.plAndrew Bartlett1-30/+0
We no longer have makefiles with includes. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27build: Remove old create-tarball release scriptAndrew Bartlett1-235/+0
Releases are now done via "waf dist" and script/librelease.sh. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27build: Do not always regenerate the version.h fileAndrew Bartlett1-1/+5
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27smbd: Fix build on platforms that will not support var = {} initialisationAndrew Bartlett1-1/+4
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27examples: Remove browser and DC settings from example smb.confAndrew Bartlett1-29/+0
These examples just encourage folks to set browing values that are not needed. The domain logons setting is already covered by the server role at the top of the file and logon script is not special enough to be in the default smb.conf. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27examples: Remove password server from example smb.confAndrew Bartlett1-9/+1
This should discourage folks from setting it when they do not really need it. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27examples: Remove default printing form example smb.confAndrew Bartlett1-17/+0
These settings are all defaults, and just work for most systems. Users on other platforms can read man smb.conf, rather than cluttering up this file. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27examples: Move example smb.conf over to "server role"Andrew Bartlett1-4/+10
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27build: Rework BSD_STYLE_STATVFS check to match autoconf buildAndrew Bartlett1-12/+10
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27build: Remove binaries and libraries build groupsAndrew Bartlett2-6/+4
Build groups are used in Samba to ensure that even if the dependency chain for a target is not perfect, that it builds reliably. This matters most in the early build stages, where we are building the asn1 compiler and autogenerating files. Once we get to the main stage, dependencies between C files, libraries and binaries are much clearer, because the C compiler and linker takes these as inputs anyway. Groups were added to our waf build for stability during early development, as dependency information was first imported from the previous autoconf/perl based build system. I don't think we need this distinction in the main build of C files into .o, and when linking these into binaries, because the invocation of these tools is very well defined, and we will find any missing inputs very quickly. As such, I've removed the libraries and binaries targets, consolidating them with 'main' By making this change, a build of smbtorture only on a clean tree drops from 3778 to 2489 targets, and much of the expensive linker stage is skipped. The time for a null build of smbtorture only also drops from 4.673s to as low as 2.499s on my laptop. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27build: Build all of samba in autoconf make testAndrew Bartlett1-1/+1
The test system actually depends on far more than smbtorture these days and this was masked by the build groups. Rather than try and specify everything that could be used, just build the lot (which is what was essentially being done anyway). This prepares for the removal of the libraries and binaries build groups, to assist in improving waf performance for single-binary builds. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27s4:idmap: break account_type check lines for readability in idmap_sid_to_xid()Michael Adam1-2/+7
Also makes code obey README.Coding, regarding line-length. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon May 27 00:05:19 CEST 2013 on sn-devel-104
2013-05-26idl: Add DNS HINFO record supportKai Blin1-0/+8
Not sure if we need this, bug samba.org specifies it, so this can cause ANY queries against samba.org to fail. Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Sun May 26 20:05:38 CEST 2013 on sn-devel-104
2013-05-26idl: Add DNS RP record support as per RFC 1183Kai Blin1-0/+7
Not sure if we need this, but samba.org specifies it, so this could cause ANY queries against samba.org to fail. Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-26dns: Support larger queries when asking forwarderKai Blin4-0/+40
This should fix bug #9632 Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-26idl: Add support for parsing OPT recordsKai Blin1-0/+8
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-25winbind: Print error code on connection error in ping_dcChristof Schmitt1-1/+2
For debugging, it is useful to include the error code in the message. Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Sat May 25 23:11:23 CEST 2013 on sn-devel-104
2013-05-25pidl: Recent Perl warns about "defined(@var)" constructs.Vadim Zhukov2-2/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat May 25 18:10:53 CEST 2013 on sn-devel-104
2013-05-25building RPMs on RHEL fail because of a typo.Anand Avati1-1/+1
Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat May 25 01:04:37 CEST 2013 on sn-devel-104
2013-05-23libnet-vampire: make use of dsdb_repl_resolve_working_schema()Stefan Metzmacher1-210/+17
Pair-Programmed-With: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu May 23 14:18:03 CEST 2013 on sn-devel-104
2013-05-23dsdb-repl: merge the logic from libnet_vampire_cb_apply_schema()Stefan Metzmacher1-6/+113
This way libnet_vampire_cb_apply_schema() is able to use dsdb_repl_resolve_working_schema(). Pair-Programmed-With: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23dsdb-repl: split out dsdb_repl_resolve_working_schemaStefan Metzmacher1-53/+94
This can be reused later in other places. Pair-Programmed-With: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23selftest: Improve test coverage of DRS (bug #8680)Matthieu Patou2-27/+26
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23dsdb-drs: when replicating schema object checks ask for removal of previous ↵Matthieu Patou1-3/+4
version if exists (bug #8680) Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23libnet-vampire: add attributes and classes from the replicated schema to the ↵Matthieu Patou1-7/+119
bootstrap schema (bug #8680) Replicated schema might have attributes and auxilary classes on some critical classes (ie. top, user, computer ) that are not in the bootstrap schema. Without those new attributes and classes, bootstrap schema is unable to translate those critical classes in the schema constructed from the replicated data. Without thoses classes new schema is useless and can't be indexed properly. In order to overcome this problem, we put all new attributes and classes definitions into the bootstrap schema so that foundations classes can be translated. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23dsdb-schema: make deduplication of class and schema possible (bug #8680)Matthieu Patou3-10/+113
When a class or an attribute is replicated it might already exists in the existing schema, so while replicating the new version of this object we want to get rid of the old version of the object is the current validating schema so that we don't end up having duplicates. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Matthieu Patou <mat@matws.net> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23dsdb-schema: schema_fill_possible_inferiors() should rebuild everthingStefan Metzmacher1-2/+2
commit cd7f3fd07215a7b8372b6b623faed02ae1310cb1 reverted the change of commit c2853f55fc603d4875bb1e50a1cbf409df0421ea. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-23Revert my accidental commit.Richard Sharpe1-1/+1
Signed-off-by: Richard Sharpe <rsharpe@samba.org> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Thu May 23 06:53:17 CEST 2013 on sn-devel-104
2013-05-23lib/replace: Set BROKEN_STRNLEN and BROKEN_STRNDUP on all AIXAndrew Bartlett1-0/+13
The background is in https://bugzilla.samba.org/show_bug.cgi?id=1097 and wider reports are at http://stackoverflow.com/questions/2091460/strndup-call-is-currupting-stack-frames Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu May 23 03:52:10 CEST 2013 on sn-devel-104
2013-05-22docs: Fix small errors in TOSHARG-CompilingAndrew Bartlett1-3/+3
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-05-22docs: Remove TOSHARG-HighAvailability which is made obsolete by CTDBAndrew Bartlett2-502/+0
This is mostly a lament on why this is hard, and while CTDB is still hard, this document tries to imply it is almost impossible, and makes no mention of the solution. Andrew Bartlett Reviewed-by: Jeremy Allison <jra@samba.org>
2013-05-22docs: Remove out of date and unmaintained Speed page from the HOWTOAndrew Bartlett2-329/+0
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-05-22When message-type is drvupgrade, MSG_DEBUG should be replaced with ↵Peng Haitao1-1/+1
MSG_PRINTER_DRVUPGRADE. Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-22When '--policies-reset' is success, the exit code should be 0.Peng Haitao1-1/+1
Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-22build: Update md5.h detection in waf and autoconf to use sys/md5.h and -lmdAndrew Bartlett4-11/+21
This brings the two build systems in sync, without using md5.h (which is a problem name) Tested on FreeBSD Andrew Bartlett Reviewed-by: Richard Sharpe <rsharpe@samba.org> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Wed May 22 10:06:40 CEST 2013 on sn-devel-104
2013-05-21Make sure that if an smbd is exiting because of an error we let the user know.Richard Sharpe1-1/+1
Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>