summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* spoolss: Fix two size elements in the devmode private spoolss_JTEXP struct.Günther Deschner2013-05-201-2/+2
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* talloc: Fix a typoVolker Lendecke2013-05-201-1/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Mon May 20 18:48:49 CEST 2013 on sn-devel-104
* ldb_tdb: Warn when reindexing is doneMatthieu Patou2013-05-202-1/+12
| | | | | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon May 20 15:47:33 CEST 2013 on sn-devel-104
* smbtorture: Show the list of cracknames we expect to have and the resultMatthieu Patou2013-05-201-0/+5
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* smbtorture: fix a warning due to a set but unused varMatthieu Patou2013-05-201-2/+1
| | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* smbtorture: fix crash when the returning a crackname with an empty nameMatthieu Patou2013-05-201-1/+17
| | | | | | | | when a valid one was expected Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Fix warning by setting the variable from GUID to const GUIDMatthieu Patou2013-05-201-1/+2
| | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Fix more unused varsMatthieu Patou2013-05-201-2/+1
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Fix a warning about a set but unused variable by actually using itMatthieu Patou2013-05-201-0/+5
| | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Fix warnings about set but unused variablesMatthieu Patou2013-05-203-12/+1
| | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Fix a warning about a shadowed variable by renaming the shadowing varMatthieu Patou2013-05-201-3/+3
| | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* buildtools: Fix compilation warningsMatthieu Patou2013-05-201-1/+1
| | | | | | | | | | | STATIC_%s_MODULES_PROTO is defined on the compilation command line by -DSTATIC_<something>_MODULES_PROTO which the compiler seems to turn into define STATIC_<something>_MODULES_PROTO 1 thus yielding a warning due to unused var Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* operational: remove double loopsMatthieu Patou2013-05-201-31/+47
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dsdb-schema: remove looping on all schema classes for system_possible_inferriorMatthieu Patou2013-05-201-34/+19
| | | | | | | | The logic to populate possible inferriors and system possible inferriors is the same so instead of looping twice we do both attributes (depending on the type of the class) in the same loop Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* swat: Remove swat.Kai Blin2013-05-1869-10235/+41
| | | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
* dns: Also print packet information for DBGC_DNSKai Blin2013-05-181-5/+5
| | | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 12:48:15 CEST 2013 on sn-devel-104
* librpc: Add NDR_PRINT_DEBUGC to ndr print to a debug classKai Blin2013-05-184-1/+302
| | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* debug: Add ability to dump_data per debug classKai Blin2013-05-183-0/+45
| | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* smbd: Fix a ISO C90 forbids mixed declarations and code warningVolker Lendecke2013-05-181-1/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Matthieu Patou <mat@matws.net> Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Sat May 18 01:40:04 CEST 2013 on sn-devel-104
* More generic check for OpenBSD platformVadim Zhukov2013-05-173-4/+4
| | | | | | | | | | | | | | | | OpenBSD versioning is different from many other projects, and, say, 5.0 does not differ from 4.9 more than from 5.1. So the right approach will be to check that platform name starts with "openbsd" instead. This is also the thing OpenBSD developers do when patching other software, so this patch is consistent with already existing practicies. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9888 Reviewed-by: Lars Müller <lars@samba.org> Reviewed-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri May 17 17:58:16 CEST 2013 on sn-devel-104
* docs: mention AD prerequirements for using idmap_adBjörn Jacke2013-05-171-3/+6
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* doc: some fixes for vfs_full_audit man pageBjörn Jacke2013-05-171-4/+4
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:dsdb python tests - set the executable flagMatthias Dieter Wallnöfer2013-05-172-0/+0
| | | | | | | Reviewed-by: Matthieu Patou <mat@samba.org> Autobuild-User(master): Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date(master): Fri May 17 15:11:29 CEST 2013 on sn-devel-104
* s3:lib/ctdb_conn make sure we are root before connecting to CTDBChristian Ambach2013-05-171-1/+14
| | | | | | | | | | CTDB socket is only reachable for root, make sure we are root when trying to connect to it Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri May 17 13:16:37 CEST 2013 on sn-devel-104
* lib: Add before/after hooks to async_connectVolker Lendecke2013-05-176-13/+42
| | | | | | | This will facilitiate [un]become_root for smbd to connect safely to ctdbd. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org>
* waf: build vfs_aixacl2 module by default on AIXChristian Ambach2013-05-171-1/+1
| | | | | Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* waf: only use -fstack-protector when both compiler and linker support itChristian Ambach2013-05-171-1/+1
| | | | | | | | otherwise build with xlc on AIX fails because the compiler silently ignores the parameter but the linker does not like it Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* docs/rpcdaemon: some formating fixesBjörn Jacke2013-05-171-10/+16
| | | | | | | Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri May 17 10:34:18 CEST 2013 on sn-devel-104
* drsuapi: Debug more clearly why NC is bad in updateRefsMatthieu Patou2013-05-171-0/+2
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri May 17 04:17:14 CEST 2013 on sn-devel-104
* nsswitch: fix some typosChristian Ambach2013-05-171-2/+2
| | | | | | | | | Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri May 17 01:09:33 CEST 2013 on sn-devel-104
* s3:lib/dbwrap add missing curly bracesChristian Ambach2013-05-161-2/+4
| | | | | | | | violation of README.Coding Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:include remove non-blank line endingsChristian Ambach2013-05-161-3/+3
| | | | | | Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* auth: Ensure auth_sam is not used on the AD DCAndrew Bartlett2013-05-161-0/+7
| | | | | | | Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu May 16 22:51:26 CEST 2013 on sn-devel-104
* dsdb: Expand on what the error finding the ntSecurityDescriptor was in acl_readAndrew Bartlett2013-05-161-2/+8
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* autobuild.py add ntdb to the samba-libs task, to ensure it works as an ↵Andrew Bartlett2013-05-161-1/+5
| | | | | | external library Reviewed-by: Stefan Metzmacher <metze@samba.org>
* rpc_server-drsuapi: Include the failing DN when unable to convert DB objects ↵Andrew Bartlett2013-05-161-4/+6
| | | | | | | | | | | to DRS This is a very serious situation (it should not happen) so getting information on the objects that this happens for would be very helpful. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* dsdb-schema: Print clear debug message when we find a OID in our local DB we ↵Andrew Bartlett2013-05-161-0/+1
| | | | | | | | | | | cannot convert We need to work out why we are unable to make a mapping for an OID in our database, because we should not have been able to add it without such a mapping. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* dsdb-repl: Allow the name attribute (and name-based schema lookups) to be ↵Andrew Bartlett2013-05-161-12/+19
| | | | | | | | | | skipped in dsdb_repl_make_working_schema() This allows us to use a schema that may only be valid for attributeID based lookups, during the schema load. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* python-samba-tool domain classicupgrade: Use transactions when adding ↵Andrew Bartlett2013-05-161-31/+69
| | | | | | | | | | | users/groups/members This should make things a bit faster when importing very large numbers of users as we will not constantly rewrite the indicies on disk. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* samba-tool dbcheck: Use dsdb.DS_GUID_DELETED_OBJECTS_CONTAINER rather than ↵Andrew Bartlett2013-05-161-1/+1
| | | | | | | | | | the literal value This is better practice. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* python-samba-tool domain classicupgrade: Correct message about re-promoting BDCsAndrew Bartlett2013-05-161-1/+1
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* pdb_ldap: Do not skip accounts without a sambaAcctFlags valueAndrew Bartlett2013-05-161-4/+4
| | | | | | | | | | | | | We allow this to mean a sambaAcctFlags value of zero in other parts of the code and by allowing these users to show up in a search, we can read and correct them during the classicupgrade, rather than not know they exist at all. Most parts of the code do not look for ACB_NORMAL, which is why these users appear to work. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* python-samba-tool domain classicupgrade: Actually Skip domain trust accountsAndrew Bartlett2013-05-161-0/+1
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* python-samba-tool domain classicupgrade: Skip machine accounts that do not ↵Andrew Bartlett2013-05-161-4/+11
| | | | | | | | | | end in $ These accounts will not work anyway, as all the domain member lookup code in netlogon expects the $. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* build: Do not set PATH in install_with_python now we set $PYTHONAndrew Bartlett2013-05-161-2/+0
| | | | | | | | | This will ensure that the scripts get rewritten to use this specific python, as it will not be found in the path by the waf scripts. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server: Ensure we are root when starting and usiing gensecAndrew Bartlett2013-05-161-6/+32
| | | | | | | | This fixes bug 9465. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* gensec: Make the no-hostname status message much less scaryAndrew Bartlett2013-05-162-2/+2
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* build: Blacklist the release-4-0-0 provision as wellAndrew Bartlett2013-05-161-1/+1
| | | | | | | | | This reduces the size of the published tarball while ensuring we test with it during autobuild. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* dns: Fix allocation of txt_record in txt record testsKai Blin2013-05-161-8/+12
| | | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Thu May 16 15:39:15 CEST 2013 on sn-devel-104
* dns: more debug debug options in the testsKai Blin2013-05-161-4/+26
| | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com>