summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build: No longer run autogen.sh during tarball creationAndrew Bartlett2013-05-281-7/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* autobuild: Remove samba3 and samba3-ctdb targets to allow autoconf removal ↵Andrew Bartlett2013-05-281-23/+1
| | | | | | | | for 4.1 Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* waf: build position independent executablesDavid Disseldorp2013-05-281-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
* waf: add --with[out]-pie configure argumentsDavid Disseldorp2013-05-281-0/+11
| | | | | | The arguments do not currently have any effect. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: Install smbtar in waf buildAndrew Bartlett2013-05-272-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
* docs: Remove all references to testprnsAndrew Bartlett2013-05-277-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>
* build: Remove duplicate call to bld.SYMBOL_CHECK()Andrew Bartlett2013-05-271-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
* build: Remove mkinstalldirsAndrew Bartlett2013-05-271-38/+0
| | | | | | | | This is not used in the waf build. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* lib/replace: Remove unused install-shAndrew Bartlett2013-05-271-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
* build: Remove unused expand-includes.plAndrew Bartlett2013-05-271-30/+0
| | | | | | | | We no longer have makefiles with includes. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* build: Remove old create-tarball release scriptAndrew Bartlett2013-05-271-235/+0
| | | | | | | | Releases are now done via "waf dist" and script/librelease.sh. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* build: Do not always regenerate the version.h fileAndrew Bartlett2013-05-271-1/+5
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* smbd: Fix build on platforms that will not support var = {} initialisationAndrew Bartlett2013-05-271-1/+4
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* examples: Remove browser and DC settings from example smb.confAndrew Bartlett2013-05-271-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>
* examples: Remove password server from example smb.confAndrew Bartlett2013-05-271-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>
* examples: Remove default printing form example smb.confAndrew Bartlett2013-05-271-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>
* examples: Move example smb.conf over to "server role"Andrew Bartlett2013-05-271-4/+10
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* build: Rework BSD_STYLE_STATVFS check to match autoconf buildAndrew Bartlett2013-05-271-12/+10
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* build: Remove binaries and libraries build groupsAndrew Bartlett2013-05-272-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>
* build: Build all of samba in autoconf make testAndrew Bartlett2013-05-271-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>
* s4:idmap: break account_type check lines for readability in idmap_sid_to_xid()Michael Adam2013-05-271-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
* idl: Add DNS HINFO record supportKai Blin2013-05-261-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
* idl: Add DNS RP record support as per RFC 1183Kai Blin2013-05-261-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>
* dns: Support larger queries when asking forwarderKai Blin2013-05-264-0/+40
| | | | | | | This should fix bug #9632 Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* idl: Add support for parsing OPT recordsKai Blin2013-05-261-0/+8
| | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* winbind: Print error code on connection error in ping_dcChristof Schmitt2013-05-251-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
* pidl: Recent Perl warns about "defined(@var)" constructs.Vadim Zhukov2013-05-252-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
* building RPMs on RHEL fail because of a typo.Anand Avati2013-05-251-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
* libnet-vampire: make use of dsdb_repl_resolve_working_schema()Stefan Metzmacher2013-05-231-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
* dsdb-repl: merge the logic from libnet_vampire_cb_apply_schema()Stefan Metzmacher2013-05-231-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>
* dsdb-repl: split out dsdb_repl_resolve_working_schemaStefan Metzmacher2013-05-231-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>
* selftest: Improve test coverage of DRS (bug #8680)Matthieu Patou2013-05-232-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>
* dsdb-drs: when replicating schema object checks ask for removal of previous ↵Matthieu Patou2013-05-231-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>
* libnet-vampire: add attributes and classes from the replicated schema to the ↵Matthieu Patou2013-05-231-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>
* dsdb-schema: make deduplication of class and schema possible (bug #8680)Matthieu Patou2013-05-233-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>
* dsdb-schema: schema_fill_possible_inferiors() should rebuild everthingStefan Metzmacher2013-05-231-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>
* Revert my accidental commit.Richard Sharpe2013-05-231-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
* lib/replace: Set BROKEN_STRNLEN and BROKEN_STRNDUP on all AIXAndrew Bartlett2013-05-231-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
* docs: Fix small errors in TOSHARG-CompilingAndrew Bartlett2013-05-221-3/+3
| | | | Reviewed-by: Jeremy Allison <jra@samba.org>
* docs: Remove TOSHARG-HighAvailability which is made obsolete by CTDBAndrew Bartlett2013-05-222-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>
* docs: Remove out of date and unmaintained Speed page from the HOWTOAndrew Bartlett2013-05-222-329/+0
| | | | Reviewed-by: Jeremy Allison <jra@samba.org>
* When message-type is drvupgrade, MSG_DEBUG should be replaced with ↵Peng Haitao2013-05-221-1/+1
| | | | | | | MSG_PRINTER_DRVUPGRADE. Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* When '--policies-reset' is success, the exit code should be 0.Peng Haitao2013-05-221-1/+1
| | | | | Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* build: Update md5.h detection in waf and autoconf to use sys/md5.h and -lmdAndrew Bartlett2013-05-224-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
* Make sure that if an smbd is exiting because of an error we let the user know.Richard Sharpe2013-05-211-1/+1
| | | | Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
* s4-torture: No need to disable rpc.spoolss.win test when compiled with MIT ↵Günther Deschner2013-05-203-6/+3
| | | | | | | | | | | | | kerberos. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Mon May 20 20:35:33 CEST 2013 on sn-devel-104
* selftest: mark the spoolss add print processor tests as knownfail for now.Günther Deschner2013-05-201-0/+1
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* s4-torture: add simple tests for spoolss_{Add|Delete}PrintProcessor.Günther Deschner2013-05-201-0/+101
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* doserr: add mapping for WERR_PRINT_PROCESSOR_ALREADY_INSTALLED.Günther Deschner2013-05-201-0/+1
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* spoolss: fill in IDL for spoolss_DeletePrintProcessor.Günther Deschner2013-05-201-1/+4
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>