fs-cifs and Windows 7 share problem

Hi,

I have a problem to connect to a windows 7 32bit share from a 6.2.1 QNX System.
I made many tries but didn’t get it working until now.

The command is like this with some extra output:

fs-cifs -vvvvvv //nb-pool:10.21.0.122:/ppcbe /mnt qnx password

cifs[172050-1]: starting…
cifs[172050-1]: name & passwd are in command line.
cifs[172050-1]: server [10.21.0.122] share [ppcbe] prefix [/mnt] user [qnx] passwd [password]
cifs[172050-1]: mount: 10.21.0.122:/ppcbe → /mnt by qnx [0]
cifs[172050-1]: new server
cifs[172050-1]: establishing connection to 10.21.0.122:nb-pool
cifs[172050-1]: sending nb session request – 10.21.0.122:nb-pool → testtarget
cifs[172050-1]: negotiating smb dialect
cifs[172050-1]: skey(idx=2): 0 0 0 0, enlen: 8, 54 16 23 bb f1 fc 28 30
cifs[172050-1]: smb connection successful dialect 2
cifs[172050-1]: logging qnx on 10.21.0.122
cifs[172050-1]: new packet
cifs[172050-1]: returning: mid 0 status= 327681
cifs[172050-1]: smb_logon: Unknown error
cifs[172050-1]: smb_retry: now reset=1, err=3
cifs[172050-1]: sending nb session request – 10.21.0.122:nb-pool → testtarget
cifs[172050-1]: negotiating smb dialect
cifs[172050-1]: skey(idx=2): 0 0 0 0, enlen: 8, 4f d2 25 f7 5a db b2 27
cifs[172050-1]: smb connection successful dialect 2
cifs[172050-1]: logging qnx on 10.21.0.122
cifs[172050-1]: returning: mid 1 status= 327681
cifs[172050-1]: smb_logon: Unknown error
cifs[172050-1]: smb_retry: now reset=2, err=3
cifs[172050-1]: sending nb session request – 10.21.0.122:nb-pool → testtarget
cifs[172050-1]: negotiating smb dialect
cifs[172050-1]: skey(idx=2): 0 0 0 0, enlen: 8, ce c7 f1 2e 9e 48 e 9b
cifs[172050-1]: smb connection successful dialect 2
cifs[172050-1]: logging qnx on 10.21.0.122
cifs[172050-1]: returning: mid 2 status= 327681
cifs[172050-1]: smb_logon: Unknown error
cifs[172050-1]: smb_retry: now reset=3, err=3

I think it is more a problem on the windows 7 side, because this mount always worked with a xp system. I tried many things with disabling firewall and other things on the Windows 7 machine but it is not working.

Is there anybody who had the same problem and had a solution or an idea for me?

Thanks in advance!

Rif

Do a search on the web for Windows7(or Vista) and samba. I don`t recall the exact details but windows has to be setup to use a different password validation method.

Hello again,

I have tested everything with the local scurity policies, firewall, registry in windows 7. Nothing worked for me.
I will test it with QNX 6.5.0 and Windows 7 again, because a colleague said, it worked with this version. So we will see.

wiki.samba.org/index.php/Windows7

I finally found a solution to get it working. Nothing worked from the samba link above (nevertheless thanks for posting it).

I tried to mount all the time with a local user (which I created in the Windows 7 system).
This didn’t worked. After some time I tried it with my domain account and there it was.
So, from now on I use my domain account to mount the windows shared folder.

The syntax has to be like this:

fs-cifs //nb-pool:10.21.0.122:/ppcbe /mnt user@domain.intranet password

I don’t know why the local user didn’t work, but i hope this could help someone else.

Rif