LinuxSir.cn,穿越时空的Linuxsir!

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

我建立一个samba服务器,可是登陆不了,大解帮忙看看

[复制链接]
发表于 2003-11-27 11:13:11 | 显示全部楼层 |阅读模式
我建立一个samba服务器,可是登陆不了,大解帮忙看看
#======================= Global Settings =====================================
[global]
   workgroup = Workgroup
   server string = Samba Server
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
   pam password change = yes
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
[public]
   comment = Public Stuff
   path = /home/samba
   public = yes
   writable = yes
   printable = no
发表于 2003-11-27 11:17:50 | 显示全部楼层
把防火墙关了,如果不知道如何设置防火墙,就关防火墙。
如果是Redhat 就用下面的命令。
[root@linuxsir01 root]# redhat-config-securitylevel

更为详细的,请看这里。

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=17805

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=16298
 楼主| 发表于 2003-11-27 11:22:48 | 显示全部楼层
我在setup里面把防火墙给关了啊
我用的是rea hat ad 3.0
发表于 2003-11-27 11:25:02 | 显示全部楼层
最初由 vion800 发表
我在setup里面把防火墙给关了啊
我用的是rea hat ad 3.0


兄弟看一下我上面给的,因为要建相应的用户的,不仅在要RH上建,也要在WIN中建。
好好读一下那里的文章,我感觉写的比较详细了。
 楼主| 发表于 2003-11-27 11:25:03 | 显示全部楼层
http://www.linuxsir.cn/bbs/showthr...;threadid=17805

http://www.linuxsir.cn/bbs/showthr...;threadid=16298
你发的这个我看过了
我不懂的就是我以前就是这样做的,以前可以成功,现在就是不行,烦啊
还有你的这个 redhat-config-securitylevel命令显示:
bash: redhat-config-securitylevel: command not found
 楼主| 发表于 2003-11-27 11:25:54 | 显示全部楼层
等等我的要求是只是用root进入,其它的不要!
发表于 2003-11-27 13:38:59 | 显示全部楼层
还有你的这个 redhat-config-securitylevel命令显示:
bash: redhat-config-securitylevel: command not found


其实我们应该变通一下吧。哈哈。

[root@linuxsir01 root]# setup
[root@linuxsir01 root]#

                      │   Firewall configuration

把smbusers的内容帖上来一下。多谢
 楼主| 发表于 2003-11-27 15:13:27 | 显示全部楼层
呵呵,我在上面已经说了啊
我是进入setup里面把防火墙给关了的
还有,sam.conf的配置我也已经贴出来了。
麻烦大家了
 楼主| 发表于 2003-11-27 17:17:57 | 显示全部楼层
请斑竹帮我置顶吧~~~~~~
发表于 2003-12-18 01:36:29 | 显示全部楼层
[root@linuxsir01 root]# iptables -F
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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