On Tue, 2012-09-25 at 10:43 -0700, Jun Yi wrote: > Thanks Andrew, > > Let's first clarify the version I used. I use the master branch, e.g., > version 4.1.0, for both client and server sides. > > I run smbclient4 at the client side: > junyij@junyij] ./smbclient4 > -V > > > Version 4.1.0pre1-DEVELOPERBUILD > junyij@junyij] ./smbclient4 -m SMB2 -W smb-workgroup -U > junyij //localhost/share1 > > Connection to \\localhost\share1 failed - NT_STATUS_REVISION_MISMATCH > > I run sbmd at the server side with configuration > file /etc/samba/smb.conf > junyij@junyij] sudo ./smbd > -V > > Version 4.1.0pre1-DEVELOPERBUILD > sudo ./smbd -s /etc/samba/smb.conf -d 10 -l smbd-4 > junyij@junyij] > cat /etc/samba/smb.conf > > > [global] > workgroup = smb-workgroup > max protocol = SMB2 > min protocol = SMB2 > [share1] > path = /tmp
I examined the source code used by smbclient4, and as far as I can tell this tool simply cannot do smb2. Therefore, as you have seen, this will fail. You could try 'smbclient' (which uses a different codebase), which appears to have some support, but I'm not sure exactly how much is connected there. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
