This may be more of a Samba question but I'll give it a try

fox3ec208 at wideopenwest.com fox3ec208 at wideopenwest.com
Wed Jan 26 16:47:22 UTC 2005


On Wednesday 26 January 2005 11:31, Trevor wrote:
> Create a mount point "eg. /mnt/downloads".  You need to use mkdir.
>
> smbmount //ipaddress/share /directorymountpoint/ -o username=username
>
> That works for me.
>
>
> Regards,
> Trevor.
>
>
> -----Original Message-----
> From: fedora-list-bounces at redhat.com
> [mailto:fedora-list-bounces at redhat.com]On Behalf Of Williams, David
> Sent: Wednesday, January 26, 2005 8:59 AM
> To: 'For users of Fedora Core releases'
> Subject: This may be more of a Samba question but I'll give it a try
>
>
> I want to share a folder on one linux server and mount it on another linux
> server.  I am trying to do this via Samba.  When I perform a smbclient -L
> servername -U username -w domain I get a list of the shares available on
> that server.  I am not sure the best way to put that in fstab to mount the
> remote share.  When I try: mount -t smbfs -o username=user //server/share
> /mountpoint I get the following error:
> 16100: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
> SMB connection failed
> Do I have to mount this using smbmount?  If so, how can I put that in fstab
> to remount that at startup?  Any help/advice would be appreciated.

To do this in /etc/fstab you would add  a line like this:
//excelcior/art         /mnt/dos/art  smbfs 
defaults,credentials=/etc/samba/pub.cred 0 0

Then create a credentials files to handle the username/password stuff:

username=[name]
password=[password]



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050126/253935b6/attachment-0002.bin 


More information about the users mailing list