summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-10pidl/NDR/Parser: use ParseArrayPullGetLength() to get the number of array ↵Stefan Metzmacher1-5/+1
elements (bug #8815 / CVE-2012-1182) An anonymous researcher and Brian Gorenc (HP DVLabs) working with HP's Zero Day Initiative program have found this and notified us. metze
2012-04-10pidl/NDR/Parser: split off ParseArrayPullGetSize() and ParseArrayPullGetLength()Stefan Metzmacher1-13/+42
metze
2012-04-10pidl/NDR/Parser: simplify logic in DeclareArrayVariables*()Stefan Metzmacher1-8/+6
metze
2012-04-10pidl/NDR/Parser: declare all union helper variables in ParseUnionPull()Stefan Metzmacher1-2/+2
metze
2012-04-10s3: Use talloc_get_size instead of strlenVolker Lendecke1-1/+1
We've just talloc_asprintf'ed the fullpath, so talloc_get_size knows the strlen. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 10 13:20:22 CEST 2012 on sn-devel-104
2012-04-10ldb-tools: Place the whole of an ldif file in a transactionAndrew Bartlett7-16/+136
This ensures that when operating ldbadd and ldbmodify against local ldb files, either an ldif file succeeds or fails as a whole. Also tests to verify that this is working correctly, and an ABI bump due to the extra (private, but exported to ldb* tools) symbol and behaviour change. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 10 11:14:43 CEST 2012 on sn-devel-104
2012-04-10ldb: Allow access to the line number while reading ldif from a fileAndrew Bartlett5-7/+281
2012-04-10ldb: Detect failures in ldb.base againAndrew Bartlett4-6/+16
We need to wrap the ldb tests in the subunit blackbox helpers. We also needed to change to the right directory, or else the :< file:// syntax check does not work, as samba4.png is not found. Andrew Bartlett
2012-04-10Revert "ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function"Andrew Bartlett8-28/+23
This reverts commit 40a4aea8918c2637703af03383f440d068820e48. Autocommit is important, as otherwise an ldb module could error out during an operation, and leave an corrupt database. Andrew Bartlett
2012-04-10On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison5-11/+14
libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
2012-04-10wafsamba/bundled: Fix typo in tuplize_version.Jelmer Vernooij3-1/+29
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 10 02:21:39 CEST 2012 on sn-devel-104
2012-04-09wafsamba: Parse Python versions as integers separated by dots.Jelmer Vernooij1-1/+4
This causes tdb "1.2.10" to no longer be considered older than "1.2.9". Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Apr 9 23:16:17 CEST 2012 on sn-devel-104
2012-04-09Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison5-12/+18
platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
2012-04-09libreplace: We have a poll replacement based on selectVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 9 19:39:51 CEST 2012 on sn-devel-104
2012-04-09tevent: Fix a typoVolker Lendecke1-1/+1
2012-04-09s3: Fix the pthreadpool build on OS/XVolker Lendecke1-0/+1
OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
2012-04-09s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke1-0/+19
2012-04-09s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke1-19/+22
2012-04-09s3: Move the aio signal init to the vfs moduleVolker Lendecke3-21/+16
On platforms that don't have an RT signal space, signal initialization fails. aio_fork and aio_pthread don't need the signal, so this would block them from running as well.
2012-04-09autobuild: Also test a distribution-style build with external libsAndrew Bartlett1-1/+24
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 9 10:06:38 CEST 2012 on sn-devel-104
2012-04-08wafsamba: Return missing libs rather than last syslib.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 8 05:31:15 CEST 2012 on sn-devel-104
2012-04-07s3: Compile fix for dbwrap_file.cVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 7 14:10:35 CEST 2012 on sn-devel-104
2012-04-07Found whilst back-porting the fix for bug 8837 - smbd crashes when deleting ↵Jeremy Allison1-9/+10
directory and veto files are enabled. The delete tokens are unique to each name hash representing a pathname, if we don't correctly return here we'll add duplicate tokens for a given pasname hash. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 7 02:13:58 CEST 2012 on sn-devel-104
2012-04-06Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When ↵Jeremy Allison3-0/+53
it is on a 32-bit system and defined as a long, then inside vfswrap_get_alloc_size() we cast to a uint64_t. This sign-extends when converting to unsigned, so if the high bit of st_ex_blksize is set we return insane values to clients.
2012-04-06docs-xml: fix default name resolve order (fix bug #7564)Björn Baumbach1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 6 09:54:37 CEST 2012 on sn-devel-104
2012-04-06docs: remove whitespace in example samba.ldif (fix bug #8789)Björn Baumbach1-1/+1
2012-04-06docs: add reload-printers command to smbcontrol manual pageBjörn Baumbach1-0/+7
2012-04-06s3-utils: add do_reload_printers command to smbcontolBjörn Baumbach1-0/+14
Add command to force smbd to reload printers by sending MSG_PRINTER_PCAP.
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett63-387/+384
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett2-3/+3
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 07:13:29 CEST 2012 on sn-devel-104
2012-04-05s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett17-189/+5
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett1-1/+1
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett17-227/+6
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett16-147/+4
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett17-209/+2
2012-04-05build: Add configure summary checking to waf buildAndrew Bartlett1-0/+7
When we remove the autoconf build, this can be re-expressed in python, but for now it is good to share this double-check. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 04:11:45 CEST 2012 on sn-devel-104
2012-04-05build: Fix bitrotted configure summary, we now also test HAVE_IFACE_GETIFADDRSAndrew Bartlett1-1/+1
2012-04-05build: Restore configure summary checkingAndrew Bartlett1-1/+0
This was accidentily lost in: commit b1ce226af8b61ad7e3c37860a59c6715012e738b Author: James Peach <jpeach@samba.org> Date: Fri Jun 15 21:58:49 2007 +0000 r23510: Tidy calls to smb_panic by removing trailing newlines. Print the failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2012-04-05build: Add more assertions that fcntl locking works 64-bitAndrew Bartlett1-4/+15
2012-04-05build: Remove unused GLIBC_HACK_FCNTL64Andrew Bartlett1-13/+0
This is not set from anywhere, and refers to Red Hat 7.0, which is really, really old now. Andrew Bartlett
2012-04-05build: Fix sys_open() removal by including system/filesys.hAndrew Bartlett1-0/+1
2012-04-05build: Remove SMB_F* locking definesAndrew Bartlett6-28/+12
2012-04-05build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett3-6/+2
2012-04-05build: Remove SMB_STRUCT_DIR defineAndrew Bartlett32-171/+163
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett22-62/+54
2012-04-05build: Remove sys_rewinddir wrapperAndrew Bartlett4-11/+2
2012-04-05build: Remove sys_closedir wrapperAndrew Bartlett9-31/+20
2012-04-05build: Remove sys_telldir wrapperAndrew Bartlett4-12/+2
2012-04-05build: Remove sys_seekdir wrapperAndrew Bartlett4-12/+2
2012-04-05build: Remove sys_readdir wrapperAndrew Bartlett9-18/+8