nmblookup
Tajthy Tamas
tajthy at mail.euroweb.hu
Wed Dec 16 10:26:29 GMT 1998
Dear List!
I tried this nmblook stuff and it works... almost...
If I look at a NT workstation I got:
-----------------
[/export/home/ego/samba/bin]@ ./nmblookup -r -S -U 200.200.100.200 '*'
Unknown parameter encountered: "domain controller"
Ignoring unknown parameter "domain controller"
Sending queries to 200.200.100.200
200.200.100.200 *<00>
Looking up status of 200.200.100.200
received 6 names
PC200 <00> - M <ACTIVE>
DOMAIN <00> - <GROUP> M <ACTIVE>
PC200 <03> - M <ACTIVE>
PC200 <20> - M <ACTIVE>
USERNAME <03> - M <ACTIVE>
DOMAIN <1e> - <GROUP> M <ACTIVE>
num_good_sends=0 num_good_receives=0
-----------------
(I don't know why I got these "domain controller" errors, but it is not so
important)
If I look at a Win95 w/s:
-----------------
[/export/home/ego/samba/bin]@ ./nmblookup -r -S -U 200.200.100.10 '*'
Unknown parameter encountered: "domain controller"
Ignoring unknown parameter "domain controller"
Sending queries to 200.200.100.10
200.200.100.10 *<00>
Looking up status of 200.200.100.10
No status response (this is not unusual)
-----------------
Why??? What I have done badly? A little more details with debug level 9
follows...
-----------------
[/export/home/ego/samba/bin]@ ./nmblookup -d9 -r -S -U 200.200.100.10 '*'
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/export/home/ego/samba/lib/smb.conf"
Processing section "[global]"
doing parameter workgroup = DOMAIN
doing parameter server string = Samba Server
doing parameter hosts allow = 200.200.100.
doing parameter load printers = yes
doing parameter printcap name = lpstat
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter max log size = 50
doing parameter security = server
doing parameter password server = SERVER1
doing parameter password level = 8
doing parameter encrypt passwords = yes
doing parameter socket options = TCP_NODELAY
doing parameter local master = no
doing parameter domain controller = SERVER1
Unknown parameter encountered: "domain controller"
Ignoring unknown parameter "domain controller"
doing parameter dns proxy = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
lp_servicenumber: couldn't find printers
lp_servicenumber: couldn't find printers
adding IPC service
Warning: inconsistant interface 200.200.100.2
Added interface ip=200.200.100.2 bcast=200.200.100.10 nmask=0.0.0.0
bind failed on port 137 socket_addr=0.0.0.0 (Permission denied)
bind succeeded on port 8000
Socket opened.
Sending queries to 200.200.100.10
nmb packet from 200.200.100.10(137) header: id=30065 opcode=Query(0)
response=No
header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=*<00> q_type=32 q_class=1
1998/12/16 11:15:32 sending a packet of len 50 to (200.200.100.10) on port
137
1998/12/16 11:15:32 received a packet of len 62 from (200.200.100.10) port
137
nmb packet from 200.200.100.10(137) header: id=30065 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=*<00> rr_type=32 rr_class=1 ttl=300000
answers 0 char ....~. hex E000C0C07E10
Got a positive name query response from 200.200.100.10 ( 200.200.100.10 )
200.200.100.10 *<00>
Looking up status of 200.200.100.10
nmb packet from 200.200.100.10(137) header: id=30067 opcode=Query(0)
response=No
header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=*<00> q_type=33 q_class=1
1998/12/16 11:15:34 sending a packet of len 50 to (200.200.100.10) on port
137
nmb packet from 200.200.100.10(137) header: id=30067 opcode=Query(0)
response=No
header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=No
header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
question: q_name=*<00> q_type=33 q_class=1
1998/12/16 11:15:39 sending a packet of len 50 to (200.200.100.10) on port
137
No status response (this is not unusual)
-----------------
What could these lines means??? The 200.200.100.2 is one of my samba servers.
I run this nmblookup in this machine.
Warning: inconsistant interface 200.200.100.2
Added interface ip=200.200.100.2 bcast=200.200.100.10 nmask=0.0.0.0
???
TIA && good byte From:, the inconsistent
This is the first day of the rest of Your life!
More information about the samba
mailing list