免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: david_humor
打印 上一主题 下一主题

[samba] samba的问题,查看了精华贴仍未解决 [复制链接]

论坛徽章:
0
41 [报告]
发表于 2005-03-01 11:58 |只看该作者

samba的问题,查看了精华贴仍未解决

原帖由 "david_humor" 发表:


我在windowsXP中和linux中同时加了用户,用户名和密码都相同,并且在smb.conf中配置security = user,用smbpasswd -a 指定用户可以使用smb了,但是还不行啊,XP和linux的防火墙我也都关闭了啊,还是不行,继续求教!!!!


guest account = guest,然后在linux下增加guest用户,确认telnet能够用guest登录,建议把$SAMBA_PATH/var的log贴上来大家看看?

论坛徽章:
6
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-03 17:33:522015元宵节徽章
日期:2015-03-06 15:50:39IT运维版块每日发帖之星
日期:2016-01-11 06:20:00IT运维版块每日发帖之星
日期:2016-03-19 06:20:0019周年集字徽章-19
日期:2019-09-06 18:56:11
42 [报告]
发表于 2005-03-01 12:08 |只看该作者

samba的问题,查看了精华贴仍未解决

winxp 以上版本不能登陆samba做的Domain

论坛徽章:
0
43 [报告]
发表于 2005-03-01 12:34 |只看该作者

samba的问题,查看了精华贴仍未解决

workgroup = WORKGROUP (定义该Samba服务器所在的工作组或者域)
security = share (定义Samba的安全级别)
server string = My Samba Server
hosts allow = 192.168.1.220 127.0.0.1 (允许访问的主机,用空格隔开)
encrypt passwords = yes (对密码是否加密)
smb passwd file = /etc/samba/smbpasswd (密码文件的位置)

论坛徽章:
0
44 [报告]
发表于 2005-03-01 12:35 |只看该作者

samba的问题,查看了精华贴仍未解决

[sysbak]
comment = Mary's and Fred's stuff
path =/sysbak (共享目录的路径)
public = yes (是否允许游客访问)
writable = yes (是否可以写入)

论坛徽章:
0
45 [报告]
发表于 2005-03-01 13:38 |只看该作者

samba的问题,查看了精华贴仍未解决

原帖由 "3sane" 发表:


guest account = guest,然后在linux下增加guest用户,确认telnet能够用guest登录,建议把$SAMBA_PATH/var的log贴上来大家看看?


$SAMBA_PATH/var的log是哪个啊?

论坛徽章:
0
46 [报告]
发表于 2005-03-01 13:41 |只看该作者

samba的问题,查看了精华贴仍未解决

hosts allow = 192.168.1.220 127.0.0.1 (允许访问的主机,用空格隔开)

论坛徽章:
0
47 [报告]
发表于 2005-03-01 13:46 |只看该作者

samba的问题,查看了精华贴仍未解决

[quote]原帖由 "牙齿晒太阳"]hosts allow = 192.168.1.220 127.0.0.1 (允许访问的主机,用空格隔开)[/quote 发表:


加在我的共享[myshare]底下可以否?

论坛徽章:
0
48 [报告]
发表于 2005-03-01 13:50 |只看该作者

samba的问题,查看了精华贴仍未解决

没有好好看README阿你
这个是基本配置,你看看smb.conf中默认的应该是被注释掉的

论坛徽章:
0
49 [报告]
发表于 2005-03-01 13:53 |只看该作者

samba的问题,查看了精华贴仍未解决

/var/log/samba下的所有日志,请看  ddserver是我的linux计算机名,humor是windowsXP的计算机名,david_humor是用户名,存在于linux和windowsXP的两台计算机上

ddserver.log:
[2005/02/28 01:46:12, 0] smbd/service.c:make_connection(252)
  ddserver (192.168.8.6) couldn't find service pub

smbd.log:
[2005/02/27 23:04:42, 0] lib/pidfile.c:pidfile_create(86)
  ERROR: smbd is already running. File /var/run/samba/smbd.pid exists and process id 2233 is running.

smbmount.log:
[2005/02/27 21:34:34, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=1967
[2005/02/27 21:46:05, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=1990
[2005/02/27 21:51:26, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\mylinux, pid=1997
[2005/02/27 23:38:42, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:38:42, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:39:05, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:39:05, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:39:18, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:39:18, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:41:05, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:41:05, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:41:55, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:41:55, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:42:39, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:42:39, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:43:30, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:43:30, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:43:40, 0] client/smbmount.c:do_connection(206)
  Anonymous login successful
[2005/02/27 23:43:40, 0] client/smbmount.c:do_connection(214)
  1990: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
[2005/02/27 23:50:22, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=921
[2005/02/27 23:51:27, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=941
[2005/02/27 23:52:18, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\mylinux, pid=948
[2005/02/28 00:04:43, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\mylinux, pid=998
[2005/02/28 00:05:30, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\mylinux, pid=1005
[2005/02/28 00:06:10, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=1011
[2005/02/28 00:25:09, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=1236
[2005/02/28 19:36:37, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=845
[2005/02/28 19:37:08, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\ddserver\myshare, pid=850
[2005/02/28 22:10:11, 0] client/smbmount.c:send_fs_socket(383)
  mount.smbfs: entering daemon mode for service \\humor\share, pid=1329

log.nmbd:
[2005/02/27 22:44:39, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 22:44:39, 0] param/loadparm.c:map_parameter(2065)
  Unknown parameter encountered: "netbios"
[2005/02/27 22:44:39, 0] param/loadparm.c:lp_do_parameter(2740)
  Ignoring unknown parameter "netbios"
[2005/02/27 22:50:28, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/27 22:57:47, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/27 22:57:48, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 22:57:48, 0] param/loadparm.c:map_parameter(2065)
  Unknown parameter encountered: "netbios"
[2005/02/27 22:57:48, 0] param/loadparm.c:lp_do_parameter(2740)
  Ignoring unknown parameter "netbios"
[2005/02/27 23:02:03, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/27 23:02:03, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 23:04:42, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 23:04:42, 0] lib/pidfile.c:pidfile_create(86)
  ERROR: nmbd is already running. File /var/run/samba/nmbd.pid exists and process id 2237 is running.
[2005/02/27 23:04:54, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/27 23:04:54, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 23:10:43, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/27 23:21:51, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/27 23:21:51, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 23:27:40, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/27 23:45:27, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/27 23:46:45, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 23:47:18, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/27 23:47:18, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 23:48:19, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/27 23:51:16, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/27 23:57:05, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/28 00:04:17, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 00:04:17, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 00:10:06, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/28 01:02:30, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 01:02:30, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 01:04:38, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 01:05:59, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 01:11:42, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 01:11:42, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 01:17:31, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/28 01:19:15, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 01:19:16, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 01:25:05, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/28 01:56:38, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 19:33:13, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 19:39:02, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server DDSERVER is now a local master browser for workgroup WORKGROUP on subnet 192.168.8.6
  
  *****
[2005/02/28 19:41:10, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 19:42:28, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 19:42:32, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 2054 received with no matching record.
[2005/02/28 19:42:32, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 2055 received with no matching record.
[2005/02/28 20:04:41, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 20:04:41, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 20:04:45, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 3412 received with no matching record.
[2005/02/28 20:04:45, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 3413 received with no matching record.
[2005/02/28 20:07:05, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 20:07:05, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 20:07:09, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 3599 received with no matching record.
[2005/02/28 20:07:09, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 3600 received with no matching record.
[2005/02/28 20:08:35, 0] nmbd/nmbd.c:terminate(59)
  Got SIGTERM: going down...
[2005/02/28 20:08:35, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 20:08:39, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 3615 received with no matching record.
[2005/02/28 20:08:39, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 3616 received with no matching record.

log.smbd:
[2005/02/27 22:44:39, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 22:44:39, 0] param/loadparm.c:map_parameter(2065)
  Unknown parameter encountered: "netbios"
[2005/02/27 22:44:39, 0] param/loadparm.c:lp_do_parameter(2740)
  Ignoring unknown parameter "netbios"
[2005/02/27 22:57:48, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 22:57:48, 0] param/loadparm.c:map_parameter(2065)
  Unknown parameter encountered: "netbios"
[2005/02/27 22:57:48, 0] param/loadparm.c:lp_do_parameter(2740)
  Ignoring unknown parameter "netbios"
[2005/02/27 23:02:03, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 23:04:42, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 23:04:54, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 23:21:51, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 23:46:45, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 23:47:18, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/27 23:51:16, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 00:04:17, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 01:02:30, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 01:05:58, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 01:11:42, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 01:19:16, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 19:33:12, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 19:42:28, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 20:04:41, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 20:07:05, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2005/02/28 20:08:35, 0] smbd/server.c:main(707)
  smbd version 2.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002

请高手给看看

论坛徽章:
0
50 [报告]
发表于 2005-03-01 13:57 |只看该作者

samba的问题,查看了精华贴仍未解决

\\humor\mylinux
\\humor\share

humor是windowsXP的计算机名 ??????
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP