Linux mount CIFS Windows Share

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 ·

Linux mount CIFS Windows Share_第1张图片

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=shareuser : 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

你可能感兴趣的:(linux,windows)