Re: Can't mount Windows DFS root using NTLMv2 (fwd)

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

 



On Tue, 30 Nov 2010, Shirish Pargaonkar wrote:

Wondering why the very same cifs client does not encounter this error against
a Windows 2008 server but does against a Windows 2003 server!
Perhaps a Windows client also runs into this error against a Windows 2003 server
but does handle/resolve it.

Well from the kernel logs, it looks like the kernel does try to handle it, but fails when trying to resolve a servername that still has part of the share name attached to it.

Look:

 fs/cifs/cifssmb.c: Decoding GetDFSRefer response BCC: 261  Offset 56
 fs/cifs/cifssmb.c: num_referrals: 2 dfs flags: 0x3 ...
 cifs.upcall: key description: dns_resolver;0;0;3f000000;FOXDFT13\C
 cifs.upcall: unable to resolve hostname: FOXDFT13\C [Name or service not known]
 kernel: [94358.873289] CIFS VFS: dns_resolve_server_name_to_ip: unable to resolve: FOXDFT13\C
CIFS VFS: cifs_compose_mount_options: Failed to resolve server part of \\FOXDFT13\Company to IP: -126

The full server + share name is "FOXDFT13\Company". It should just resolve the server name "FOXDFT13", and not leave the "\C" attached to it.

Regards,
Robbert
--
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