1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3
Jeremy Allison 3587815595 Fix bug #7339 - MSDFS is non-functional in 3.5.x
In the refactoring around filename_convert, the split between the functions
resolve_dfspath() and resolve_dfspath_wcard() was lost, leaving us only with
resolve_dfspath_wcard().

Internally resolve_dfspath_wcard() calls dfs_redirect() only with a
"allow_wcards" flag of true, wheras the old resolve_dfspath() would call with a
value of false. The loss of this case causes dfs_redirect to always masquerade
DFS links as directories, even when they are being queried directly by a trans2
QPATHINFO call. We should only masquerade DFS links as directories when called
from a SMBsearch or trans2 findfirst/findnext - which was the intent of the
"allow_wcards" flag.

This patch adds back an allow_wcards bool parameter to
resolve_dfspath_wcard(). This bool is set from the state of the ucf_flags when
filename_convert() is called.

I will follow this up with a new smbclient-based torture test that will prevent
us from ever regressing our DFS support again.

Jeremy.
2010-04-08 20:32:36 -07:00
..
auth s3:ntlmssp: use client.netbios_name instead of workstation 2010-03-24 17:34:56 +01:00
build s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00
client Add an "attributes" string to allinfo. 2010-02-22 14:36:40 -08:00
exports
groupdb s3: Fix some nonempty blank lines 2010-03-14 17:42:49 +01:00
include Fix bug #7339 - MSDFS is non-functional in 3.5.x 2010-04-08 20:32:36 -07:00
intl
lib s3: Remove unused bitmap_[allocate|free] 2010-03-28 15:25:17 +02:00
libaddns Do not redefine strupr 2009-09-02 13:02:39 +02:00
libads s3:libads: retry with signing after getting LDAP_STRONG_AUTH_REQUIRED 2010-03-30 09:53:11 +02:00
libgpo Fix Coverity ID 913 (NEGATIVE_RETURNS) -- gd, please check! 2009-05-03 23:06:01 +02:00
libnet s3/drs: DsCrackNames - Propagating IDL changes to source code 2010-03-10 17:12:03 +01:00
librpc s3:librpc/rpc: move prototypes to dcerpc.h 2010-03-23 18:44:31 +01:00
libsmb If the timeout has been set to zero, don't register an end time. 2010-03-30 13:45:53 -07:00
locale s3: Merge French translation for pam_winbind after review 2010-03-31 23:10:11 +02:00
locking We don't need to treat the token differently in the conn->admin_user case, it should already be pointing to a token with uid == 0. 2010-03-15 14:49:00 -07:00
m4 s3: Fix typo found by jhell <jhell@DataIX.net> 2010-02-13 16:39:08 +01:00
modules Fix related to bug #7326 - can't read/write any files with full_audit 2010-04-05 13:50:59 -07:00
nmbd s3-smbd: Don't close stdout if we want to log to stdout. 2010-03-26 14:48:54 +01:00
pam_smbpass s3-pam_smbpass: Remove obsolete signal type cast. 2010-02-23 12:23:42 +01:00
param Parameterize "smb2 max read", "smb2 max write", "smb2 max trans". 2010-04-06 15:43:35 -07:00
passdb s3:passdb: avoid sid_to_gid() if the sid is "domain users" 2010-03-25 21:25:27 +01:00
pkgconfig
po Revert "s3: Update i18n files" 2009-08-07 09:54:52 +02:00
printing s3-spoolss: Fix an issue in _spoolss_DeleteForm. 2010-04-07 23:53:19 +02:00
profile s3:smbd: Fix bug 6690, wrong error check 2009-09-08 17:39:51 +02:00
registry s3-registry: fix fill_in_printer_values() for datatype and printprocessor. 2010-04-08 16:21:40 +02:00
rpc_client s3:rpc_client: remove more unused code 2010-03-29 18:11:20 +02:00
rpc_parse Fix bug #7146 - Samba miss-parses authenticated RPC packets. 2010-02-17 15:27:59 -08:00
rpc_server s3-winreg: add winreg_DeleteKeyEx stub. 2010-04-09 00:27:58 +02:00
rpcclient s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info(). 2010-04-07 14:41:13 +02:00
script s3-selftest: set "lpq cache time = 0" in server configuration. 2010-03-26 23:01:19 +01:00
selftest s3:selftest: handle spaces in test names 2010-02-24 11:56:10 +01:00
services s3-registry: use pull_reg_sz() where appropriate. 2009-10-01 11:40:30 +02:00
smbd Fix bug #7339 - MSDFS is non-functional in 3.5.x 2010-04-08 20:32:36 -07:00
stf
tests
torture s3: Fix a comment 2010-04-02 10:17:14 +02:00
utils s3: Slightly simplify unmap_unix_group 2010-03-28 19:05:36 +02:00
web s3-smbd: Don't close stdout if we want to log to stdout. 2010-03-26 14:48:54 +01:00
winbindd s3: Remove the separate "child" argument from setup_domain_child() 2010-04-08 15:12:42 +02:00
.dmallocrc
.indent.pro
autogen.sh Tell newbie devs about ./configure.developer 2009-09-06 12:01:05 +02:00
change-log Fix typo. 2009-10-19 09:47:33 +02:00
config.guess Update copies of config.guess and config.sub. 2009-05-16 04:03:12 +02:00
config.sub Update copies of config.guess and config.sub. 2009-05-16 04:03:12 +02:00
configure.developer
configure.in s3: Fix the GNU ld version detection on SLES 2010-04-04 20:31:19 +02:00
Doxyfile
dynconfig.c
install-sh
localedir.c
mainpage.dox
Makefile.in s3-spoolss: Added a function to open a regkey using the winreg pipe. 2010-04-07 15:16:52 +02:00
samba4-templates.mk
samba4.m4 s4-smbtorture: add rather simple libsmbclient torture testsuite. 2010-01-14 19:48:29 +01:00
samba4.mk Fix "make install" by removing all references to python. Not currently 2009-10-20 13:42:28 -07:00
smbadduser.in
VERSION s3: Fix a typo 2010-04-08 10:49:57 +02:00
wscript s4-waf: move to a universal method of recursing into subdirs 2010-04-06 20:27:25 +10:00
wscript_build s4-waf: move to a universal method of recursing into subdirs 2010-04-06 20:27:25 +10:00