In news:fb1cfebb-580e-4522-9784-(E-Mail Removed),
(E-Mail Removed) <(E-Mail Removed)> wrote:
> I am using fedora 8 and am trying to connect to my windows xp
> machine's shared folder. I am able to see the machine on the local
> network and the shared folder using
>
> smbclient -L \\COMPUTERNAME -I 111.111.1.1
>
> but how do i access the folder and get files from it.???????????
Mount it so it becomes part of your local filesystem, e.g.:
mkdir /tmp/xp
mount -t smbfs //computername/sharename /tmp/xp -o \
username=username,uid=userid,gid=groupid
where username is the xp username to whom acces is restricted (if so), and
userid and groupid are local to your Linux system. It's not advised to use
password= in the options, as that would display the password needed (if
required) on the xp machine to access the share. It would be visible to
anyone running "ps auxww" on the Linux box.
Then you can access the files under /tmp/xp as if they were local to your
machine. Even if the filesystem on the xp box is NTFS, read/write occurs
properly, as it's handled by the xp machine and not the Linux.