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


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux