SuSe上配置samba笔记

SuSe上配置samba笔记--不记得是从哪里找到这篇技术文章的,反正还是挺有用的。如果作者大大有啥想法请与我联系啊。
On the server machine
Before config it ,you must install the samba components ,this article did not describe it.
Assume that samba had been install at /etc/samba

1、config the /etc/samba/smb.conf file for smb server
like this :

# smb.conf is the main samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2002-10-21
[global]
        workgroup = workgroup
        NetBIOS name = smbserver
        os level = 2
        server string = test-9
        unix extensions = yes
        encrypt passwords = yes
        log level = 1
        syslog = 0
        printing = CUPS
        guest = test
        guest account = yes
        wins support = yes

[data]
        comment = Public Data
        path = /data
        writeable = yes
        public = yes
[ipedo]
        comment = public data
        path = /ipedo
        public = yes
        writeable = yes


Note:
#[global] is the global parameter you must config
#NetBIOS name:the name you can used in Windows OS or other OS
#guest = test :guest user is test
#guest account = yes :permit guest use the smb resources.
#[data]:the name you want to be shared.
#path = /data:assigned the directory you want to be shared.
#writeable = yes:permit the user to write ,default is no.
#public = yes:all users can be used,default is no
#
[ipedo],as[data]
#
#


2、Add the test user and password

you must add a linux user name as test,then:
execute command :
smbpasswd test


3、start the smb server use command:
smbd -D
nmbd
or you can config it in init.d

3、start to use the shared on Windows
Explorer address bar //smbserver/data
if need verify,you can use test/passwd
That is all

If you need to know more about the nfs you can read the article linked by:
http://www.douzhe.com/linuxtips/1556.html 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值