samba.git
14 years agos3:dbwrap_ctdb: increase the number of commit retries 5-->100
Michael Adam [Fri, 4 Dec 2009 13:53:05 +0000 (14:53 +0100)]
s3:dbwrap_ctdb: increase the number of commit retries 5-->100

This is to cope with timeouts when recoveries and transactions collide.
Maybe 100 is too hight, but 10 or even 20 have been too low in a
very busy environment.

Michael

14 years agos3:dbwrap_ctdb: increase the rsn of the __transaction_lock__ when storing
Michael Adam [Fri, 4 Dec 2009 13:49:53 +0000 (14:49 +0100)]
s3:dbwrap_ctdb: increase the rsn of the __transaction_lock__ when storing

so that it is correctly handled by recoveries.
Also set the dmaster explicitly.

Michael

14 years agos3: Fix explicit stat64 support
Volker Lendecke [Sat, 5 Dec 2009 13:27:04 +0000 (14:27 +0100)]
s3: Fix explicit stat64 support

14 years agoMake Samba3 pass the RAW-LOCK test as Windows.
Jeremy Allison [Fri, 4 Dec 2009 22:04:08 +0000 (14:04 -0800)]
Make Samba3 pass the RAW-LOCK test as Windows.

Implement the win7 NT_STATUS_INVALID_LOCK_RANGE.
Make smbd behave as Windows does in canceling locks.

Jeremy.
(cherry picked from commit 32915ceefc718621e2e9b17fee97da82744ab67a)

14 years agos3: bug #6967: Prevent glibc error on net ads join:
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>
14 years agos3 aclocal.m4: Fix iconv checks, clean up m4 code
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.
(cherry picked from commit f5aff324cb9d965bbc75634596c3c40ffc588183)

14 years agoMake sure we're not using the old smb_fname data.
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.
(cherry picked from commit 66c968778d74280bf36342e76c80b617e47ebde5)

14 years agoRemove smb_fname duplicates that just keep the same information as in fsp->fsp_name.
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.
(cherry picked from commit 3fe7dfd1d90374a2e06e1683b8f2c702c471c833)

14 years agoRefactor reply_rmdir to use handle based code. All
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.
(cherry picked from commit 91e0bdd86c9c14f6b9b190db8ce6ec162ce79692)

14 years agoѕ3: remove superfluous option check
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.

14 years agos3: Fix crash in winbindd;(bug#6879).
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>
(cherry picked from commit cdb68bd2b61147df77b7f2de3fb4e29be07e7bd9)

14 years agoRemove unneeded argument from can_set_delete_on_close(). Ensure
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.
(cherry picked from commit dfcc4115ddc7c3bf7a69d7eb747c096cd217b8a6)

14 years agos3-selftest: run LOCAL-NDR when running make selftest.
Günther Deschner [Wed, 2 Dec 2009 23:46:47 +0000 (00:46 +0100)]
s3-selftest: run LOCAL-NDR when running make selftest.

Guenther
(cherry picked from commit 9a3d9abdd8e9737245e3cdd7f31d453c2062dba9)

14 years agos4-smbtorture: be very strict in checking spools_EnumPrinterKey results.
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
(cherry picked from commit 450211b61016a4fed71eb116c1b526af0f365f13)

14 years agospoolss: hand-marshall the spoolss_StringArray2 struct for spoolss_EnumPrinterKey.
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
(cherry picked from commit f32ccc321a5467401781a0e2d4621175b6256368)

14 years agosamba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
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
(cherry picked from commit 5f60855ba2eb822dcb867378ff09278c42931b89)

14 years agospoolss: add spoolss_StringArray2.
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
(cherry picked from commit 292af4fc046ff39ebd3ec853c402dc267a863fa6)

14 years agos3-spoolss: move MAXDEVICENAME to spoolss idl.
Günther Deschner [Tue, 1 Dec 2009 01:38:19 +0000 (02:38 +0100)]
s3-spoolss: move MAXDEVICENAME to spoolss idl.

Guenther
(cherry picked from commit 91bb0659776d397bc4b8ca7a534f6f2327e2e6fe)

14 years agos3:build: remove redundant qnx block size definition
Björn Jacke [Wed, 2 Dec 2009 23:12:53 +0000 (00:12 +0100)]
s3:build: remove redundant qnx block size definition

14 years agoRestructure the ACL code some more, get the internal semantics
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.
(cherry picked from commit 365c6b4ce0bd84bfb1d9cec03bc835b92b1c5af7)

14 years agos3: prefer posix_fallocate for doing "strict allocate"
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.

14 years agos3:build: fix shared library build on QNX
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!

14 years agoEnsure check_parent_acl_common() only looks at stored
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.
(cherry picked from commit 148e79d156d92b41dfe7d6ae6f8cd2e571a3bee6)

14 years agoEnsure get_nt_acl_internal() only looks at the ACL blobs, not
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.
(cherry picked from commit 486c8d57ec5a9aa63aff275621ff45c22b8cde61)

14 years agoFix bug #6837 - "Too many open files" when trying to access large number of files
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.
(cherry picked from commit b6fdecd11210a3d2ff803bdc315aacd9f8b445a1)

14 years agoEnsure we don't see the xattr used to store NT security (visible when xattr_tdb
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.
(cherry picked from commit 8dda4cea660639190c1c7e84355186d07a6e064f)

14 years agos3: Fix smbd to correctly return INVALID_LEVEL on set_file_end_of_file_info for paths
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.
(cherry picked from commit ae649782df6e22c8e1922aaa03c248e5af68a036)

14 years agos3:build: fix detection of CTDB headers on systems without system-libtalloc
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

14 years agos3:build: fix the build when no external talloc and tdb are installed.
Michael Adam [Tue, 1 Dec 2009 14:03:35 +0000 (15:03 +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

14 years agocorrect mail address
Björn Jacke [Tue, 1 Dec 2009 10:48:26 +0000 (11:48 +0100)]
correct mail address

14 years agoConditional install of the cifs.upcall man page
Lars Müller [Mon, 2 Feb 2009 20:12:52 +0000 (21:12 +0100)]
Conditional install of the cifs.upcall man page

Only install the cifs.upcall man page if CIFSUPCALL_PROGS was set while
configure.
(cherry picked from commit 789963de23d46eba41cdd29c7b50100ec47e4361)

Fix bug #6710 (cifs.upcall: Commits e9e2414e and 64982295 are missing in 3.4.1).

14 years agoAdjust regex to match variable names including underscores
Lars Müller [Mon, 2 Feb 2009 20:38:38 +0000 (21:38 +0100)]
Adjust regex to match variable names including underscores

This is required to get the CIFSUPCALL_PROGS setting extracted from
config.log.
(cherry picked from commit 5148eefe1ea6e215dcbf4ffaa642860bd8dab45f)

14 years agoFix DEBUG 0 -> DEBUG 10 (left over code).
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.
(cherry picked from commit 48f40793ae4190ebc9eec83924aeda9e3f16bf0d)

14 years agoFix bug 6938 : No hook exists to check creation rights when using acl_xattr module
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.
(cherry picked from commit bdc8c9d37ca478f74127628ab03bb68cd72bff63)

14 years agodrsuapi: fix build warning of NDR size calculation of drsuapi_DsReplicaObjectIdentifi...
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

14 years agos3-spoolss: fix fstrings in convert_devicemode() function.
Günther Deschner [Mon, 30 Nov 2009 17:10:59 +0000 (18:10 +0100)]
s3-spoolss: fix fstrings in convert_devicemode() function.

Guenther
(cherry picked from commit 753b9c6d566fafee9724a84fbd91316767c1c7a2)

14 years agoRestructure the connect function code to always call
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.
(cherry picked from commit 8303bc49a45d5bab0cdbd4f2d793088f600f715f)

14 years agoFix bug 6546: Avoid accessing buf[-1] if NUL byte comes from fgets
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

14 years agoRevert "s3: Fix commit 9b5f8eb59ed7f65d4c017cd6a9dc668ebf3115b6."
Bo Yang [Mon, 30 Nov 2009 17:05:35 +0000 (01:05 +0800)]
Revert "s3: Fix commit 9b5f8eb59ed7f65d4c017cd6a9dc668ebf3115b6."

This reverts commit 509b42486e5f98343d95100c12969703398a248d.

14 years agoRevert "s3: Fix crash in free_file_list()."
Bo Yang [Mon, 30 Nov 2009 17:05:10 +0000 (01:05 +0800)]
Revert "s3: Fix crash in free_file_list()."

This reverts commit 9b5f8eb59ed7f65d4c017cd6a9dc668ebf3115b6.

14 years agos3:docs: Fix typo in man mount.cifs.
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
(cherry picked from commit 3b7f8a759f57f32a8c1bc2db85236e88f616ffd9)

14 years agos3:docs: Document "aio write behind".
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
(cherry picked from commit fde7c2ab19bc7442d8ee9d85ab2fe54e0cfb4782)

14 years agos3:docs: Document "ldap page size".
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
(cherry picked from commit 9478ec35b5349f50a61bbe2aa88af88577918e91)

14 years agos3: Fix commit 9b5f8eb59ed7f65d4c017cd6a9dc668ebf3115b6.
Bo Yang [Mon, 30 Nov 2009 11:39:33 +0000 (19:39 +0800)]
s3: Fix commit 9b5f8eb59ed7f65d4c017cd6a9dc668ebf3115b6.

Signed-off-by: Bo Yang <boyang@samba.org>
14 years agos4-smbtorture: more and stricter tests for printer and data keys in RPC-SPOOLSS.
Günther Deschner [Fri, 27 Nov 2009 22:14:27 +0000 (23:14 +0100)]
s4-smbtorture: more and stricter tests for printer and data keys in RPC-SPOOLSS.

Guenther
(cherry picked from commit 8f6df5d3ec31a8c3dedfdfc506c44e03026d8485)

14 years agos3-kerberos: fix the build on Mac OS X 10.6.2.
Günther Deschner [Fri, 27 Nov 2009 19:08:44 +0000 (20:08 +0100)]
s3-kerberos: fix the build on Mac OS X 10.6.2.

Guenther
(cherry picked from commit 51328a7056918bc75a7c1c442f47cf0271075542)

14 years agos3-kerberos: add a missing reference to authdata headers.
Günther Deschner [Fri, 27 Nov 2009 17:51:56 +0000 (18:51 +0100)]
s3-kerberos: add a missing reference to authdata headers.

Guenther
(cherry picked from commit da79cbb0800dd647be864e8bbb5fe1132708174b)

14 years agos3-kerberos: do not include authdata headers before including krb5 headers.
Günther Deschner [Fri, 27 Nov 2009 17:30:18 +0000 (18:30 +0100)]
s3-kerberos: do not include authdata headers before including krb5 headers.

Guenther
(cherry picked from commit ae207370667a12db53362ee5dcdab8e6d4bb388f)

14 years agos3-spoolss: simplify _spoolss_EnumPrinterKey a little more.
Günther Deschner [Thu, 26 Nov 2009 18:01:54 +0000 (19:01 +0100)]
s3-spoolss: simplify _spoolss_EnumPrinterKey a little more.

Guenther
(cherry picked from commit e512ccb5b677fa7f285829ec645fc067837c0e11)

14 years agos3-kerberos: only use krb5 headers where required.
Günther Deschner [Fri, 27 Nov 2009 14:52:57 +0000 (15:52 +0100)]
s3-kerberos: only use krb5 headers where required.

This seems to be the only way to deal with mixed heimdal/MIT setups during
merged build.

Guenther
(cherry picked from commit 04f8c229de7ffad5f4ec1a0bb68c2c8b4ccf4e15)

14 years agomisc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.
Günther Deschner [Fri, 27 Nov 2009 10:18:30 +0000 (11:18 +0100)]
misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.

Guenther
(cherry picked from commit 23d77be6cb8847cbdad859269faf59fea30b27b8)

14 years agopidl: fix handling of output arguments in s3 client stubs.
Günther Deschner [Fri, 27 Nov 2009 15:06:40 +0000 (16:06 +0100)]
pidl: fix handling of output arguments in s3 client stubs.

a20e095 used (uint8_t) instead of (uint8_t *).

Guenther
(cherry picked from commit 79f82998b1aa8349f76a4c82c17daf7e03cdb41a)

14 years agos3-nsstest: drastically shrink size and dependencies of nsstest binary.
Günther Deschner [Thu, 25 Jun 2009 16:18:50 +0000 (18:18 +0200)]
s3-nsstest: drastically shrink size and dependencies of nsstest binary.

The size went down from 6.4M to 104K on my box.

Guenther
(cherry picked from commit d6c60f8447ce92a15d48a35d3f21d881c4428663)

14 years agos3-kerberos: Fix Bug #6929: build with recent heimdal.
Günther Deschner [Fri, 27 Nov 2009 00:06:36 +0000 (01:06 +0100)]
s3-kerberos: Fix Bug #6929: build with recent heimdal.

Heimdal changed the KRB5_DEPRECATED define (which now may not take an identifier
for activation) in new releases (like 1.3.1).

Guenther
(cherry picked from commit 1a8f8382740e352a83133b8c49aaedd4716210cd)

14 years agos3-spoolss: use macros to fillup driver levels.
Günther Deschner [Thu, 26 Nov 2009 22:46:50 +0000 (23:46 +0100)]
s3-spoolss: use macros to fillup driver levels.

Guenther
(cherry picked from commit 49e464cef5ed75976fcd6c544bffbd4391f3a1b6)

14 years agos3: Fix crash in free_file_list().
Bo Yang [Mon, 30 Nov 2009 09:30:25 +0000 (17:30 +0800)]
s3: Fix crash in free_file_list().

Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 62a27325d99cf4371fe98d049110e585dd209c98)

14 years agos3:docs: Document "enable core files".
Karolin Seeger [Mon, 30 Nov 2009 10:40:06 +0000 (11:40 +0100)]
s3:docs: Document "enable core files".

Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).

Karolin
(cherry picked from commit b03ad70848e6ea889f382c0cb9f21057370f1ab6)

14 years agos3:docs: Document "cache directory" and "state directory".
Karolin Seeger [Mon, 30 Nov 2009 10:04:50 +0000 (11:04 +0100)]
s3:docs: Document "cache directory" and "state directory".

Part of a fix for bug #6890 (Some smb.conf parameters are undocumented).

Karolin
(cherry picked from commit 0003b5fad1dee687bc15dfad9f71b6dfc40556d7)

14 years agos3: Fix bug 6288
Volker Lendecke [Sun, 29 Nov 2009 22:31:45 +0000 (23:31 +0100)]
s3: Fix bug 6288

14 years agos3: Fix an uninitialized variable reference
Volker Lendecke [Sun, 29 Nov 2009 21:57:19 +0000 (22:57 +0100)]
s3: Fix an uninitialized variable reference

14 years agos3: Restore "fake directory create times" as a share parameter
Volker Lendecke [Fri, 27 Nov 2009 14:44:50 +0000 (15:44 +0100)]
s3: Restore "fake directory create times" as a share parameter

14 years agos3: "copy_reg" only looks at mode, uid, gid, atime and mtime (no birthtime)
Volker Lendecke [Fri, 27 Nov 2009 14:10:23 +0000 (15:10 +0100)]
s3: "copy_reg" only looks at mode, uid, gid, atime and mtime (no birthtime)

14 years agos3: Pass up fake_dir_create_times from atalk_build_paths
Volker Lendecke [Fri, 27 Nov 2009 13:58:46 +0000 (14:58 +0100)]
s3: Pass up fake_dir_create_times from atalk_build_paths

The callers only look at the mode

14 years agos3: Move directory_exist_stat to testparm.c, it only looks at the mode
Volker Lendecke [Fri, 27 Nov 2009 12:19:30 +0000 (13:19 +0100)]
s3: Move directory_exist_stat to testparm.c, it only looks at the mode

14 years agos3: Pass fake_dir_create_times down to file_exist_stat, none of the callers look...
Volker Lendecke [Fri, 27 Nov 2009 12:17:05 +0000 (13:17 +0100)]
s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers look at the mtime

14 years agos3: "startsmbfilepwent" only looks at the inode -- is that enough?
Volker Lendecke [Fri, 27 Nov 2009 12:12:40 +0000 (13:12 +0100)]
s3: "startsmbfilepwent" only looks at the inode -- is that enough?

14 years agos3: "get_file_size" only looks at the size
Volker Lendecke [Fri, 27 Nov 2009 12:11:17 +0000 (13:11 +0100)]
s3: "get_file_size" only looks at the size

14 years agos3: "socket_exist" only looks at the mode
Volker Lendecke [Fri, 27 Nov 2009 12:10:48 +0000 (13:10 +0100)]
s3: "socket_exist" only looks at the mode

14 years agos3: "sys_path_to_bdev" only looks at the devicenumber
Volker Lendecke [Fri, 27 Nov 2009 12:08:51 +0000 (13:08 +0100)]
s3: "sys_path_to_bdev" only looks at the devicenumber

14 years agos3: "check_log_size" only looks at the size
Volker Lendecke [Fri, 27 Nov 2009 12:07:54 +0000 (13:07 +0100)]
s3: "check_log_size" only looks at the size

14 years agos3: "regf_hbin_allocate" only looks at the size
Volker Lendecke [Fri, 27 Nov 2009 12:07:12 +0000 (13:07 +0100)]
s3: "regf_hbin_allocate" only looks at the size

14 years agos3: "read_block" only looks at the size
Volker Lendecke [Fri, 27 Nov 2009 12:06:44 +0000 (13:06 +0100)]
s3: "read_block" only looks at the size

14 years agos3: "write_block" does not use the sbuf at all
Volker Lendecke [Fri, 27 Nov 2009 12:06:14 +0000 (13:06 +0100)]
s3: "write_block" does not use the sbuf at all

14 years agos3: "net_conf_addshare" only looks at the mode
Volker Lendecke [Fri, 27 Nov 2009 12:05:16 +0000 (13:05 +0100)]
s3: "net_conf_addshare" only looks at the mode

14 years agos3: "net_usershare_add" only looks at the mode, device and inode
Volker Lendecke [Fri, 27 Nov 2009 12:04:38 +0000 (13:04 +0100)]
s3: "net_usershare_add" only looks at the mode, device and inode

14 years agos3: "net_usershare_add" only looks at the device and inode
Volker Lendecke [Fri, 27 Nov 2009 12:04:18 +0000 (13:04 +0100)]
s3: "net_usershare_add" only looks at the device and inode

14 years agos3: "net_usershare_add" only looks at the mode and uid
Volker Lendecke [Fri, 27 Nov 2009 12:03:09 +0000 (13:03 +0100)]
s3: "net_usershare_add" only looks at the mode and uid

14 years agos3: "count_num_usershares" only looks at the mode
Volker Lendecke [Fri, 27 Nov 2009 12:02:26 +0000 (13:02 +0100)]
s3: "count_num_usershares" only looks at the mode

14 years agos3: "info_fn" only looks at the mode and uid
Volker Lendecke [Fri, 27 Nov 2009 12:01:46 +0000 (13:01 +0100)]
s3: "info_fn" only looks at the mode and uid

14 years agos3: "get_share_list" only looks at the mode and uid
Volker Lendecke [Fri, 27 Nov 2009 12:00:51 +0000 (13:00 +0100)]
s3: "get_share_list" only looks at the mode and uid

14 years agos3: "cgi_download" only looks at the mode and size
Volker Lendecke [Fri, 27 Nov 2009 12:00:10 +0000 (13:00 +0100)]
s3: "cgi_download" only looks at the mode and size

14 years agos3: "print_job_end" only looks at the size
Volker Lendecke [Fri, 27 Nov 2009 11:59:11 +0000 (12:59 +0100)]
s3: "print_job_end" only looks at the size

14 years agos3: "check_magic" only looks at the size
Volker Lendecke [Fri, 27 Nov 2009 11:58:26 +0000 (12:58 +0100)]
s3: "check_magic" only looks at the size

14 years agos3: "disk_quotas" only looks at the devicenumber
Volker Lendecke [Fri, 27 Nov 2009 11:57:43 +0000 (12:57 +0100)]
s3: "disk_quotas" only looks at the devicenumber

14 years agos3: "load_usershare_shares" only looks at the mode and uid
Volker Lendecke [Fri, 27 Nov 2009 11:53:48 +0000 (12:53 +0100)]
s3: "load_usershare_shares" only looks at the mode and uid

14 years agos3: "load_usershare_service" only looks at the mode and uid
Volker Lendecke [Fri, 27 Nov 2009 11:53:23 +0000 (12:53 +0100)]
s3: "load_usershare_service" only looks at the mode and uid

14 years agos3: "usershare_exists" only looks at the mode and mtime
Volker Lendecke [Fri, 27 Nov 2009 11:52:31 +0000 (12:52 +0100)]
s3: "usershare_exists" only looks at the mode and mtime

14 years agos3: "process_usershare_file" only looks at the dev, ino, mode and size
Volker Lendecke [Fri, 27 Nov 2009 11:51:56 +0000 (12:51 +0100)]
s3: "process_usershare_file" only looks at the dev, ino, mode and size

14 years agos3: "process_usershare_file" only looks at the mode and size
Volker Lendecke [Fri, 27 Nov 2009 11:51:04 +0000 (12:51 +0100)]
s3: "process_usershare_file" only looks at the mode and size

14 years agos3: "parse_usershare_file" only looks at the mode and uid
Volker Lendecke [Fri, 27 Nov 2009 11:49:42 +0000 (12:49 +0100)]
s3: "parse_usershare_file" only looks at the mode and uid

14 years agos3: "tar_parseargs" only looks at the mtime
Volker Lendecke [Fri, 27 Nov 2009 11:48:33 +0000 (12:48 +0100)]
s3: "tar_parseargs" only looks at the mtime

14 years agos3: "dotareof" only looks at the file type
Volker Lendecke [Fri, 27 Nov 2009 11:47:57 +0000 (12:47 +0100)]
s3: "dotareof" only looks at the file type

14 years agos3: client "newer" does not look at the create timestamp
Volker Lendecke [Fri, 27 Nov 2009 11:44:33 +0000 (12:44 +0100)]
s3: client "newer" does not look at the create timestamp

14 years agos3: Pass the "fake dir create times" parameter to sys_*stat
Volker Lendecke [Fri, 27 Nov 2009 11:42:39 +0000 (12:42 +0100)]
s3: Pass the "fake dir create times" parameter to sys_*stat

Step 0 to restore it as a per-share paramter

14 years agoWHATSNEW: Start 3.5.0pre2 release notes.
Karolin Seeger [Fri, 27 Nov 2009 14:03:15 +0000 (15:03 +0100)]
WHATSNEW: Start 3.5.0pre2 release notes.

Karolin

14 years agoVERSION: Raise version number up to 3.5.0pre2.
Karolin Seeger [Fri, 27 Nov 2009 14:01:52 +0000 (15:01 +0100)]
VERSION: Raise version number up to 3.5.0pre2.

Karolin

14 years agos3-smbd: no drsuapi server stubs yet in s3. Fixes the build, sorry.
Günther Deschner [Thu, 26 Nov 2009 19:26:01 +0000 (20:26 +0100)]
s3-smbd: no drsuapi server stubs yet in s3. Fixes the build, sorry.

Guenther
(cherry picked from commit 89e02ef1f395d9662c20623bb81e40ba25d10bb4)

14 years agos3-rpc: running minimal_includes.pl on rpc_client and rpc_server.
Günther Deschner [Thu, 26 Nov 2009 19:17:07 +0000 (20:17 +0100)]
s3-rpc: running minimal_includes.pl on rpc_client and rpc_server.

Guenther
(cherry picked from commit 5d706a2fd4d5d0489b55d79250c68154600c4102)

14 years agos3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
Günther Deschner [Thu, 26 Nov 2009 17:21:28 +0000 (18:21 +0100)]
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.

Guenther
(cherry picked from commit 3d679a3b5fc208d8521217f6a4b4d9037b609b9b)

14 years agos3-passdb: move some defines out of rpc headers (they really belong to passdb).
Günther Deschner [Thu, 26 Nov 2009 17:15:39 +0000 (18:15 +0100)]
s3-passdb: move some defines out of rpc headers (they really belong to passdb).

Guenther
(cherry picked from commit 86f4536b7a128922b5d5808557e70fa243442361)