Problem : smbclient problem NT_STATUS_ACCESS_DENIED opening remote file

Problem : smbclient problem NT_STATUS_ACCESS_DENIED opening remote file

My Linux box is on a Windows network and I would like to be able to share files between my computer and the rest. I have managed to configure Samba following these instructions: http://www.samba.netfirms.com/. I have managed to use smbclient successfully to connect to a Windows machine and view a shared folder. I am using the following command:

smbclient /// -W -U and when I am prompted for the user’s password I enter it correctly and I can have access. I can browse files on the Windows shared folder, I can copy files *from* the Windows shared folder but I cannot copy files *to* the Windows shared folder. Every time I try to do a put (using a file, lets call it msg2.txt) I get the following error message:

NT_STATUS_ACCESS_DENIED opening remote file msg2.txt

Not sure if this is a Windows or Linux problem but any help is appreciated.

Computers specs are:

Red Hat Linux 9.1
Samba version 2.2.7a


 

Solution: smbclient problem NT_STATUS_ACCESS_DENIED opening remote file

Its a windows problem. The share you are browsing is read only to the user you are connecting from with smbclient.