Linux Mount CIFS Windows share

Source: Internet
Author: User

Mount-t cifs // 192.168.5.220/Softs/mnt/CIFS-O username = administrator, password = A, domain = workgroup

Mount-t cifs // 192.168.6.247/nt_share/mnt/CIFS-O username = administrator, password = Mima, domain = workgroup

Linux Mount CIFS Windows share

Http://hi.baidu.com/chaojkonglong/blog/item/946715efabb891382df53489.html

 

 

 

Linux Mount CIFS Windows share

By
Vivek GITE on January 6, 2008 ·

Q. How do I mount CIFS Windows Server/XP/Vista shared folder under Linux operating systems?

A. Common Internet File System is an application-level network protocol mainly used to provide shared access to files, printers, serial ports, and miscellaneous communications between nodes on a network. You can easily access
CIFS share from Linux and mount them as a regular filesystem.

Mount Linux CIFS share

Mount CIFS with the default local filesystem permissions:
# mkdir /mnt/cifs
# mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft

Or
# mount.cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
Where,

  • Username = Login User: Specifies the CIFS user name.
  • Password = sharepasswoRD: Specifies the CIFS password. If this option is not given then the environment variable passwd is used. If the password is not specified directly or indirectly via an argument to mount,
    Mount will prompt for a password, unless the guest option is specified.
  • Domain = nixcraft: Sets the domain (workgroup) of the user

Another article: http://www.linuxsir.org/main/node/158

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.