connecting to a win xp box

neil neilcuk at aol.com
Wed Mar 24 17:26:15 UTC 2004


Haven't got the entire thread here, but I got stumped with this one a long time ago so thought I'd share my experience..

using smbclient or mount -t smbfs you have to remember that Bash shell on RedHat Linux uses special characters to represent certain functions. When connecting to a windows hidden share (usually represented by dollar '$'), the bash shell will expect a variable unless you 'escape' the character, using the backslash '\'.

so you would use: mount -t smbfs -o username=name/domain%password //server/hiddenshare\$ /my/mount

you may need to set the UID and/or GID to be able to get access to your share when using a non-priviledged account. append options after -o using commas -o UID=user,GID=user

n.


Date: Thu, 25 Mar 2004 01:26:40 +0900 (JST)
From: d l <popgojp at yahoo.co.jp>
Subject: Re: connecting to a winxp box
To: fedora-list at redhat.com
Message-ID: <20040324162640.5817.qmail at web802.mail.yahoo.co.jp>
Content-Type: text/plain; charset=iso-2022-jp

Just use the default share if you CBF with the stupid
network wizard.

you C:\ drive is available on the network as
//computername/c$

D:\
//computername/d$

etc.
you will need to use the admin password to connect to it
in samba though.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20040324/efad1cbf/attachment-0002.html 


More information about the users mailing list