voisinage reseau (network neighborhood)

Jean-Marc Le Pape lepape at shom.fr
Tue Oct 31 15:27:37 GMT 2000


hi,

# nmblookup -B 192.168.42.255 -d 100 -M embruns

Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/data/samba/etc/smb.conf"
Processing section "[global]"
doing parameter workgroup = PDCINF
doing parameter netbios name = EMBRUNS
handle_netbios_name: set global_myname to: EMBRUNS
doing parameter encrypt passwords = yes
doing parameter logon script = %U.bat
doing parameter logon path = \\%N\profiles\%U
doing parameter logon drive = H:
doing parameter logon home = \\%N\%U
doing parameter domain logons = yes
doing parameter domain master = yes
doing parameter preferred master = yes
doing parameter debuglevel = 3
added interface ip=192.168.42.20 bcast=192.168.42.255 nmask=255.255.255.0
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 4
socket option SO_BROADCAST = 32
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 8192
socket option SO_RCVBUF = 8192
Could not test socket option SO_SNDLOWAT.
Could not test socket option SO_RCVLOWAT.
Could not test socket option SO_SNDTIMEO.
Could not test socket option SO_RCVTIMEO.
Socket opened.
querying embruns on 192.168.42.255
Sending a packet of len 50 to (192.168.42.255) on port 137
Sending a packet of len 50 to (192.168.42.255) on port 137
Sending a packet of len 50 to (192.168.42.255) on port 137
name_query failed to find name embruns#1d


whereas

# nmblookup -B 192.168.42.255 -d 100 embruns

Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/data/samba/etc/smb.conf"
Processing section "[global]"
doing parameter workgroup = PDCINF
doing parameter netbios name = EMBRUNS
handle_netbios_name: set global_myname to: EMBRUNS
doing parameter encrypt passwords = yes
doing parameter logon script = %U.bat
doing parameter logon path = \\%N\profiles\%U
doing parameter logon drive = H:
doing parameter logon home = \\%N\%U
doing parameter domain logons = yes
doing parameter domain master = yes
doing parameter preferred master = yes
doing parameter debuglevel = 3
added interface ip=192.168.42.20 bcast=192.168.42.255 nmask=255.255.255.0
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 4
socket option SO_BROADCAST = 32
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 8192
socket option SO_RCVBUF = 8192
Could not test socket option SO_SNDLOWAT.
Could not test socket option SO_RCVLOWAT.
Could not test socket option SO_SNDTIMEO.
Could not test socket option SO_RCVTIMEO.
Socket opened.
querying embruns on 192.168.42.255
Sending a packet of len 50 to (192.168.42.255) on port 137
read_udp_socket: lastip 192.168.42.20 lastport 137 read: 62
parse_nmb: packet id = 27343
Received a packet of len 62 from (192.168.42.20) port 137
nmb packet from 192.168.42.20(137) header: id=27343 opcode=Query(0)
response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=EMBRUNS<00> rr_type=32 rr_class=1 ttl=259200
    answers   0 char @...*.   hex 4000C0A82A14
Got a positive name query response from 192.168.42.20 ( 192.168.42.20 )
192.168.42.20 embruns<00>










More information about the samba-ntdom mailing list