[Samba] Failed to find real path for mount point

Michael Wisse mwisse at hs-harz.de
Thu Nov 7 14:22:00 GMT 2002


In the meantime I played with the realpath() function, which is used in 
smbmnt.c and  which the error comes from. The path "~/filer" is o.k. and 
realpath() can extract the real path.
I suppose, that the problem is in smbmount.c in the way how smbmount delivers 
the path to smbmnt(). Perhaps a bug?
However.

Is there a way, to insert a line in /etc/fstab for convenient mounting of user 
specific smb shares? How should the syntax be?

Regards
Michael


On Monday 28 October 2002 12:24, Michael Wisse wrote:
> Yes, I tried it with the same result.
>
> Michael
>
> > > I try to mount an smb share with:
> > > 	smbmount //filer/$USER ~/filer -o username=$USER
> > >
> > > and I get following error message:
> > > 	"Failed to find real path for mount point"
> > >
> > > What does it mean? The mount point is accessible and the owner of the
> > > mount point is USER.
> > >
> > > Whith an earlier version of samba I can mount the share with this
> > > command.
> > >
> > > Regards and thank for advice.
> > > Please cc an  answer directly to my adress, I am not a member of the
> > > list.
> > >
> > > Michael Wisse
> >
> > Have you tried it with an explicit path name for the mount location
> > instead of the tilde?
> >
> > Just a guess.
> > mark




More information about the samba mailing list