summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-selftest: run LOCAL-NDR when running make selftest.Günther Deschner2009-12-031-1/+1
| | | | Guenther
* s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.Günther Deschner2009-12-032-3/+15
| | | | Guenther
* spoolss: hand-marshall the spoolss_StringArray2 struct for ↵Günther Deschner2009-12-035-51/+63
| | | | | | | | spoolss_EnumPrinterKey. This call is just driving me nuts :-) Guenther
* s4-drs: fixed UDV and overlapping sync calls in DRSAndrew Tridgell2009-12-031-40/+42
| | | | | | | | | When windows abandons a DRS sync, it will sometimes re-use the same bind handle for a new sync. This means we need to check the DN of the sync and blank the getnc_state if the DN has changed. This also fixes the UDV to use the highest uSN for the partition, not for the whole SAM.
* s4-drs: fixed updating of uSNChanged in replmd_modifyAndrew Tridgell2009-12-031-3/+2
| | | | Updating of uSNChanged broke in a recent change
* s3:build: remove redundant qnx block size definitionBjörn Jacke2009-12-031-3/+0
|
* Restructure the ACL code some more, get the internal semanticsJeremy Allison2009-12-023-169/+151
| | | | | | | | | | | | | | | | | right. The previous bugs were due to the fact that get_nt_acl_internal() could return an NTSTATUS error if there was no stored ACL blob, but otherwise would return the underlying ACL from the filysystem. Fix this so it always returns a valid acl if it can, and if it does not its an error to be reported back to the client. This then changes the inherit acl code. Previously we were trying to match Windows by setting a minimal ACL on a new file that didn't inherit anything from a parent directory. This is silly - the returned ACL wouldn't match the underlying UNIX permissions. The current code will correctly inherit from a parent if a parent has any inheritable ACE entries that apply to the new object, but will return a mapping from the underlying UNIX permissions if the parent has no inheritable entries. This makes much more sense for new files/directories. Jeremy.
* s3:build: fix shared library build on QNXBjörn Jacke2009-12-031-3/+4
| | | | Fixes #6860. Thanks to Matt Kraai!
* Ensure check_parent_acl_common() only looks at storedJeremy Allison2009-12-021-2/+16
| | | | | blobs - returns NT_STATUS_OK if there aren't any. Jeremy.
* s3: prefer posix_fallocate for doing "strict allocate"Björn Jacke2009-12-024-5/+37
| | | | | | | | | | | | | | | | posix_fallocate is more efficient than manual zero'ing the file. When preallocation in kernel space is supported it's extremely fast. Support for preallocation at fs layer via posix_fallocate and fallocate at kernel site can be found in Linux kernel 2.6.23/glibc 2.10 with ext4, XFS and OCFS2. Other systems that I know of which support fast preallocation in kernel space are AIX 6.1 with JFS2 and recent Solaris versions with ZFS maybe UFS2, too. People who have a system with preallocation in kernel space might want to set "strict allocate = yes". This reduces file fragentation and it's also safer for setups with quota being turned on. As of today most systems still don't have preallocation in kernel space, and that's why "strict allocate = no" will stay the default for now.
* Ensure get_nt_acl_internal() only looks at the ACL blobs, notJeremy Allison2009-12-022-19/+23
| | | | | | | reads off the underlying filesystem. Ensure that vfs_acl_tdb.c returns NT_STATUS_NOT_FOUND, not NT_STATUS_OBJECT_NAME_NOT_FOUND when it can't find a blob matching the file. Jeremy.
* Fix bug #6837 - "Too many open files" when trying to access large number of ↵Jeremy Allison2009-12-023-3/+35
| | | | | | | | files from Windows 7. Original patch by me fixed up with the correct open files number by jmaggard10@hotmail.com. Jeremy.
* samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner2009-12-0210-94/+31
| | | | | | | This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
* spoolss: add spoolss_StringArray2.Günther Deschner2009-12-026-0/+78
| | | | | | | The difference to spoolss_StringArray is that in spoolss_StringArray2 the string array is put into a subcontext of _ndr_size. Guenther
* s3-spoolss: move MAXDEVICENAME to spoolss idl.Günther Deschner2009-12-024-8/+9
| | | | Guenther
* s3: Cope with older external libtdbVolker Lendecke2009-12-022-0/+12
|
* Revert "s3-build: taise tdb version when building against system libtdb ↵Günther Deschner2009-12-021-1/+1
| | | | | | | | | | library." This reverts commit ea20678c55fee9f4586630cdb5fe7f35457d309a. Just one new error code does probably not justify raising the required tdb version. Guenther
* Ensure we don't see the xattr used to store NT security (visible when xattr_tdbJeremy Allison2009-12-012-3/+1
| | | | | is used). Allows make test to pass with acl_xattr.so prepended to the vfs modules. Jeremy.
* s3: Fix smbd to correctly return INVALID_LEVEL on set_file_end_of_file_info ↵Tim Prouty2009-12-011-5/+26
| | | | | | | for paths This allows smbd to pass the freshly updated RAW-SFILEINFO-END-OF-FILE torture test.
* s4 torture: Change oplock to use passthrough for exclusive3/batch11Tim Prouty2009-12-011-2/+2
| | | | | | | In light of the INVALID_LEVEL that is seen for RAW_SFILEINFO_END_OF_FILE_INFO requests on a path, I'm changing these back to using the passthrough RAW_SFILEINFO_END_OF_FILE_INFORMATION to test the oplock break behavior as originally intended
* s4 torture: Update RAW-SFILEINFO-END-OF-FILE to test some additional corner ↵Tim Prouty2009-12-011-19/+104
| | | | | | | | | | cases It turns out setting the end-of-file with Trans2SetPathInfo using the snia spec's info level will attempt to open the file, enforcing share modes, but then subsequentlys fail the setpathinfo with a dos error of INVALID_LEVEL. Doing a Trans2SetFileInfo with either end-of-file info level succeeds as expected.
* Revert "s4 torture: Allow onefs to be checked like samba3 and samba4"Tim Prouty2009-12-011-1/+0
| | | | | | This reverts commit 98f595036e196dd61340fef0faf63ca762a25307. No longer necessary
* s4 torture: Change RAW-SFILEINFO-END-OF-FILE to check for share modes by defaultTim Prouty2009-12-011-7/+5
| | | | | | Since the windows behavior appears to be a bug, only check for the windows-style share mode bug if target=<windows variant> is specified
* s4 torture: Move target macros to a common header instead of redefining them ↵Tim Prouty2009-12-013-7/+8
| | | | in multiple files
* s3:build: fix detection of CTDB headers on systems without system-libtallocMichael Adam2009-12-011-1/+1
| | | | Michael
* s3:build: fix the build when no external talloc and tdb are installed.Michael Adam2009-12-011-167/+178
| | | | | | | | | | | | The check for the external libs and the addition of the include paths to the CPPFLAGS was too late in configure. This patch moves the whole subsystem/library section up right below the detection of "BLDSHARED". And it updates not only SAMBA_CPPFLAGS but also SAMBA_CONFIGURE_CPPFLAGS so that many tests that use these flags can now succeed. Michael
* s4:torture/raw/lock - Fix "discard const" warnings by introducing ↵Matthias Dieter Wallnöfer2009-12-011-3/+6
| | | | "discard_const_p"s
* s4:torture/nbt/wins - Add more castsMatthias Dieter Wallnöfer2009-12-011-6/+12
|
* s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"Matthias Dieter Wallnöfer2009-12-011-2/+3
|
* s4:torture/ldap/ldap_sort - Add some casts to suppress warningsMatthias Dieter Wallnöfer2009-12-011-7/+7
|
* s4:schema - Make some more (result) variables const and fix up warnings with ↵Matthias Dieter Wallnöfer2009-12-012-53/+72
| | | | "discard_const_p"
* util/util_strlist - add a call "const_str_list" for making "unconst" lists ↵Matthias Dieter Wallnöfer2009-12-012-0/+14
| | | | "const"
* s4:kdc - Merged kdc_tcp_accept() and kpasswdd_tcp_accept().Endi S. Dewata2009-12-011-26/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:kdc - Merged kdc_add_kdc_socket() and kdc_add_kpasswd_socket().Endi S. Dewata2009-12-011-75/+27
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 - Create default modules directory.Endi S. Dewata2009-12-011-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:kdc - Disable KDC port when it's set to 0.Endi S. Dewata2009-12-011-42/+63
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Merge commit 'origin/master' into abartlet-develAndrew Bartlett2009-12-011-1/+1
|\
| * s4-ldb: the '1' form of extended_dn search is easier to readAndrew Tridgell2009-12-011-1/+1
| | | | | | | | | | The '1' form gives GUIDs and SIDs in the ascii form as normally used for display.
* | On our way to Samba4 alpha10!Andrew Bartlett2009-12-011-2/+2
| |
* | Fix build of Samba4 from tarball generated by mkrelease.shAndrew Bartlett2009-12-011-3/+0
| | | | | | | | | | | | | | | | | | | | Revert "Remove RFC's from the release tarballs to make the lives of the Debian" This reverts commit eda7f35bc891ca4a7505ec054a2b4591c6edfb38. These files are essential to the Samba4 build. Andrew Bartlett
* | Improve upgrade instructionsAndrew Bartlett2009-12-011-14/+6
| |
* | This is alpha9Andrew Bartlett2009-12-011-1/+1
|/
* s4:setup Adjust upgradeprovision blackbox test now we don't have --targetdirAndrew Bartlett2009-12-011-2/+2
|
* s4: Remove targetdir as it can cause some trouble and can be replaced by an ↵Matthieu Patou2009-12-011-3/+1
| | | | | | adapted -s smb.conf Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: Handle the case in secrets.ldb without name attributeMatthieu Patou2009-12-011-5/+25
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: don't forget to update defaultSecurityDescriptorMatthieu Patou2009-12-011-2/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: load the domain level of the current provision and create a provision ↵Matthieu Patou2009-12-012-3/+9
| | | | | | with the same domain level Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:ldap.py Add test of namingContext behaviour after tridge found a bugAndrew Bartlett2009-12-011-0/+15
| | | | | | | Tridge found that the partitions.c module was being initialised twice, and setting the partitions into the rootDSE twice. Andrew Bartlett
* s4:WHATSNEW Nadezhda's acl module handles modifiesAndrew Bartlett2009-12-011-2/+2
|
* Fix DEBUG 0 -> DEBUG 10 (left over code).Jeremy Allison2009-11-301-2/+4
| | | | | Fix opendir status return if access denied. Jeremy.