Re: Mounting smb subdirectories?



Specifically what I'm trying to do is this in a cron job (all in one line):
mount //OurServer/Documents/Files /mnt/Files -t cifs -o
credentials=/etc/samba/smbcred ; rsync -var --delete /mnt/Files
/mnt/Backup/Files; umount //OurServer/Documents/Files


"Calab" <myspam@xxxxxx> wrote in message
news:%nk8j.1800$_r2.1044@xxxxxxxxxxxx
I should have included that is on a Debian machine with kernel
2.6.18-5-686.

I really would appreciate any comments - even "You can't do it,
dumbass!!!"

: )

"Calab" <myspam@xxxxxx> wrote in message
news:8Zj8j.1767$_r2.678@xxxxxxxxxxxx
We have a Windows PC with a single network share. Within this share there
are several hidden folders with various group permissions. We need to be
able to backup some files within these folders on a regular schedule.

Windows PC name:IP address is OurServer:10.0.11.10

Shares on the Windows PC are /Documents and /Shared. We do not have
access to /Documents. We have full access to /Shared. There is a
subdirectory in /Documents name Files. We have full access to
/Documents/Files.

In Windows, I can mount a drive letter to \\OurServer\Documents\Files.

In Linux, I cannot mount \\OurServer\Documents\Files. We are told that
this is an invalid share name. We are using "mount
//OurServer/Document/Files /mnt/Files -t smfbs -o
username=myname,password=mypassword,domain=ourdomain" which returns:

2430: tree connect failed: ERRDOS - ERRnosuchshare (You specified an
invalid share name)
SMB connection failed

"mount //OurServer/Shared /mnt/Shared -t smbfs -o
username=myname,password=mypassword,domain=ourdomain" works as expected.

It appears that Linux cannot mount the subdirectory within a Samba share
in the way a Windows PC can. We do not have the ability to add a new
share to the Windows server PC.

Is there a workaround for this? I haven't been able to find anything
online or in the mount and smbmount man pages.

All responses are appreciated. Thanks!





.



Relevant Pages

  • Re: USB Stick with Password under Linux
    ... Linux and Windows? ... the management/authentication program is windows only. ... drives above. ... The "cd-rom" mount doesn't allow you to delete anything, ...
    (Ubuntu)
  • RE: MS Services for UNIX 3.5
    ... I know that there's no corrupt package because I can mount an exported ... Server included to allow access to linux clients. ... properly mapping linux and windows user accounts. ...
    (RedHat)
  • Re: writing to FAT32
    ... [that is, w.r.t. floppies] ... Linux & Windows. ... So I finally resorted to man mount, ...
    (comp.os.linux.misc)
  • Re: Linux and drive mapping to Windows 2003 Server
    ... In Unix and in Linux, ... you can easily mount what turns out to be a 'smbfs' filesystem, ... I mount things at $EMPLOYER I have to type in my Windows password. ... my goal is to replace the DC as a File Server with a Samba Server ...
    (comp.os.linux.setup)
  • Re: Linux and drive mapping to Windows 2003 Server
    ... In Unix and in Linux, ... you can easily mount what turns out to be a 'smbfs' filesystem, ... I mount things at $EMPLOYER I have to type in my Windows password. ... my goal is to replace the DC as a File Server with a Samba Server ...
    (comp.os.linux)