[NTLUG:Discuss] using smbfs to transfer file between to windows computers
Leroy Tennison
leroy_tennison at prodigy.net
Sat Nov 5 21:48:54 CST 2005
David Evans wrote:
> hello all
> I am using smbfs to mount two windows boxes to a linux suse server 2.6
> kernel. When I copy a file from one windows to the other windows box I
> run into a 2 gig transfer limit. What is wrong and or has anybody else
> run into this problem
>
> smbmount //archive/archive /home/bltj/archive -o
> username=(whatever),password=(whatever),uid=(whatever)
>
> smbmount //prep/prep /home/bltj/prep -o
> username=(whatever),password=(whatever),uid=(whatever)
>
> so next I used konqueror to open the two windows shares using the
> network with the following commands in the browser window.
>
> smb://archive/archive
>
> smb://prep/prep
>
> I was able to transfer a 2.7 gig file this way.
>
> My problem is I need to mount these windows shares on boot up and run
> automatic file transfer between the two boxes using a script that I
> wrote running on the linux box. Any ideas why the transfer fails mount
> using smbfs????
>
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
Oh boy, have fun and let me know if you can get this to work. There is
a module (pam_mount) which is supposed to allow mounting of Samba
resources at login. If your distribution has an rpm (or equivalent) for
this module then by all means try using it first. The RPMs I have found
on the Web have a library dependency which I haven't been able to
resolve (Googling found one reference stating that the library was old
but that pam_mount worked with newer variants without recompiling - I'm
glad it worked for them because it didn't for me). I have not had
success "rolling my own" by downloading the source and compiling it.
First, dependency packages (glib2..., glib2_devel..., check,
pkg_config) are required (some of which you have to compile as well).
These can be located either in your distribution packages or on the Web
by Googling. "Check" was a little hard to find and the current version
(0.9.3.1) produced errors for me, it's on FreshMeat. After getting a
"clean"configure, make and make install I can't the compiled executable.
The current version only allows specification of mounts by user but the
next version is supposed to allow them by group (a very significant
improvement). When I first looked at this package the maintainer was
looking for someone else to take it over. Fortunately that has happened
(recently, don't know exactly when) and it is now a SourceForge project.
The current maintainer has replied to a couple of my requests so that
is good too.
More information about the Discuss
mailing list