[PATCH v3] Fix MSDFS with POSIX paths in vfs_dfs_samba4

Robin McCorkell rmccorkell at karoshi.org.uk
Tue Jul 7 23:14:29 UTC 2015


On 07/07/2015 11:18 PM, Scott Lovenberg wrote:
> On Tue, Jul 7, 2015 at 9:37 AM, Robin McCorkell
> <rmccorkell at karoshi.org.uk> wrote:
>> Any chance to get this reviewed and merged? The problem is a real issue
>> in mount.cifs, which always tries to use POSIX paths.
> I thought I fixed that a while back.  Like, years ago.  I'll take a
> look this evening or tomorrow some time; we should allow mounting with
> double back slash, if not that's probably my mistake.  Maybe we only
> overwrite backslashes with forward slashes - I can't recall at the
> moment.

The problem is the other way around: backslashes are parsed fine, but forward slashes aren't properly read in the DFS code. As far as I can tell no substitution between forward/back slashes is ever done in that code path. Also note that both slashes work in the source3 code, it's just the new AD source4 code that is broken.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150708/5e94c166/signature.pgp>


More information about the samba-technical mailing list