On Tue, 30 Nov 2010 18:56:49 +0100 (CET) Robbert Kouprie <robbert@xxxxxx> wrote: > 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. > I can reproduce this too. Looks like a recent regression, but I don't see what broke it right offhand. -- Jeff Layton <jlayton@xxxxxxxxxx> -- 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