加入到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 xx.xx.xx.xx UP Wed Oct 12 11:15:56 CST 2011 578 23 5 |
建立共享目录 | #cifs shares -add test /vol/test/ |
删除所有目录的everyone访问权限 | #cifs access -delete test everyone |
添加相应用户访问权限 | #cifs access test test “Full Control” |
共享信息查看 | #cifs shares |
cifs shares 基本配置
最新推荐文章于 2025-04-01 00:32:11 发布