All pastes #764276 Raw Edit

Kalavera

public text v1 · immutable
·published 2007-11-07 02:04 UTC
rendered paste body
[root@portal1 ~]# nmblookup -T -M -- -
added interface ip=10.0.1.2 bcast=10.0.1.255 nmask=255.255.255.0
Socket opened.
querying __MSBROWSE__ on 10.0.1.255
Got a positive name query response from 10.0.1.2 ( 10.0.1.2 )
Got a positive name query response from 10.0.1.50 ( 10.0.1.50 )
portal1.miraflores.gob.pe, 10.0.1.2 __MSBROWSE__<01>
10.0.1.50 __MSBROWSE__<01>
[root@portal1 ~]# 

[root@portal1 ~]# smbclient -L \\SAMSERVER
Error connecting to 172.168.25.7 (Connection refused)
Connection to SAMSERVER failed
[root@portal1 ~]# 

NEWEST, I THINK somebody does a shutdown on the other end :

[root@portal1 samba]# smbclient -L \\SAMSERVER
Error connecting to 172.168.25.7 (Connection refused)
Connection to SAMSERVER failed
[root@portal1 samba]# nmblookup -n SAMSERVER  -- -
added interface ip=10.0.1.2 bcast=10.0.1.255 nmask=255.255.255.0
Socket opened.
querying - on 10.0.1.255
name_query failed to find name -
[root@portal1 samba]# 


[root@portal1 samba]# /etc/init.d/smb stop 
Shutting down SMB services:                                [  OK  ]
Shutting down NMB services:                                [  OK  ]
[root@portal1 samba]# mv /var/cache/samba/browse.dat /var/cache/samba/browse.dat.old
[root@portal1 samba]# /etc/init.d/smb start
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]
[root@portal1 samba]# smbclient -L samserver
Error connecting to 172.168.25.7 (Connection refused)
Connection to samserver failed
[root@portal1 samba]#