Hello! 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
On Monday 28 October 2002 9:59 am, Michael Wisse wrote:> Hello! > > 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 WisseHave you tried it with an explicit path name for the mount location instead of the tilde? Just a guess. mark
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
On Mon, 2002-10-28 at 06: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 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/sambadid you try smbmount //filer/homes -o username=$USER I know that typing \\server\homes in the run box produces my home dir, but have not tried mounting it. Good luck. C
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