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@xxxxxxxxxx > [mailto:fedora-list-bounces@xxxxxxxxxx]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]
Attachment:
pgplEX4E6okwz.pgp
Description: PGP signature