[Samba] user mount problems

Joel Hammer Joel at HammersHome.com
Sun Jan 12 14:42:01 GMT 2003


As root, run this command:

chmod +s your smbmnt program.

Now, the listing with the * at the end doesn't look familiar to me.
My smbmnt hangs out in the /usr/local/samba path.
Maybe the listing you show is a symbolic link?
Maybe the listing you show is an old version of smbmnt not used by your
current version of samba?

I would try locate smbmnt and see if any other versions show up.

Joel


On Mon, Jan 13, 2003 at 01:41:52PM +0100, Viktor Pirard wrote:
> 
> waterboy at WaterWorld:~$ ls -al /usr/bin/smbmnt 
> -rwxrwxrwx    1 root     bin        398228 Jun 24  2001 /usr/bin/smbmnt*
> 
> 
> On Fri, 10 Jan 2003 21:33:47 -0500
> Joel Hammer <Joel at HammersHome.com> wrote:
> 
> > Post the output of:
> > 
> > ls -al smbmnt
> > 
> > Joel
> > 
> > On Sun, Jan 12, 2003 at 02:19:09AM +0100, Viktor Pirard wrote:
> > > On Fri, 10 Jan 2003 19:12:20 -0500
> > > Joel Hammer <Joel at HammersHome.com> wrote:
> > > 
> > > Yes, but do you give configure an option then? or do you simple, as you said change the permissions on the smbmnt file. I have tryied that and it gives the same error. :( 
> > > 
> > > > Well, like the man says, install smbmnt suid root.
> > > > chmod +s smbmnt (where ever smbmnt is) might work.
> > > > man chmod has more detail.
> > > > You may have to fool with your fstab file, too.
> > > > 
> > > > Joel
> > > > 
> > > > 
> > > > On Sat, Jan 11, 2003 at 10:29:32PM +0100, Viktor Pirard wrote:
> > > > > Hi, i'm trying to get samba read write to work on my computer. I can write as root, but when i added this to my fsab 
> > > > > //PLAYER/UPLOAD /home/ftpa/upload2 smbfs user,rw,username=xxx,password=xxx 0 0 
> > > > > 
> > > > > and try to do a 
> > > > > mount //PLAYER/UPLOAD
> > > > > 
> > > > > i get. 
> > > > > 
> > > > > smbmnt must be installed suid root for direct user mounts (1011,1011)
> > > > > smbmnt failed: 1
> > > > > 
> > > > > What should i do? 
> > > > > Any help would be appreciated 
> > > > > -- 
> > > > > To unsubscribe from this list go to the following URL and read the
> > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list