On Fri, 02 Mar 2012 17:21:44 +0100 "sergio.conrad" <sergio.conrad@xxxxxxxxxxx> wrote: > > Thanks for your response. > > I am actually migrating users data from a windows 2008 R2 file server to another windows 2008. > I fear i don't understand why I have to disable oplocks. > I fear that I don't either. I was just speculating. > Is the cifs protocol compatible with windows 2008 smb ? Yes. I often test against win2k8 and don't see this problem. > Must I specify max protocol =smb2 in samba ? You mean in smb.conf? The cifs client doesn't use that at all. That's for the samba userspace code. cifs.ko does not support smb2 at this time. > The issue this day: > Linux Cifs mount on Windows 2008 (via pam_mount): work with oplocks disabled. > Linux cifs mount on Windows 2008 R2 (via pam_mount): don't seems to work even with oplocks disabled > (Perhaps thereis another problem on the server but I don't think so) > I can't help much with this since you haven't provided any details. "works" and "doesn't work" doesn't tell me anything about what's really wrong. If you say "it failed with this error message" or "I got this error message in the log when I attempted it", then that may tell us something. -- 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