[Samba] Mounting a Samba Share in /etc/fstab

2002-11-29 Thread Joseph A Nagy Jr
Hey all,

As most of you know, I've been having problems (hopefully solved by now, won't know until friend is 
able to reshare his box) with SAMBA over the internet.

On my local area network, I am using SAMBA for a one way connection just fine. my question is as 
follows.

Can I make an fstab entry so I can mount the XP share whenever I boot? The reason I ask is because 
currently Wine can't properly detect the c:\windows dir on the XP box and I'd like to be able to use 
some of the program (e.g. games) on my Linux box.
--
Joseph A Nagy Jr Purgatory is where Windows users go when they
Founder and CEO  die so they can figure out Linux and ascend into
Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation

C.S.S.: Construct Skilled in Sabotage
H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mounting a Samba Share in /etc/fstab

2002-11-29 Thread Joel Hammer
Why can't you just put the smbmount command in your startup scripts?
It would go nicely in your samba startup script, for example, although I do
not believe you need to be running smbd to use smbmount.
You could also put it into your network startup script.
Joel

On Fri, Nov 29, 2002 at 02:30:03PM -0600, Joseph A Nagy Jr wrote:
 Hey all,
 
 As most of you know, I've been having problems (hopefully solved by now, won't know 
until friend is 
 able to reshare his box) with SAMBA over the internet.
 
 On my local area network, I am using SAMBA for a one way connection just fine. my 
question is as 
 follows.
 
 Can I make an fstab entry so I can mount the XP share whenever I boot? The reason I 
ask is because 
 currently Wine can't properly detect the c:\windows dir on the XP box and I'd like 
to be able to use 
 some of the program (e.g. games) on my Linux box.
 -- 
 Joseph A Nagy Jr Purgatory is where Windows users go when they
 Founder and CEO  die so they can figure out Linux and ascend into
 Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
 http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation
 
 C.S.S.: Construct Skilled in Sabotage
 H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
 http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Mounting a Samba Share in /etc/fstab

2002-11-29 Thread James
Here is an excerpt from a reply to a prior post of mine. This works well
on my machine, and should help you:
On Wed, 2002-11-27 at 20:45, Simeonidis, Steve wrote:
 I haven't played with permissions much but I've got the following
 line in my /etc/fstab file and it works fine.
 
 
 //abinidi/common/abinidi/common smbfs
 uid=500,gid=500,credentials=/etc/smbmount_passwd,workgroup=SGL-AUS,rw
0 0
 
 The content of the smbmount_passwd is
 username = xxx
 password = xx
 
 owned by root.
 
On Fri, 2002-11-29 at 15:30, Joseph A Nagy Jr wrote:
 Hey all,
 
 As most of you know, I've been having problems (hopefully solved by now, won't know 
until friend is 
 able to reshare his box) with SAMBA over the internet.
 
 On my local area network, I am using SAMBA for a one way connection just fine. my 
question is as 
 follows.
 
 Can I make an fstab entry so I can mount the XP share whenever I boot? The reason I 
ask is because 
 currently Wine can't properly detect the c:\windows dir on the XP box and I'd like 
to be able to use 
 some of the program (e.g. games) on my Linux box.
 -- 
 Joseph A Nagy Jr Purgatory is where Windows users go when they
 Founder and CEO  die so they can figure out Linux and ascend into
 Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
 http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation
 
 C.S.S.: Construct Skilled in Sabotage
 H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
 http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Mounting a Samba Share in /etc/fstab

2002-11-29 Thread Joseph A Nagy Jr
Joel Hammer wrote:

Why can't you just put the smbmount command in your startup scripts?
It would go nicely in your samba startup script, for example, although I do
not believe you need to be running smbd to use smbmount.
You could also put it into your network startup script.
Joel

snip

Because wine looks at fstab for mounted filesystems (I think), and just having it mounted via mount 
-t smbfs username=someuser,password=somepass //computer/share /mount/ doesn't seem to do any good.


--
Joseph A Nagy Jr Purgatory is where Windows users go when they
Founder and CEO  die so they can figure out Linux and ascend into
Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation

C.S.S.: Construct Skilled in Sabotage
H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mounting a Samba Share in /etc/fstab

2002-11-29 Thread Joseph A Nagy Jr
James wrote:

Here is an excerpt from a reply to a prior post of mine. This works well
on my machine, and should help you:
On Wed, 2002-11-27 at 20:45, Simeonidis, Steve wrote:


I haven't played with permissions much but I've got the following
line in my /etc/fstab file and it works fine.


//abinidi/common/abinidi/common smbfs
uid=500,gid=500,credentials=/etc/smbmount_passwd,workgroup=SGL-AUS,rw


0 0


The content of the smbmount_passwd is
username = xxx
password = xx

owned by root.

snip

Thanks!


--
Joseph A Nagy Jr Purgatory is where Windows users go when they
Founder and CEO  die so they can figure out Linux and ascend into
Joseph A Nagy Jr Enterprises whatever higher plane one belives in.
http://jan-jr-ent.homelinux.org  Linux - The Choice of Every Generation

C.S.S.: Construct Skilled in Sabotage
H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform
http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba