Re: Mounting smb subdirectories?
- From: "Calab" <myspam@xxxxxx>
- Date: Fri, 14 Dec 2007 01:09:51 GMT
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!
.
- Follow-Ups:
- Re: Mounting smb subdirectories?
- From: dillinger
- Re: Mounting smb subdirectories?
- From: Walter Mautner
- Re: Mounting smb subdirectories?
- References:
- Mounting smb subdirectories?
- From: Calab
- Re: Mounting smb subdirectories?
- From: Calab
- Mounting smb subdirectories?
- Prev by Date: Re: Mounting smb subdirectories?
- Next by Date: Re: Mounting smb subdirectories?
- Previous by thread: Re: Mounting smb subdirectories?
- Next by thread: Re: Mounting smb subdirectories?
- Index(es):
Relevant Pages
|