Chinaunix首页 | 论坛 | 博客
  • 博客访问: 399537
  • 博文数量: 119
  • 博客积分: 1470
  • 博客等级: 上尉
  • 技术积分: 1258
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-24 13:50
文章分类

全部博文(119)

文章存档

2018年(6)

2017年(11)

2016年(4)

2013年(8)

2012年(1)

2011年(2)

2010年(4)

2009年(37)

2008年(16)

2006年(30)

我的朋友

分类: LINUX

2009-12-17 15:02:44

 a. Add a user and set password with command:
     smbpasswd -a root
    etc: you should make sure the root has correspond user in file /etc/samba/smbusers
 b. Open /etc/samba/smb.conf to add this:

        [remote]
        comment = Remote Directory
        path = /sharepoint/remote
        public = yes
        writable = yes
        printable = no
        create mask = 0664
        directory mask = 0775
 c. Start smb server:
    /etc/init.d/smb start
 d. Mount in windows:
    \\192.168.2.222
阅读(731) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~