Re: Mounting SMBFS from fstab

2003-03-18 Thread Jacob Langley
She was part of a user made group(that already had permission to every
other external mount I might add) and for some reason _unknown-to-me_ it
wouldn't use it for the samba mounts so I just added her to the  users
group and added it to the samba share as well.  Then it worked.  Her
user mounts the external drives and everythign just fine though. 
Confusing to me.
-- 
Jacob Langley   <[EMAIL PROTECTED]>

GPG id:26BD3340
GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-18 Thread nate
Jacob Langley said:
> Finally got it figured out.  Not sure why, but fstab was being a pain
> about the group name for mounting it.  Changed her to a different user
> group and it worked fine.  No idea why.

what group? was it a custom made group(e.g. you made it) or was it
a system-created group?

nate





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-18 Thread Jacob Langley
Finally got it figured out.  Not sure why, but fstab was being a pain
about the group name for mounting it.  Changed her to a different user
group and it worked fine.  No idea why.

On Tue, 2003-03-18 at 08:30, Jacob Langley wrote:
> On Mon, 2003-03-17 at 22:47, Ryurick M. Hristev wrote:
> > On Mon, 17 Mar 2003, Jacob Langley wrote:
> > 
> > > It's just not mounting as a user. 
> > 
> > You mean it doesn't give you any error message ? Nothing ?
> > 
> 
>   None except the must be root to mount.  
> > Cheers,
> > -- 
> > Ryurick M. Hristev mailto:[EMAIL PROTECTED]
> > Computer Systems Manager
> > University of Canterbury, Physics & Astronomy Dept., New Zealand
> -- 
> Jacob Langley   <[EMAIL PROTECTED]>
> 
> GPG id:26BD3340
> GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340
-- 
Jacob Langley   <[EMAIL PROTECTED]>

GPG id:26BD3340
GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-18 Thread Jacob Langley
On Mon, 2003-03-17 at 22:47, Ryurick M. Hristev wrote:
> On Mon, 17 Mar 2003, Jacob Langley wrote:
> 
> > It's just not mounting as a user. 
> 
> You mean it doesn't give you any error message ? Nothing ?
> 

None except the must be root to mount.  
> Cheers,
> -- 
> Ryurick M. Hristev mailto:[EMAIL PROTECTED]
> Computer Systems Manager
> University of Canterbury, Physics & Astronomy Dept., New Zealand
-- 
Jacob Langley   <[EMAIL PROTECTED]>

GPG id:26BD3340
GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-18 Thread Oeystein Olsen
On Tuesday 18 March 2003 14:30, Jacob Langley wrote:

> > > I have the samba stuff installed on her laptop, and the
> > > drive mounts fine if i do a mount /mnt/path as root but I can't do it
> > > as her user.  I went looking for smbmnt but I couldn't find it.  Anyone
> > > know what I have to do differently with RedHat?
> >
> > I think you want the package samba-client and not samba.
>
>   I have the samba-client installed and I can't _find_ smbmnt on her
> laptop.
>

Sorry, then I have no idea. The install of samba-client puts smbmnt into 
/usr/bin on my redhat8.0 laptop. [If it had been a windows-problem I would 
have suggested reinstalling smb-client on her laptop...]

-- 
Øystein Olsen, [EMAIL PROTECTED], http://folk.uio.no/oeysteio
Institute of Theoretical Astrophysics, http://www.astro.uio.no
University of Oslo, Norway



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-18 Thread Jacob Langley
On Tue, 2003-03-18 at 04:15, Oeystein Olsen wrote:
> On Monday 17 March 2003 23:44, Jacob Langley wrote:
> > I normally use Slackware but my gf uses linux.  I want her to be able to
> > mount the samba shares she has on my file server on her laptop easily.
> > On my own machine i added the info to the fstab and installed smbmnt
> > suid root. 
sorry for being unclear - my server is redhat as well.  smbmnt the
other machine i have set up (slackware) is my laptop.
> > I have the samba stuff installed on her laptop, and the
> > drive mounts fine if i do a mount /mnt/path as root but I can't do it as
> > her user.  I went looking for smbmnt but I couldn't find it.  Anyone
> > know what I have to do differently with RedHat?
> 
> I think you want the package samba-client and not samba.

I have the samba-client installed and I can't _find_ smbmnt on her
laptop.

> 
> This is what I put in my /etd/fstab/ on my laptop:
> 
> //mymachine.uio.no/username/home/olsen/UiO  smbfs\ 
> defaults,uid=olsen,gid=olsen,credentials=/home/olsen/.smbmntrc 0 0
> 
> The file .smbmntrc contains the following in plain text:
> 
> username=uio/username
> password=secretofcourse
> 
> And ls -l .smbmntrc gives:
> ls -l .smbmntrc
> -r1 olsen olsen   39 Mar 16 21:40 .smbmntrc
> 
> Then smbmnt don't have to be suid root, and the samba-share is mounted at 
> every boot. Only root can unmount/mount the share. I don't know if this is 
> better that setting smbmnt suid root.
> 
> 
> 
> 
> -- 
> Øystein Olsen, [EMAIL PROTECTED], http://folk.uio.no/oeysteio
> Institute of Theoretical Astrophysics, http://www.astro.uio.no
> University of Oslo, Norway
-- 
Jacob Langley   <[EMAIL PROTECTED]>

GPG id:26BD3340
GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-18 Thread Technoslick
On Mon, 2003-03-17 at 22:15, Jacob Langley wrote:

> 
> Already have.  I run smb because it's not only nix machines accessing
> the file server.  I know the fstab already is correct because it works
> mounting it with /path/to/mount as root.  It's just not mounting as a
> user. 

Jacob,

I am still a newbie at Linux in many ways, so take that into
consideration when I comment:

I use LinNeighborhood to connect my Linux workstations to my Linux
server. I am the only Linux user in my network, so for now, it works
adequately to manually mount my shares by opening the program and
letting it automatically mount through my saved settings. What I found
out was peculiar to Red Hat 8.0 was that I had to set the permissions on
'smbmnt' to 04711 to get LinNeighorhood to mount my shares as user. On
my Mandrake 9.0 workstation, this was not necessary. As soon as I did
the 'chmod', I was able to mount as user. BTW, 'smbmnt' is located in
'usr/bin' on a RH 8 system.

Does this help any?

T



-- 
Technoslick <[EMAIL PROTECTED]>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-18 Thread Oeystein Olsen
On Monday 17 March 2003 23:44, Jacob Langley wrote:
> I normally use Slackware but my gf uses linux.  I want her to be able to
> mount the samba shares she has on my file server on her laptop easily.
> On my own machine i added the info to the fstab and installed smbmnt
> suid root. 

Shouldn't smbmnt be suid root on her laptop and not on your server?

> I have the samba stuff installed on her laptop, and the
> drive mounts fine if i do a mount /mnt/path as root but I can't do it as
> her user.  I went looking for smbmnt but I couldn't find it.  Anyone
> know what I have to do differently with RedHat?

I think you want the package samba-client and not samba.



This is what I put in my /etd/fstab/ on my laptop:

//mymachine.uio.no/username/home/olsen/UiO  smbfs\ 
defaults,uid=olsen,gid=olsen,credentials=/home/olsen/.smbmntrc 0 0

The file .smbmntrc contains the following in plain text:

username=uio/username
password=secretofcourse

And ls -l .smbmntrc gives:
ls -l .smbmntrc
-r1 olsen olsen   39 Mar 16 21:40 .smbmntrc

Then smbmnt don't have to be suid root, and the samba-share is mounted at 
every boot. Only root can unmount/mount the share. I don't know if this is 
better that setting smbmnt suid root.




-- 
Øystein Olsen, [EMAIL PROTECTED], http://folk.uio.no/oeysteio
Institute of Theoretical Astrophysics, http://www.astro.uio.no
University of Oslo, Norway



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-17 Thread Ryurick M. Hristev
On Mon, 17 Mar 2003, Jacob Langley wrote:

> It's just not mounting as a user. 

You mean it doesn't give you any error message ? Nothing ?

Cheers,
-- 
Ryurick M. Hristev mailto:[EMAIL PROTECTED]
Computer Systems Manager
University of Canterbury, Physics & Astronomy Dept., New Zealand



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-17 Thread nate
Jacob Langley said:

> Already have.  I run smb because it's not only nix machines accessing the
> file server.  I know the fstab already is correct because it works
> mounting it with /path/to/mount as root.  It's just not mounting as a
> user.

I forget, are you doing mount /mountpoint or the full mount command?

also does the user have write access to the directory for mounting?

I'm sure it can work, at my last job I had 1 machine that SMB mounted
2 dirs from a NT box which was mounted by a non root user. and it
had the stuff in /etc/fstab, and we just did a mount /mountpoint and
away it went ..

nate





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-17 Thread Jacob Langley
On Mon, 2003-03-17 at 17:58, nate wrote:

> if your wanting to mount as a non-root user, try putting the entry in
> /etc/fstab, and adding the options noauto,user among whatever other options
> you have.



Already have.  I run smb because it's not only nix machines accessing
the file server.  I know the fstab already is correct because it works
mounting it with /path/to/mount as root.  It's just not mounting as a
user. 


-- 
Jacob Langley   <[EMAIL PROTECTED]>

GPG id:26BD3340
GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Mounting SMBFS from fstab

2003-03-17 Thread nate
Jacob Langley said:
> I normally use Slackware but my gf uses linux.  I want her to be able to
> mount the samba shares she has on my file server on her laptop easily.  On
> my own machine i added the info to the fstab and installed smbmnt suid
> root.  I have the samba stuff installed on her laptop, and the drive
> mounts fine if i do a mount /mnt/path as root but I can't do it as her
> user.  I went looking for smbmnt but I couldn't find it.  Anyone know what
> I have to do differently with RedHat?

if both systems are linux, it is easier/more reliable to use NFS if your
mounting a filesystem...

if your wanting to mount as a non-root user, try putting the entry in
/etc/fstab, and adding the options noauto,user among whatever other options
you have.

nate





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Mounting SMBFS from fstab

2003-03-17 Thread Jacob Langley
I normally use Slackware but my gf uses linux.  I want her to be able to
mount the samba shares she has on my file server on her laptop easily. 
On my own machine i added the info to the fstab and installed smbmnt
suid root.  I have the samba stuff installed on her laptop, and the
drive mounts fine if i do a mount /mnt/path as root but I can't do it as
her user.  I went looking for smbmnt but I couldn't find it.  Anyone
know what I have to do differently with RedHat?

-- 
Jacob Langley   <[EMAIL PROTECTED]>

GPG id:26BD3340
GPG fingerprint:2D27 4B63 A5A2 0BDB 260F  1410 D689 3116 26BD 3340



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list