Re: Does linux smb2 client supports DFS capability?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Sharpe <realrichardsharpe@xxxxxxxxx> writes:
> I think their real interest is in the CIFS FS getting DFS referrals if
> STATUS_PATH_NOT_COVERED is returned on a CREATE.
>
> When I last looked the client could not do that.

cifs.ko should be able to traverse a DFS link on the FS, after the DFS
mounted. My testing setup when I worked on this was the following:

//A/root
       |
       +- link -> //B/target
       +- sublink -> //B/target/sub

//B/target
       |
       + sub/
          |
          + dir/
              |
              + files..

And I had a script
- mounting //A/root and running cd&ls in /, /link, /link/sub,
  /link/sub/dir, /sublink, /sublink/dir
- mounting //A/root/link and running cd&ls in /, /sub, /sub/dir
- mounting //A/root/link/sub and running cd&ls in /, /dir
- mounting //A/root/sublink and running cd&ls in /, /dir
- mounting //A/root/sublink/dir and running cd&ls in /

And all worked for vers={1.0,3.0}, A being {samba, Windows Server 2016},
B being {samba, Windows Server 2012 R2} when I submitted the patches.

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux