Karolin Seeger [Fri, 19 Dec 2008 13:57:33 +0000 (14:57 +0100)]
WHATSNEW: Prepare WHATSNEW for 3.2.7.
Karolin
(cherry picked from commit
0730f4e464b249ffe2319e98902ed96089f3230b)
Karolin Seeger [Fri, 19 Dec 2008 13:45:36 +0000 (14:45 +0100)]
VERSION: Raise version number up to 3.2.7.
Karolin
(cherry picked from commit
33b904c7003e85362eb991c9475991f35b576fd1)
Michael Adam [Thu, 18 Dec 2008 17:01:55 +0000 (18:01 +0100)]
smbd: prevent access to root filesystem when connecting with empty service name
This only applies to a setup with "registry shares = yes"
Michael
(cherry picked from commit
288fa94ac7cfdf7457b5098c33fc840bed3d5410)
Michael Adam [Thu, 25 Dec 2008 22:32:16 +0000 (23:32 +0100)]
idmap_tdb2: fix two nonempty blank lines.
This removes the remaining diff between idmap_tdb2 in
v3-2-ctdb an master/v3-3-test.
Michael
Michael Adam [Thu, 25 Dec 2008 22:21:36 +0000 (23:21 +0100)]
idmap_tdb2: use transactions in tdb store operations.
These two dbwrap_trans_store_int32 calls got lost in commit
cf9baeed210cb5ebddbb1c56a2c49d16eb24c49f
(remove "idmap alloc config : range" parameter).
The problem seems to have been that the idmap rewrite
was originally done in v3-3-test before the switch of idmap_tdb2
to transactions while in v3-2-ctdb, the order was reversed.
Michael
Michael Adam [Thu, 25 Dec 2008 20:55:49 +0000 (21:55 +0100)]
dbwrap_ctdb: Remove some trailing tabs.
This is to synchronise dbwrap_ctdb.c more with upstream branches
v3-3-test and master.
Michael
Michael Adam [Thu, 18 Dec 2008 00:45:48 +0000 (01:45 +0100)]
packaging(RHEL-CTDB): Bump release number to ctdb.53 for the next RPM.
Michael
Michael Adam [Wed, 17 Dec 2008 21:27:39 +0000 (22:27 +0100)]
packaging(RHEL-CTDB): fix typo in [u]mount.cifs installation
Michael
Michael Adam [Wed, 17 Dec 2008 17:58:25 +0000 (18:58 +0100)]
Revert "VERSION: add "ctdb" vendor suffix"
This reverts commit
cd6a7fabe82db4d90699b6827fed5bc00877e788.
This needs discussion first.
Michael
Michael Adam [Wed, 17 Dec 2008 17:56:34 +0000 (18:56 +0100)]
packaging(RHEL-CTDB): fix build of [u]mount.cifs
mount.cifs is now built by make everything.
And it needs extra objects anyways (mtab.o),
which is why the build of mount.cifs failed.
Michael
Michael Adam [Wed, 17 Dec 2008 15:59:24 +0000 (16:59 +0100)]
packaging(RHEL-CTDB): Fix accidential linebreak
Michael
Volker Lendecke [Sun, 14 Dec 2008 23:16:56 +0000 (00:16 +0100)]
Add the "net groupfilter" command
This is the start of a bad hack for even worse systems: Many Unix systems still
have the NGROUPS problem: A user can not be member of more than a very limited
number of groups. Solaris for example limits this to 16 by default. Many
Windows environments have a *LOT* more groups per user, some even go to
hundreds. Whether that is efficient is debatable, but it's there.
This patch implements the
"net groupfilter"
command with the "addsid", "delsid" and "list" subcommands. If any SIDs are
present according to "net groupfilter list" (they are stored in secrets.tdb),
then only the SIDs in that list are converted to GIDs for a user at login time.
This gives the Administrator the possibility to define a set of groups that are
used on the Unix box, making sure that no user is in more than NGROUPS of those
at a time.
This patch is incomplete in the sense that winbind is not aware of this, only
smbd. So it is kind of an emergency hack for smbd-only machines.
Volker
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Wed, 10 Dec 2008 12:58:24 +0000 (13:58 +0100)]
also search for -lgpfs
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Wed, 10 Dec 2008 11:32:24 +0000 (12:32 +0100)]
Make use of smbd_gpfs_get_realfilename_path in unix_convert
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Wed, 10 Dec 2008 02:22:04 +0000 (03:22 +0100)]
Fix nonempty blank lines in vfs_gpfs.c
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Wed, 10 Dec 2008 02:17:19 +0000 (03:17 +0100)]
Pass the get_real_filename operation through the VFS
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Wed, 10 Dec 2008 02:03:51 +0000 (03:03 +0100)]
Change get_real_filename() to unix syscall conventions, make it non-static
It sets errno, so it might as well return 0/-1.
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Tue, 9 Dec 2008 12:50:22 +0000 (13:50 +0100)]
Apply some const
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Tue, 9 Dec 2008 12:40:41 +0000 (13:40 +0100)]
Rename "scan_directory" to "get_real_filename"
Signed-off-by: Michael Adam <obnox@samba.org>
Volker Lendecke [Tue, 2 Dec 2008 16:37:42 +0000 (17:37 +0100)]
Fix shadow_copy2 for "wide links = yes"
Signed-off-by: Michael Adam <obnox@samba.org>
Karolin Seeger [Wed, 10 Dec 2008 08:28:49 +0000 (09:28 +0100)]
WHATSNEW: Update changes.
Karolin
Karolin Seeger [Tue, 9 Dec 2008 16:39:03 +0000 (17:39 +0100)]
WHATSNEW: Update changes.
Karolin
Karolin Seeger [Tue, 9 Dec 2008 16:35:49 +0000 (17:35 +0100)]
WHATSNEW: Fix entry.
Karolin
Karolin Seeger [Tue, 9 Dec 2008 16:17:50 +0000 (17:17 +0100)]
WHATSNEW: Update changes for 3.2.6.
Karolin
Karolin Seeger [Tue, 18 Nov 2008 15:17:17 +0000 (16:17 +0100)]
WHATSNEW: Update WHATSNEW for 3.2.5.
Karolin
Karolin Seeger [Thu, 23 Oct 2008 10:04:02 +0000 (12:04 +0200)]
WHATSNEW: Update changes since 3.2.4.
Karolin
Karolin Seeger [Tue, 21 Oct 2008 13:12:57 +0000 (15:12 +0200)]
WHATSNEW: Update changes.
Karolin
Karolin Seeger [Wed, 15 Oct 2008 18:33:59 +0000 (20:33 +0200)]
WHATSNEW: Update changes since 3.2.4.
Karolin
Karolin Seeger [Wed, 15 Oct 2008 18:23:24 +0000 (20:23 +0200)]
WHATSNEW: Update changes since 3.2.4.
Karolin
Karolin Seeger [Thu, 18 Sep 2008 13:58:02 +0000 (15:58 +0200)]
WHATSNEW: Start WHATSNEW for 3.2.5.
Karolin
Karolin Seeger [Thu, 18 Sep 2008 06:46:54 +0000 (08:46 +0200)]
WHATSNEW: Improve description of Simo's bug fix.
Karolin
Karolin Seeger [Wed, 17 Sep 2008 13:32:51 +0000 (15:32 +0200)]
WHATSNEW: Update changes since 3.2.3.
Karolin
Karolin Seeger [Tue, 16 Sep 2008 07:54:12 +0000 (09:54 +0200)]
WHATSNEW: Update changes since 3.2.3.
Karolin
Karolin Seeger [Mon, 15 Sep 2008 09:08:06 +0000 (11:08 +0200)]
WHATSNEW: Update changes since 3.2.3.
Karolin
Karolin Seeger [Thu, 11 Sep 2008 14:09:32 +0000 (16:09 +0200)]
WHATSNEW: Update changes since 3.2.3.
Karolin
Michael Adam [Tue, 16 Dec 2008 16:06:31 +0000 (17:06 +0100)]
VERSION: set version to 3.2.6 - that's where we are
Michael
Michael Adam [Tue, 16 Dec 2008 16:05:55 +0000 (17:05 +0100)]
VERSION: add "ctdb" vendor suffix
Michael
Karolin Seeger [Tue, 16 Dec 2008 08:04:32 +0000 (09:04 +0100)]
docs: Fix typo in the idmap_ad manpage.
Karolin
(cherry picked from commit
b876e1336bed52e0823e0e88381d223bd6aa95e4)
(cherry picked from commit
611ac35a694930693d2f773d15e59be138261a8e)
Stefan Metzmacher [Tue, 16 Dec 2008 09:40:32 +0000 (10:40 +0100)]
s3:net_status: use dbwrap to open sessionid.tdb
metze
(cherry picked from commit
8891b2b0215a3609fcc8c5f9aa3e2fbcf05c6290)
(cherry picked from commit
598bf8fbe38d76adca2e067c90987d9cd31e8a3e)
Volker Lendecke [Mon, 15 Dec 2008 11:46:04 +0000 (12:46 +0100)]
Fix bug 5969: Optimize smbclient put command
This used to be checkin
3f0406f6 to master
Volker Lendecke [Sat, 13 Dec 2008 21:14:58 +0000 (13:14 -0800)]
Fix error code when smbclient puts a file over an existing directory
Windows returns NT_STATUS_FILE_IS_A_DIRECTORY, as does Samba 3.0. 3.2 and
following returned NT_STATUS_INVALID_PARAMETER which is wrong.
Before I converted reply_open_and_X to create_file() we called
open_file_ntcreate directly. Passing through open&X for a filename that exists
as a directory ends up in open_directory after having tried open_file_ntcreate.
Some check in there returns NT_STATUS_INVALID_PARAMETER. With this additional
FILE_NON_DIRECTORY_FILE flag we get the correct error message back from
create_file_unixpath before trying open_directory().
Survives make test, but as this also touches the other open variants I would
like others to review this.
Volker
Stefan Metzmacher [Fri, 21 Nov 2008 07:28:13 +0000 (08:28 +0100)]
s3:dsgetdcname: retry with the clients site
metze
(cherry picked from commit
1b7b0e924f3064a9774fd5d46bedc3d342b39ddb)
(cherry picked from commit
f7a811f2ae3572791035014b6e20410b07ea011e)
Stefan Metzmacher [Fri, 21 Nov 2008 07:22:38 +0000 (08:22 +0100)]
s3:libnet_join: use DS_FORCE_REDISCOVERY
metze
(cherry picked from commit
2bb91392b46e347fe3b6803d10b10d8b40e4a4a6)
(cherry picked from commit
134893ef2b12b4b039c717588a8172613f6d1955)
Stefan Metzmacher [Mon, 27 Oct 2008 18:40:23 +0000 (19:40 +0100)]
s3:libnet_join: call saf_join_store() after a the join.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(similar to commit
feef594d275881466e2c3f59c0ff54609a9cc53b)
(cherry picked from commit
6a993cb333675f4079d439fa334edee2df604933)
(cherry picked from commit
8314ce63ff77f0472d4249adcea87123b3b3f5c2)
Stefan Metzmacher [Mon, 27 Oct 2008 18:39:30 +0000 (19:39 +0100)]
s3:libads/ldap.c: store the dc name in the saf cache as in all other places
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
543fa85a711337e979c7b631bda5db95d109ef59)
(cherry picked from commit
17efebde11eafd065c2cac39cdbe55b8d40d40be)
(cherry picked from commit
9e78bfdbe107519f2ddfa4d532771945a7691b46)
Stefan Metzmacher [Mon, 27 Oct 2008 18:38:15 +0000 (19:38 +0100)]
s3:libads/ldap.c: if the client belongs to no site at all any dc is the closest
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
f86ef9b53a903485deba94febf90dd4e657cc02b)
(cherry picked from commit
a8040d59659e58c5cb92c1107a7ff012eff12729)
(cherry picked from commit
7baceea20252dec6b64e86ec8b5a73b62b373758)
Stefan Metzmacher [Mon, 27 Oct 2008 18:36:25 +0000 (19:36 +0100)]
s3:libads/ldap.c: pass the real workgroup name to get_dc_name()
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
c2d4a84abe1b6cbf68d6e9f1bb1f8974d0b628fc)
(cherry picked from commit
2f27ffc4a2ba745341a5961b8f04e62da3fb089a)
(cherry picked from commit
132911954715bfa6df8566c0fb382ef07a7da96e)
Stefan Metzmacher [Sat, 13 Dec 2008 11:18:32 +0000 (12:18 +0100)]
s3:libsmb/namequery.c: add saf_join_store() function
saf_join_store() should be called after a successful
domain join, the affinity to the dc used at join time
has a larger ttl, to avoid problems with delayed replication.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
80e74a27c55c01221091e3eec930c2ac4433c22c)
(cherry picked from commit
895c40d03a07182c054a6fd857e7dd6838e698f4)
(cherry picked from commit
7b56268b3c9652e3089bd75e4e51dd626fa742a6)
Stefan Metzmacher [Mon, 27 Oct 2008 08:40:25 +0000 (09:40 +0100)]
s3: libsmb/namequery: fallback to returning all dcs, when none is available in the requested site
It could happen that all dcs in a site are unavailable
(some sites have only one dc) and then we need to fallback
to get all dcs.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
c127367b1dd622eeceb1f47de0a047c297dda222)
(cherry picked from commit
0c43f96330f2935805ba4f0f8f858a027a90bc4c)
(cherry picked from commit
caaf59383ceabdc555f7db098dae0455dea65023)
Stefan Metzmacher [Wed, 22 Oct 2008 09:14:10 +0000 (11:14 +0200)]
s3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP case
We use get_dc_name() for LDAP because it generates the selfwritten
krb5.conf with the correct kdc addresses and sets KRB5_CONFIG.
For CLDAP we need to use get_sorted_dc_list() to avoid recursion.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
d2f7f81f4d61bae9c4be65cbc1bf962b6c24a31f)
(cherry picked from commit
7f779450cb0b0d9f36665c56c4acd0950daaeab2)
(cherry picked from commit
95c9a0272a72c029d75c3ffd1b5fad360b30f139)
Stefan Metzmacher [Wed, 22 Oct 2008 08:36:21 +0000 (10:36 +0200)]
s3: correctly detect if the current dc is the closest one
ads->config.tried_closest_dc was never set.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit
dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)
(cherry picked from commit
588f5aae669910fee6da7f807f330163496b4170)
(cherry picked from commit
b609f41baa035a15dafb18b2ec569a2b96968b17)
Michael Adam [Fri, 29 Aug 2008 15:55:28 +0000 (17:55 +0200)]
libnet_join: streamline logic of libnet_join_post_processing()
Michael
(cherry picked from commit
81cc1af1e699e454fbb1d12636d002f845231006)
(cherry picked from commit
3ea63ec10c37460253fbe68d63576e0cd8783c11)
Michael Adam [Fri, 29 Aug 2008 15:43:12 +0000 (17:43 +0200)]
libnet: fix join by creating keytab after changing the config.
Michael
(cherry picked from commit
96d1c780bf9524b929e6026776602a5288aea73d)
(cherry picked from commit
298e5b663b1d6b469d130041dbed151801a45d1e)
Herb Lewis [Fri, 12 Dec 2008 21:47:10 +0000 (13:47 -0800)]
don't return 0 on error - bad for scripts
SATOH Fumiyasu [Fri, 12 Dec 2008 16:43:51 +0000 (17:43 +0100)]
winbindd: vars for signals must be volatile sig_atomic_t
Karolin Seeger [Fri, 12 Dec 2008 13:30:01 +0000 (14:30 +0100)]
docs: Add hint that "socket address" usually don't need to be set.
This fixes bug #5950.
Thanks to the Debian Samba package maintainers for reporting!
Karolin
(cherry picked from commit
19beef0dd9354296ae79d32077c58fbacf570c85)
(cherry picked from commit
0d035d36bd3707ccb9f77f0b2730869dc78719d4)
(cherry picked from commit
6be19f94802d545cc43286aa242b0ca2e5b79721)
Jeff Layton [Fri, 12 Dec 2008 12:08:30 +0000 (07:08 -0500)]
mount.cifs: allow mounts to ipv6 capable servers
The current name resolution scheme in mount.cifs is IPv4 only. Expand
it to be protocol-independent. Also take advantage of the fact that
getaddrinfo() returns a list of addresses and have mount.cifs try each
in turn until it hits one that's reachable and allows the socket to
connect.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Karolin Seeger [Thu, 11 Dec 2008 17:08:29 +0000 (18:08 +0100)]
Samba3-HOWTO: Fix usage of 'net idmap restore'.
This fixes bug #5883.
Karolin
(cherry picked from commit
b4a4e635246b88277b235fa343eda48bd4bb4ce3)
(cherry picked from commit
5744177740120524740db884564142df19358ae7)
(cherry picked from commit
7584fe4e8bcbaf73f509d6981a70ff9dde92db1c)
Jeremy Allison [Thu, 11 Dec 2008 01:04:45 +0000 (17:04 -0800)]
Make the LookupRid access check match LookupName until
we know the correct bits to use here.
Jeremy.
Jeremy Allison [Wed, 10 Dec 2008 23:22:02 +0000 (15:22 -0800)]
Fix usrmgr opening a user object as non-root.
Jeremy.
Günther Deschner [Fri, 28 Nov 2008 23:12:26 +0000 (00:12 +0100)]
s3-libnetjoin: Fix bug #5749. Re-set acctflags while joining. fix from metze.
Guenther
(cherry picked from commit
bc3a277455dd4557e796ddc0bef0f52a11f889e7)
Günther Deschner [Fri, 28 Nov 2008 23:10:18 +0000 (00:10 +0100)]
s3-libnetjoin: remove unused md4_trust_password, found by metze.
Guenther
(cherry picked from commit
f479fdc29813c3452fd22c4a2780f0bc5066e664)
Günther Deschner [Fri, 28 Nov 2008 10:15:29 +0000 (11:15 +0100)]
s3-samr: add init_samr_user_info25 and init_samr_user_info26.
Guenther
Günther Deschner [Mon, 24 Nov 2008 17:49:37 +0000 (18:49 +0100)]
s3-samr: fix init_samr_user_info{23,24} callers.
Guenther
Günther Deschner [Wed, 30 Jul 2008 17:52:56 +0000 (19:52 +0200)]
rpc_client: use init_samr_CryptPassword(Ex) in client tools.
Guenther
(cherry picked from commit
97f7f9f21f17e8414de15953cf4eaa9959dc6f75)
Günther Deschner [Fri, 18 Jul 2008 18:42:55 +0000 (20:42 +0200)]
rpc_client: add init_samr_CryptPasswordEx and init_samr_CryptPassword.
Guenther
Günther Deschner [Tue, 18 Nov 2008 16:06:53 +0000 (17:06 +0100)]
s3: merge german pam_winbind message translations from
Guenther
(cherry picked from commit
aa0ef2f97d98e7ca80636a4dc8093d2034d0dbf1)
Günther Deschner [Mon, 24 Nov 2008 15:32:18 +0000 (16:32 +0100)]
s3-build: re-run make samba3-idl.
Guenther
(cherry picked from commit
c28e83417dc67083b06fb060f5382ceb082bbdcd)
Günther Deschner [Mon, 24 Nov 2008 15:31:49 +0000 (16:31 +0100)]
samr: fix samr_UserInfo24 and samr_UserInfo26.
Guenther
(cherry picked from commit
0315308cbc724bbf54b7767b4af307217833f541)
SATOH Fumiyasu [Tue, 9 Dec 2008 22:26:39 +0000 (14:26 -0800)]
Fix bug #5688 LPQ process is orphaned if socket address parameter is invalid
Karolin please pull for 3-2-stable.
Jeremy
Karolin Seeger [Tue, 9 Dec 2008 21:08:13 +0000 (22:08 +0100)]
build-docs: Change to the right directory before calling 'make clean'.
This fixes build-docs if it's called from the create-tarball script.
Karolin
Karolin Seeger [Wed, 19 Nov 2008 12:16:38 +0000 (13:16 +0100)]
build-docs: Use 'git clean' instead of 'git-clean'.
Karolin
(cherry picked from commit
12e72140b944f844e7f44f21a087ab4a4ecc51a7)
Günther Deschner [Tue, 9 Dec 2008 16:28:15 +0000 (17:28 +0100)]
s3-ldapsam: Fix Bug 5957: do not abort rename process on valid rename script.
Guenther
Jeremy Allison [Mon, 8 Dec 2008 22:02:59 +0000 (14:02 -0800)]
Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault.
Karolin: must be in 3.2-stable. Thanks,
Jeremy.
Dan Sledz [Sat, 6 Dec 2008 01:29:38 +0000 (17:29 -0800)]
Fix logging to syslog
Tomasz Krasuski [Sat, 6 Dec 2008 00:30:55 +0000 (16:30 -0800)]
Fix bug #5928 - Option --version in testparm does not work.
Yasuma Takeda [Fri, 5 Dec 2008 21:38:06 +0000 (13:38 -0800)]
Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf
Volker Lendecke [Fri, 5 Dec 2008 21:21:19 +0000 (13:21 -0800)]
Fix for crash bug freeing a non-malloc'ed buffer if the client sends a non-encrypted packet with the crypto state set.
Jeremy Allison [Thu, 4 Dec 2008 23:33:27 +0000 (15:33 -0800)]
Fix bug #5937 - filenames with "*" char hide other files
Jeremy.
Jeremy Allison [Thu, 4 Dec 2008 18:23:06 +0000 (10:23 -0800)]
Fix bug #1254 - write list not working under share-level security
Jeremy.
Stefan Metzmacher [Thu, 4 Dec 2008 11:26:03 +0000 (12:26 +0100)]
s3:net: fix password set of 'net rpc trustdom add'
metze
(cherry-picked from commit
2b8f3e253d3a56aac996287f5ce265d0c915b3c8)
(cherry picked from commit
e1e76f19cf9c72abe4086965846b2d438cfbdd00)
Tim Prouty [Wed, 3 Dec 2008 18:37:03 +0000 (10:37 -0800)]
Change sockaddr util function names for consistency and to eliminate name conflicts
Stefan Metzmacher [Wed, 3 Dec 2008 08:07:00 +0000 (09:07 +0100)]
libwbclient: avoid usage talloc_init() in library code
talloc_init() is a compat function for the old samba3
non-hierachical talloc implementation. It enables
the talloc null tracking which should never be done
by library code.
metze
(cherry picked from commit
afa0d6b0b14e0ef2293bd8468ffc1d6330abdb5b)
(cherry picked from commit
37a92ed0eb2c8cf7f3eac1d90ba5300cbce45186)
Karolin Seeger [Tue, 2 Dec 2008 19:50:02 +0000 (20:50 +0100)]
docs: Add default value for "writeable" to man smb.conf.
Karolin
(cherry picked from commit
c09e04ac83365333605b7b1db3d07ccfd451a667)
(cherry picked from commit
70c581586ea02fbff4c5dde0ec002b22d472dfc5)
Stefan Metzmacher [Mon, 1 Dec 2008 22:36:57 +0000 (14:36 -0800)]
s3:selftest: test the streams_depot module as it passes make test
The streams_xattr module only passes sometimes on my laptop.
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:28:13 +0000 (14:28 -0800)]
s3:smbd: close the low level fd of the base_fsp, if the file was created
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:26:36 +0000 (14:26 -0800)]
s3:streams_xattr: fstat should do a stat on the base file
The behavior of stat and fstat should be the same.
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:25:04 +0000 (14:25 -0800)]
s3:streams_xattr: recheck fsp->fsp_name after a rename
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:23:16 +0000 (14:23 -0800)]
s3:smbd: give the correct error when trying to replace a stream
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:21:43 +0000 (14:21 -0800)]
s3:vfs: fix FCHMOD_ACL macros
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:19:55 +0000 (14:19 -0800)]
s3:streams_depot: add an option to disable the xattr checks
streams_depot:check_valid=no is useful when the filesystem
has no xattr support and files are only published via samba.
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:11:17 +0000 (14:11 -0800)]
s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default value
metze
Stefan Metzmacher [Mon, 1 Dec 2008 22:09:45 +0000 (14:09 -0800)]
s3:streams_depot: add support for stream renames
metze
Stefan Metzmacher [Mon, 1 Dec 2008 21:58:14 +0000 (13:58 -0800)]
s3:streams_depot: map 'file::$DATA' to just 'file'
metze
Stefan Metzmacher [Mon, 1 Dec 2008 21:54:19 +0000 (13:54 -0800)]
s3:streams_xattr: add support for renaming streams
metze
Stefan Metzmacher [Mon, 1 Dec 2008 21:51:59 +0000 (13:51 -0800)]
s3:smbd: only try and fallback to open a directory if it's not a stream open
metze
Stefan Metzmacher [Mon, 1 Dec 2008 21:44:43 +0000 (13:44 -0800)]
s3:smbd: write times should be set on the base file instead of the stream name
metze
Stefan Metzmacher [Mon, 1 Dec 2008 21:34:38 +0000 (13:34 -0800)]
s3:smbd: return DELETE_PENDING on path based operations on streams, when the main file was deleted.
metze
Stefan Metzmacher [Mon, 1 Dec 2008 21:31:06 +0000 (13:31 -0800)]
s3:smbd: construct the correct newname for stream renames
The Windows Explorer creates temporary streams and renames
them later via SFILEINFO_RENAME_INFO. The newname comes
in as ":Stream:$DATA".
metze
Stefan Metzmacher [Mon, 1 Dec 2008 21:27:30 +0000 (13:27 -0800)]
s3:smbd: wildcard characters are allowed in stream names
We only check the filename of the basefile now.
metze