Re: smbmount, folder sharing



icegray staggered into the Black Sun and said:
I use CentOS3 with [VMWare] 6.0 and I want to [use] folder sharing
between windows xp and linux. I have no experience [with] Linux.

So CentOS is running on a VM? How's networking set up? Can you ping
the real host?

Windows login name = s_uludag, login password = serdar, file format
NTFS, Linux user name = devel

Underscores in usernames. Hmmm.

smbmount '//192.168.2.2/C$' /home/devel/cdrive -o
username='s_uludag',password='serdar',uid=devel,gid=devel
Error (Access Denied)

Is this user a member of the "administrators" group in 'Doze? Access to
the $ SMB shares is restricted to that group by default for obvious
reasons. Also, it is usually much more convenient to put this junk in
/etc/fstab so that you can just "mount /home/devel/c/" instead of typing
the whole command out every time. Also also note that user devel must
own /home/devel/c/ and that dir must exist. The fstab line is like so:

//192.168.2.2/c$ /home/devel/c username=s_uludag,password=serdar,
uid=devel,gid=devel,lfs 0 0

....all on one line. The lfs is there for Large File Support, which you
will certainly need if you have files > 2G on this SMB share.

What is wrong?

Too little info to tell. More info can be found in the output of dmesg
and possibly in /var/log/ . Finally, running in a VM has its own
special set of problems. It's often easier to diagnose/fix things on
real hardware, and even a 12-year-old can install Ubuntu these days.
You might want to do that on an older system you have and play around
for a bit, just to get experience on real hardware.

--
One suspects that with one side demanding DRM and the other side
demanding it not get in the way of enjoying the purchase, friable DRM is
the technical solution that makes everyone happy. --AdB, in ASR
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: smbmount, folder sharing
    ... I have no experience Linux. ... CentOS is running on a VM and network bridged. ... C drive on windows machine is shared. ... real hardware, and even a 12-year-old can install Ubuntu these days. ...
    (comp.os.linux.misc)
  • Re: setrlimit in linux
    ... My query is related to setrlimit() in linux 2.4 ... I have a application which is basically a log manager and accepts log ... You need large file support, ...
    (comp.unix.programmer)
  • File and partition sizes
    ... I am examining the large file support in Linux. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)