Re: mount windows XP share at linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 05/10/06, Glenn Johnson <johnson.glenn@xxxxxxxxxxx> wrote:
Manuel Arostegui Ramirez wrote:
> El Jueves, 5 de Octubre de 2006 09:22, Yuandan Zhang escribió:
>
>> Hi,
>> I want mount winxp shared D drive on FC5. i tried
>>
>> mount -t smbfs //192.168.0.111 /mnt/winxp -o
>> user=myuser,domain=mydomain,password=mypasswd
>>
>> but it says, mount does not know smbfs
>>
>> i try to find smbmount command but can't locate it
>>
>> i can use gnome  desktop "Places" => "connect to server" to connect it.
>>
>> any advices, thanks
>>
>
> You could try it using:
> /sbin/mount.cifs
>
>
Here's what works for me. This is a line in my /etc/fstab.
//oldendorff/d /media/sharephoto cifs
username=egon,password="",uid=500,gid=500 0 0
Make sure NETFS is running in services and that 192.168.0.4 oldendorff
is in /etc/hosts file.
Oldendorff is the name of the Windows box. Oldendorff's ip is
192.168.0.4, and it's a static ip.
Works every time.

hi,
Now I can mount this use the command line
su -c "mount.cifs //mas/PHOTO /mnt/MAS/PHOTO -o user=mye,domain=nt-main,password=mypasss,uid=500,gid=503,rw"


however, when put a line in /etc/fstab as
//mas/PHOTO /mnt/MAS/PHOTO cifs noexec,noauto,username=myname,domain=nt-main,password="mypass",uid=500,gid=503,rw  0 0

mount -a  # OK
but
get follwoing error when
mount /mnt/MAS/PHOTO

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
my question is how to add  aline in fstab?

thanks

Yuandan



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux