FC2 - Samba setup

Rick Stevens rstevens at vitalstream.com
Sat Dec 11 02:37:05 UTC 2004


Kostas Sfakiotakis wrote:
> Greetings Mark ,
> 
> Mark Knecht wrote:
> 
>> Whoopie! I got part of it working. Browsing from my Win XP Pro laptop
>> to the shares on the FC2 box required running smbpasswd as root and
>> adding user mark to the smb password file.
>>
> 
> :))
> 
> Well now , in order for things to work the other way arrount , you just
> have to use the
> 
> mount -t smbfs -o username=Mark  //Computername/Sharename  /mountpoint.
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^
>                                                    I still forget if the 
> slashes above are
> forward or reverse .

Samba will use either, but the forward slashes ("//") are easier to use.
You have to escape backslashes.  Two backslashes need to be specified as
"\\\\".  Using backslashes, Kostas' thing would read:

mount -t smbfs -o username=Mark  \\\\Computername\\Sharename
   /mountpoint

Yuck!

> And that's all of it .Transfering files between the two systems is 
> pretty fast .
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-                 All generalizations are false.                     -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list