cifs shares 基本配置

3 篇文章 0 订阅
加入到AD> cifs setup
 This process will enable CIFS access to the filer from a Windows(R) system.
 Use "?" for help at any prompt and Ctrl-C to exit without committing changes.
      This filer is currently a member of the Windows-style workgroup 'WORKGROUP'.
 Do you want to continue and change the current filer account information? [n]: yes
        Your filer is currently visible to all systems using WINS. The WINS
        name servers currently configured are: [ 138.198.18.xx].
 (1) Keep the current WINS configuration
 (2) Change the current WINS name server address(es)
 (3) Disable WINS
 Selection (1-3)? [1]:
        This filer is currently configured as an NTFS-only filer.
验证AD是否成功*> cifs domaininfo
  NetBios Domain:           ST
  Windows 2000 Domain Name: st.com
  Type:                     Windows 2000
  Filer AD Site:            she
  Current Connected DCs:    \\SHEDC02
  Total DC addresses found: 4
  Preferred Addresses:
                          None
  Favored Addresses:
                          xx.xx.xx.xx                       PDC
                          xx.xx.xx.xx                       PDC
  Other Addresses:
                         xx.xx.xx.xx                       PDC
                          xx.xx.xx.xx                       PDC
  Not currently connected to any AD LDAP server
  Preferred Addresses:
                          None
  Favored Addresses:
                          None
  Other Addresses:
                          None
DNS验证

0> dns info
DNS is enabled
 
DNS caching is enabled
 
9 cache hits
10 cache misses
3 cache entries
4 expired entries
4 cache replacements
 
IP Address                                     State   Last Polled                  Avg RTT Calls  Er

xx.xx.xx.xx                              UP      Wed Oct 12 11:15:56 CST 2011     578    23     5
 
Default domain: test.com
Search domains: test.com

建立共享目录#cifs shares -add test /vol/test/
删除所有目录的everyone访问权限#cifs access -delete test everyone
添加相应用户访问权限#cifs access test test “Full Control”
共享信息查看#cifs shares
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值