Centos挂载windows域控共享目录
发表于:2024-10-16 作者:千家信息网编辑
千家信息网最后更新 2024年10月16日,一 环境SERVER:windows server 2012 R2 DC域控 IP:192.168.1.11CLIENT:Centos 6.5二 mount挂载命令:mount -t cifs -o
千家信息网最后更新 2024年10月16日Centos挂载windows域控共享目录
一 环境
SERVER:windows server 2012 R2 DC域控 IP:192.168.1.11
CLIENT:Centos 6.5
二 mount挂载
命令:
mount -t cifs -o username='test\testuser',password='test' "//192.168.1.11/server test/test" /mnt/test
mount: block device //192.168.1.11/server test/test is write-protected, mounting read-onlymount: cannot mount block device //192.168.1.11/server test/test read-only
报错:write-protected, mounting read-only
需要安装:
yum install cifs-utils.x86_64
安装完成之后 继续执行就可以。
三 开机自动挂载
mount挂载完成之后,关机之后就失效了,可以通过修改/etc/fstab 文件实现开机挂载 添加一行:
"//192.168.1.11/server test/test" /mnt/test cifs auto,username='test\testuser',password='test' 0 0
四 其他
-t cifs(common internet file system) 指定文件类型
-o 指定文件挂载时的选项 ro 只读 rw 读写
username和password是登录的用户名和密码,域环境下用户名需要加上域名
共享的目录地址,如果目录名有空格需要用双引号""
linux挂载域环境下服务器的共享目录需要用户的账号有对共享文件的读和写权限。
五 参考链接
http://blog.chinaunix.net/uid-8810763-id-2453890.html mount命令详解
http://blog.csdn.net/jingxia2008/article/details/50218933 mount失败密码hash问题
http://blog.csdn.net/lanyou1900/article/details/39612585 开机自动挂载
文件
目录
环境
用户
命令
密码
用户名
一行
可以通过
地址
域名
引号
服务器
权限
目录名
类型
账号
链接
问题
参考
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
服务器管理口有几个
最新网络安全法内容
网络安全实体技术
领地人生服务器
软件开发企业财务培训
java数据库敏感字段过滤
上传图片给服务器
软件开发 vb
数据库在java中的作用
计算机网络技术自我评价怎么写
长治网络安全教育
网络安全基本特性
c系统适合网络安全吗
网络安全数据防线
杭州采购管理软件开发商
迪拜软件开发前景如何
郑州物流软件开发公司哪家强
浙江省政府网络安全和信息化
成都嵌入式软件开发哪里有
树形数据库干什么用
汕尾软件开发学费
睿趣网络技术
华为服务器视频教程
现在常用的计算机网络技术
数据库系统概论ppt教程
网络安全风险评估的基本要素
方舟手游开服务器价钱表
江苏软件开发者条件
图数据库应用厂商
网络打印机访问不到数据库