LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 735|回复: 2

开启了samba,觉得文档写的有些让我难受

[复制链接]
发表于 2005-1-11 17:34:29 | 显示全部楼层 |阅读模式
置疑文档中的:
1  现在为WIN2KBOX添加机器信任账号,我根本没理
2  If inetd is used .........If xinetd is used........不知道是否有必要,但我还是照做了
3  cat > /etc/rc.d/init.d/samba << "EOF" : 创建Samba启动脚本,用于在机器启动和关闭时自动运行和停止Samba。
/usr/sbin/useradd -g 100 -d /dev/null -c \
    "Win2k Server" -s /bin/false win2kbox$ :

我真的不知道这句话在干什么,我没有100这个组,我也没理会这些

4 配置文件
[global]
    netbios name = SAMBABOX
    workgroup = DTWX
    os level = 64
    preferred master = yes   (后来屏蔽了)
    domain master = yes       (后来屏蔽了)
    local master = yes           (后来屏蔽了)
    security = user
    encrypt passwords = yes
    domain logons = yes        (后来屏蔽了)
.........
最让我吃惊的是文档中把开启samba的机子做为了主域控制器,刚开始没注意,等我 samba start的时候,我发现局域网内所有的机子都无法进入DTWX工作组,搞了半天,才警觉原来已经有了个主域控制器,一般来说,我们windows的机子都已经进入了某个工作组,再把samba设为主域控制器,似乎不太合适。不过,我倒是发现了一个使工作组瘫痪的法子,哈哈。

写出来,就是大家交流交流。对了,如果,下载了samba-2.2.8-1.3.0a.src.rpm这种包,是不是编译了、安装就OK了?不像这种,很费劲

:cool:
发表于 2005-1-11 21:09:45 | 显示全部楼层
>下载了samba-2.2.8-1.3.0a.src.rpm这种包,是不是编译了、安装就OK了?

No!
src.rpm is merely the source codes packed by rpm for use in rpm-based distros such as RH/Fedora/SuSE/MDK etc.  LFS does not use rpm unless you have compiled your own.

BTW, 2.2.8 is a little bit outdated, if you don't want to use the 3.0.x series, you should download 2.2.11+.  2.2.11 binaries already available from Samba's mirrors.  If you want src codes, you should get 2.2.12.

Further, there are many tools available to configure the smb.conf such as SWAT, webmin etc.  Configuration the smb.conf file is no longer a hard job.
 楼主| 发表于 2005-1-12 10:01:45 | 显示全部楼层
对啊,楼上的,我就是想知道这些。我以前也编译、安装过*.src.rpm,原来LFS不支持啊。嘿嘿,我用的3.x系列,不是BLFS上说的version, i just think the blfs document about smb confuse me
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表