Re: cifs.ko + smb 3.0 + DFS fails (though direct mount succeeds)

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

 



Christian Garling <christian.garling@xxxxxxxxxxxxxx> writes:
> Wireshark sniffing on the Ubuntu system shows the request for the referral, also the response with the correct hostname of the fileserver holding the share. After that nothing happens and cifs-utils throws "Invalid argument". I dont know what argument should be wrong. I also tried cifs-utils 6.7 from the git repo with no luck.

I've just tested again kernel master against WS2016 with a link to a
WS2012 server and I can:

* mount to namespace and cd in the link
* mount the link
* mount a subdir under the link

and everything works properly with vers=2.0 vers=2.1 vers=3.0. With
vers=3.11 windows doesn't let me do the initial tree connect for some
reason.

mount -t cifs -vvv '//ws2016.suse.de/dfs3/link/sub' /mnt -o \
  'vers=3.0,domain=xyz,username=administrator,password=xyz'

Have you made sure your system can resolve both the main server hostname
and the target server (the hostname in the DFS query response)? Are you
using vers=xyz option when mounting?

-- 
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