Jeremy Allison [Fri, 4 Dec 2009 22:02:52 +0000 (14:02 -0800)]
Make smbtorture4 match Windows behavior.
Jeremy.
Jim McDonough [Fri, 4 Dec 2009 17:31:53 +0000 (12:31 -0500)]
s3: bug #6967: Prevent glibc error on net ads join:
talloc()ed memory should not be SAFE_FREE()ed.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Günther Deschner [Fri, 4 Dec 2009 01:54:33 +0000 (02:54 +0100)]
s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.
Including new tests for:
- spoolss_SetPrinterDataEx
- spoolss_DeletePrinterDataEx
- spoolss_DeletePrinterKey
Guenther
Kai Blin [Fri, 4 Dec 2009 08:47:25 +0000 (09:47 +0100)]
s3 aclocal.m4: Fix iconv checks, clean up m4 code
The check for iconv requiring giconv.h and libgiconv as well as
the check for iconv requiring biconv.h and libbiconv were using the wrong
variable to check for previous successful test results. This caused the checks
to always fall back to libbiconv on systems where that library was available.
In the course of fixing this, I had to clean up the indentation in that piece of
code, and I also rewrote/added some comments.
Many thanks to Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> for the initial
patch and diagnosis.
Andrew Tridgell [Fri, 4 Dec 2009 06:46:14 +0000 (17:46 +1100)]
s4-ldb: fixed show_deleted module not to corrupt parse trees
The show_deleted module was using a static private ptr in the module
to hold a parse tree to save on parsing. The code caused this
static ptr to change with each search, which caused incorrect
searches and numerous valgrind errors.
This patch replaces it with a hand-built parse tree.
Andrew Tridgell [Fri, 4 Dec 2009 06:45:38 +0000 (17:45 +1100)]
s4-drsutil: fixed a memory leak in samdb_search_count
In general functions that don't return any memory should not take a memory context.
Otherwise it is too easy to have a bug like this where memory is leaked
Zachary Loafman [Tue, 24 Nov 2009 23:42:56 +0000 (23:42 +0000)]
s4 torture: Convert create_complex_file to use BASIC_INFO instead of deprecated command
Signed-off-by: Tim Prouty <tprouty@samba.org>
Zachary Loafman [Wed, 18 Nov 2009 22:42:31 +0000 (22:42 +0000)]
s4 torture: Fix call to smbcli_open
Signed-off-by: Tim Prouty <tprouty@samba.org>
Zachary Loafman [Wed, 18 Nov 2009 00:29:23 +0000 (00:29 +0000)]
s4 torture: Make RAW-SEARCH pass against win7
Signed-off-by: Tim Prouty <tprouty@samba.org>
Zachary Loafman [Wed, 18 Nov 2009 00:29:21 +0000 (00:29 +0000)]
s4 torture: Parameterize WRITE_AND_CLOSE support
Signed-off-by: Tim Prouty <tprouty@samba.org>
Zachary Loafman [Tue, 17 Nov 2009 23:25:58 +0000 (23:25 +0000)]
s4 torture: Add lockread_supported based off of CAP_LOCK_AND_READ
Signed-off-by: Tim Prouty <tprouty@samba.org>
Zachary Loafman [Mon, 16 Nov 2009 21:13:26 +0000 (21:13 +0000)]
s4 torture: Allow READ to be parameterized, add more readx tests
Signed-off-by: Tim Prouty <tprouty@samba.org>
Zachary Loafman [Mon, 9 Nov 2009 18:32:06 +0000 (18:32 +0000)]
s4-torture: Allow the legacy DENY_FCB/DENY_DOS share modes to be ignored
Signed-off-by: Tim Prouty <tprouty@samba.org>
Tim Prouty [Fri, 4 Dec 2009 01:01:53 +0000 (17:01 -0800)]
s4 selftest/quicktest: Update known failures for the sfileinfo and oplock changes
Two new samba4 bugs have been filed for the two corresponding known
failures. For the short term raw.sfileinfo had to be removed from
quicktest. It is no longer an individual test, but a test-suite and
quicktest can only run top level tests.
Tim Prouty [Thu, 3 Dec 2009 21:46:11 +0000 (13:46 -0800)]
s4 torture: Add a new RAW-OPLOCK test: BATCH26
Try a rename with a wide-open share mode on an already open file
and the there is still share mode contention. For the reason why
see:
http://social.msdn.microsoft.com/Forums/en-US/os_fileservices/thread/
3ca14dc9-da1f-4786-a8f7-
a86e9903db0c
Msft's anser:
After further review, The reason for server to fail with sharing
violation is that the windows server that executes a path-based
rename request opens the file for DELETE access, but only with
FILE_SHARED_READ as ShareAccess . Therefore, the existing
open(frame 76), which has shared read/write/delete , is compatible
with the Windows servers access mode (DELETE), but Windows servers
open is not compatible with access mode in existing open.
Note that it is correct to state that the logic in Windows server
could have been written to allow shared read/write/delete in which
case it would succeed as you mention. The behavior here is
historical based on the existing implementation.
Tim Prouty [Thu, 3 Dec 2009 21:16:18 +0000 (13:16 -0800)]
s4 torture: Close the third handle in RAW-OPLOCK-BATCH22
Tim Prouty [Thu, 3 Dec 2009 02:39:05 +0000 (18:39 -0800)]
s4 torture: Convert an error to a warning in RAW-OPLOCK-BATCH22
Some servers choose to mark a client as bad if they fail an oplock
break request by timing out (win7 is an example). Once the client is
marked as bad, future oplock requests will timeout instantly. This
causes subsequent runs of this test to fail, so rather than erroring
out as a failure, a warning is printed instead.
There is also a bug in w2k3 where it was incorrectly returning
contending a share mode lock. It worked in XP and has been re-fixed
in win7.
This can also now be run against samba3.
Tim Prouty [Wed, 2 Dec 2009 00:27:10 +0000 (16:27 -0800)]
s4 torture: Add a few more windows target types
Tim Prouty [Fri, 20 Nov 2009 19:25:43 +0000 (11:25 -0800)]
s4 torture: Convert to a more modern version of read in RAW-OPLOCK-BATCH4
Tim Prouty [Tue, 1 Dec 2009 23:29:00 +0000 (15:29 -0800)]
s4 torture: Allow some implementations to break from level1 to none with two breaks
Jeremy Allison [Fri, 4 Dec 2009 01:44:38 +0000 (17:44 -0800)]
Make sure we're not using the old smb_fname data.
Jeremy.
Jeremy Allison [Fri, 4 Dec 2009 00:45:35 +0000 (16:45 -0800)]
Remove smb_fname duplicates that just keep the same information as in fsp->fsp_name.
Moving towards making VFS_OPEN/VFS_MKDIR/VFS_RMDIR
handle based...
Jeremy.
Günther Deschner [Thu, 3 Dec 2009 22:23:36 +0000 (23:23 +0100)]
s3-spoolss: handle SEC_FLAG_MAXIMUM_ALLOWED in spoolss_OpenPrinterEx.
In case someone (smbtorture4) requests SEC_FLAG_MAXIMUM_ALLOWED, translate it
to a request of PRINTER_ACCESS_ADMINISTER.
Guenther
Günther Deschner [Thu, 3 Dec 2009 21:38:38 +0000 (22:38 +0100)]
s4-smbtorture: check more WERRORs in RPC-SPOOLSS.
Guenther
Günther Deschner [Thu, 3 Dec 2009 21:05:35 +0000 (22:05 +0100)]
s4-smbtorture: call test_EnumPrinterDrivers with architecture in RPC-SPOOLSS.
Guenther
Jeremy Allison [Thu, 3 Dec 2009 21:01:10 +0000 (13:01 -0800)]
Refactor reply_rmdir to use handle based code. All
calls are now handle based. Put rmdir into close.c
and make it private.
Jeremy.
Matthias Dieter Wallnöfer [Thu, 3 Dec 2009 11:50:18 +0000 (12:50 +0100)]
s4:operational LDB module - Fix usage of LDB constants
Matthias Dieter Wallnöfer [Fri, 20 Nov 2009 11:00:28 +0000 (12:00 +0100)]
s4:ntvfs/posix/pvfs_streams - Fix "discard const" warning
I removed one "const" in front of a string declaration to achieve this.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Matthias Dieter Wallnöfer [Fri, 20 Nov 2009 10:56:16 +0000 (11:56 +0100)]
s4:ntvfs/posix/pvfs_resolve - Fix "discard const" warning
I removed two "const"s in front of string declarations to achieve this.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Bo Yang [Fri, 4 Dec 2009 04:53:38 +0000 (12:53 +0800)]
s3: Fix crash in winbindd;(bug#6879).
Signed-off-by: Bo Yang <boyang@samba.org>
Jeremy Allison [Thu, 3 Dec 2009 02:06:40 +0000 (18:06 -0800)]
Remove unneeded argument from can_set_delete_on_close(). Ensure
can_set_delete_on_close() is correctly called before any setting
of the disposition bit (clean up the do_unlink() call).
Jeremy.
Steven Danneman [Thu, 3 Dec 2009 01:55:00 +0000 (17:55 -0800)]
s4/selftest: knownfail some locking tests until bugs are fixed
Björn Jacke [Thu, 3 Dec 2009 01:32:47 +0000 (02:32 +0100)]
ѕ3: remove superfluous option check
this function is only called when strict alloc is set, no reason to check that twice.
Steven Danneman [Thu, 26 Nov 2009 01:39:42 +0000 (17:39 -0800)]
s4/torture: add multiple lock cancel test
See what happens when we have multiple outstanding lock requests and
we try to cancel both of them within a single LockingAndX.
On Windows, it seems only the first lock in the array is cancelled,
and the second is left pending. Though, this behavior goes against
the MS-CIFS spec.
Steven Danneman [Tue, 1 Dec 2009 01:05:27 +0000 (17:05 -0800)]
s4/torture: add addition multiple lock tests
* test that 2 locks in a single LockAndX are transactional
* test that 1 unlock and 1 lock in a single LockAndX are not
transactional
* test that SMB2 doesn't like mixed lock/unlock in a single
PDU
Steven Danneman [Wed, 25 Nov 2009 02:38:46 +0000 (18:38 -0800)]
s4/torture: fix build warnings by removing unecessary const
Steven Danneman [Wed, 25 Nov 2009 00:58:25 +0000 (16:58 -0800)]
s4/torture: Add target functionality parameters to SMBv1 BRL tests
Abstract the server requirements to pass some BRL tests.
* The new default for >64bit lock tests, is that the server should
return STATUS_INVALID_LOCK_RANGE.
* Add parameter for targets that don't implement DENY_DOS
Günther Deschner [Wed, 2 Dec 2009 23:46:47 +0000 (00:46 +0100)]
s3-selftest: run LOCAL-NDR when running make selftest.
Guenther
Günther Deschner [Wed, 2 Dec 2009 22:38:05 +0000 (23:38 +0100)]
s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.
Guenther
Günther Deschner [Wed, 2 Dec 2009 20:26:10 +0000 (21:26 +0100)]
spoolss: hand-marshall the spoolss_StringArray2 struct for spoolss_EnumPrinterKey.
This call is just driving me nuts :-)
Guenther
Andrew Tridgell [Wed, 2 Dec 2009 22:19:55 +0000 (09:19 +1100)]
s4-drs: fixed UDV and overlapping sync calls in DRS
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.
Andrew Tridgell [Wed, 2 Dec 2009 06:14:40 +0000 (17:14 +1100)]
s4-drs: fixed updating of uSNChanged in replmd_modify
Updating of uSNChanged broke in a recent change
Björn Jacke [Wed, 2 Dec 2009 23:12:53 +0000 (00:12 +0100)]
s3:build: remove redundant qnx block size definition
Jeremy Allison [Wed, 2 Dec 2009 23:02:28 +0000 (15:02 -0800)]
Restructure the ACL code some more, get the internal semantics
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.
Björn Jacke [Wed, 2 Dec 2009 23:02:44 +0000 (00:02 +0100)]
s3:build: fix shared library build on QNX
Fixes #6860. Thanks to Matt Kraai!
Jeremy Allison [Wed, 2 Dec 2009 20:29:16 +0000 (12:29 -0800)]
Ensure check_parent_acl_common() only looks at stored
blobs - returns NT_STATUS_OK if there aren't any.
Jeremy.
Björn Jacke [Wed, 2 Dec 2009 14:13:37 +0000 (15:13 +0100)]
s3: prefer posix_fallocate for doing "strict allocate"
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.
Jeremy Allison [Wed, 2 Dec 2009 20:09:48 +0000 (12:09 -0800)]
Ensure get_nt_acl_internal() only looks at the ACL blobs, not
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.
Jeremy Allison [Wed, 2 Dec 2009 18:01:14 +0000 (10:01 -0800)]
Fix bug #6837 - "Too many open files" when trying to access large number of files
from Windows 7. Original patch by me fixed up with the correct open files number
by jmaggard10@hotmail.com.
Jeremy.
Günther Deschner [Wed, 2 Dec 2009 13:25:31 +0000 (14:25 +0100)]
samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.
Guenther
Günther Deschner [Wed, 2 Dec 2009 13:22:52 +0000 (14:22 +0100)]
spoolss: add spoolss_StringArray2.
The difference to spoolss_StringArray is that in spoolss_StringArray2 the string
array is put into a subcontext of _ndr_size.
Guenther
Günther Deschner [Tue, 1 Dec 2009 01:38:19 +0000 (02:38 +0100)]
s3-spoolss: move MAXDEVICENAME to spoolss idl.
Guenther
Volker Lendecke [Mon, 30 Nov 2009 23:01:36 +0000 (00:01 +0100)]
s3: Cope with older external libtdb
Günther Deschner [Tue, 1 Dec 2009 23:22:18 +0000 (00:22 +0100)]
Revert "s3-build: taise tdb version when building against system libtdb library."
This reverts commit
ea20678c55fee9f4586630cdb5fe7f35457d309a.
Just one new error code does probably not justify raising the required tdb version.
Guenther
Jeremy Allison [Tue, 1 Dec 2009 22:08:16 +0000 (14:08 -0800)]
Ensure we don't see the xattr used to store NT security (visible when xattr_tdb
is used). Allows make test to pass with acl_xattr.so prepended to the vfs modules.
Jeremy.
Tim Prouty [Tue, 1 Dec 2009 18:47:08 +0000 (10:47 -0800)]
s3: Fix smbd to correctly return INVALID_LEVEL on set_file_end_of_file_info for paths
This allows smbd to pass the freshly updated RAW-SFILEINFO-END-OF-FILE
torture test.
Tim Prouty [Tue, 1 Dec 2009 00:43:00 +0000 (16:43 -0800)]
s4 torture: Change oplock to use passthrough for exclusive3/batch11
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
Tim Prouty [Mon, 30 Nov 2009 19:59:19 +0000 (11:59 -0800)]
s4 torture: Update RAW-SFILEINFO-END-OF-FILE to test some additional corner 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.
Tim Prouty [Wed, 25 Nov 2009 22:26:18 +0000 (14:26 -0800)]
Revert "s4 torture: Allow onefs to be checked like samba3 and samba4"
This reverts commit
98f595036e196dd61340fef0faf63ca762a25307.
No longer necessary
Tim Prouty [Wed, 25 Nov 2009 22:40:54 +0000 (14:40 -0800)]
s4 torture: Change RAW-SFILEINFO-END-OF-FILE to check for share modes by default
Since the windows behavior appears to be a bug, only check for
the windows-style share mode bug if target=<windows variant> is
specified
Tim Prouty [Wed, 25 Nov 2009 22:38:55 +0000 (14:38 -0800)]
s4 torture: Move target macros to a common header instead of redefining them in multiple files
Michael Adam [Tue, 1 Dec 2009 14:22:20 +0000 (15:22 +0100)]
s3:build: fix detection of CTDB headers on systems without system-libtalloc
Michael
Michael Adam [Tue, 1 Dec 2009 13:55:02 +0000 (14:55 +0100)]
s3:build: fix the build when no external talloc and tdb are installed.
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
Matthias Dieter Wallnöfer [Fri, 20 Nov 2009 10:35:13 +0000 (11:35 +0100)]
s4:torture/raw/lock - Fix "discard const" warnings by introducing "discard_const_p"s
Matthias Dieter Wallnöfer [Sat, 17 Oct 2009 20:36:00 +0000 (22:36 +0200)]
s4:torture/nbt/wins - Add more casts
Matthias Dieter Wallnöfer [Sat, 17 Oct 2009 20:35:21 +0000 (22:35 +0200)]
s4:torture/nbench/nbench - Add a cast before "str_list_make_shell"
Matthias Dieter Wallnöfer [Sat, 17 Oct 2009 20:34:00 +0000 (22:34 +0200)]
s4:torture/ldap/ldap_sort - Add some casts to suppress warnings
Matthias Dieter Wallnöfer [Sat, 17 Oct 2009 20:25:12 +0000 (22:25 +0200)]
s4:schema - Make some more (result) variables const and fix up warnings with "discard_const_p"
Matthias Dieter Wallnöfer [Wed, 25 Nov 2009 08:15:39 +0000 (09:15 +0100)]
util/util_strlist - add a call "const_str_list" for making "unconst" lists "const"
Endi S. Dewata [Tue, 24 Nov 2009 07:00:45 +0000 (01:00 -0600)]
s4:kdc - Merged kdc_tcp_accept() and kpasswdd_tcp_accept().
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Endi S. Dewata [Tue, 24 Nov 2009 04:28:11 +0000 (22:28 -0600)]
s4:kdc - Merged kdc_add_kdc_socket() and kdc_add_kpasswd_socket().
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Endi S. Dewata [Fri, 20 Nov 2009 20:57:11 +0000 (14:57 -0600)]
s4 - Create default modules directory.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Endi S. Dewata [Fri, 20 Nov 2009 14:47:40 +0000 (08:47 -0600)]
s4:kdc - Disable KDC port when it's set to 0.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Andrew Bartlett [Tue, 1 Dec 2009 05:12:53 +0000 (16:12 +1100)]
Merge commit 'origin/master' into abartlet-devel
Andrew Bartlett [Tue, 1 Dec 2009 05:06:59 +0000 (16:06 +1100)]
On our way to Samba4 alpha10!
Andrew Bartlett [Tue, 1 Dec 2009 03:43:55 +0000 (14:43 +1100)]
Fix build of Samba4 from tarball generated by mkrelease.sh
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
Andrew Bartlett [Tue, 1 Dec 2009 02:03:17 +0000 (13:03 +1100)]
Improve upgrade instructions
Andrew Tridgell [Mon, 30 Nov 2009 11:49:39 +0000 (22:49 +1100)]
s4-ldb: the '1' form of extended_dn search is easier to read
The '1' form gives GUIDs and SIDs in the ascii form as normally used
for display.
Andrew Bartlett [Tue, 1 Dec 2009 01:27:09 +0000 (12:27 +1100)]
This is alpha9
Andrew Bartlett [Mon, 30 Nov 2009 22:04:21 +0000 (09:04 +1100)]
s4:setup Adjust upgradeprovision blackbox test now we don't have --targetdir
Matthieu Patou [Sun, 29 Nov 2009 16:44:08 +0000 (19:44 +0300)]
s4: Remove targetdir as it can cause some trouble and can be replaced by an adapted -s smb.conf
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthieu Patou [Sun, 29 Nov 2009 13:26:31 +0000 (16:26 +0300)]
s4: Handle the case in secrets.ldb without name attribute
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthieu Patou [Sat, 28 Nov 2009 23:28:26 +0000 (02:28 +0300)]
s4: don't forget to update defaultSecurityDescriptor
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Matthieu Patou [Fri, 27 Nov 2009 17:50:04 +0000 (20:50 +0300)]
s4: load the domain level of the current provision and create a provision with the same domain level
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Andrew Bartlett [Mon, 30 Nov 2009 07:39:58 +0000 (18:39 +1100)]
s4:ldap.py Add test of namingContext behaviour after tridge found a bug
Tridge found that the partitions.c module was being initialised twice,
and setting the partitions into the rootDSE twice.
Andrew Bartlett
Andrew Bartlett [Mon, 30 Nov 2009 03:46:03 +0000 (14:46 +1100)]
s4:WHATSNEW Nadezhda's acl module handles modifies
Jeremy Allison [Tue, 1 Dec 2009 00:56:35 +0000 (16:56 -0800)]
Fix DEBUG 0 -> DEBUG 10 (left over code).
Fix opendir status return if access denied.
Jeremy.
Jeremy Allison [Tue, 1 Dec 2009 00:50:34 +0000 (16:50 -0800)]
Fix bug 6938 : No hook exists to check creation rights when using acl_xattr module
Fix ACL modules to test for permissions on open/mkdir/opendir.
Ensure that underlying ACLs are returned for directories/files with
no Windows xattr or tdb acls stored.
Jeremy.
Günther Deschner [Tue, 1 Dec 2009 00:22:44 +0000 (01:22 +0100)]
s3-build: taise tdb version when building against system libtdb library.
Try to fix the build on "buildsamba02". At least fixes the build on fedora12
with libtdb-devel-1.1.5-2.fc12.x86_64 installed.
Volker, please check.
Guenther
Michael Adam [Mon, 30 Nov 2009 23:53:03 +0000 (00:53 +0100)]
s3:add split_tokens, a cmdline tool to test next_token_talloc()
Michael
Michael Adam [Fri, 20 Nov 2009 17:25:27 +0000 (18:25 +0100)]
s3:fix linking of the t_str* test programs
Michael
Michael Adam [Fri, 20 Nov 2009 17:24:53 +0000 (18:24 +0100)]
s3:fix linking of libbigballofmud (on my box at least)
Michael
Michael Adam [Fri, 20 Nov 2009 16:48:18 +0000 (17:48 +0100)]
s3:torture: make t_stringoverflow.c compile at least (pstring is long gone)
I don't know whether these t_* programs are used at all any more, but this
one was using pstrcpy...
Michael
Jeremy Allison [Mon, 30 Nov 2009 23:53:04 +0000 (15:53 -0800)]
Restructure the connect function code to always call
down to NEXT-> before initializing. This allows us to
do cleanup (by calling DISCONNECT) if initialization
fails. Also fix vfs_acl_xattr which was failing to
call the NEXT connect function.
Jeremy.
Günther Deschner [Mon, 30 Nov 2009 23:24:16 +0000 (00:24 +0100)]
drsuapi: fix build warning of NDR size calculation of drsuapi_DsReplicaObjectIdentifier3Binary.
The generated size actually does not include the size of the binary itself.
Guenther
Günther Deschner [Mon, 30 Nov 2009 17:10:59 +0000 (18:10 +0100)]
s3-spoolss: fix fstrings in convert_devicemode() function.
Guenther
Volker Lendecke [Mon, 30 Nov 2009 20:48:33 +0000 (21:48 +0100)]
Fix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgets
Karolin Seeger [Mon, 30 Nov 2009 13:53:23 +0000 (14:53 +0100)]
s3:docs: Fix typo in man mount.cifs.
Fix bug #6844 (wrong credential file format in mount.cifs manpage).
Thanks to the Debian Samba package maintainers for reporting!
Karolin
Karolin Seeger [Mon, 30 Nov 2009 12:34:34 +0000 (13:34 +0100)]
s3:docs: Document "aio write behind".
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin
Karolin Seeger [Mon, 30 Nov 2009 11:29:27 +0000 (12:29 +0100)]
s3:docs: Document "ldap page size".
Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).
Karolin