Newbie question. If I type nmblookup __some other machine__ I get the correct response from Samba. If I type nmblookup __mymachine__ then I get an error yhat it is not found. So if nmbd is not setup right, how do I fix it? --Dan Dan Huston Phone (602) 965-2420 Measurement, Statistics and Methodological Studies Fax (602) 965-0300 Psychology in Education dan.huston@asu.edu 325 Payne Hall http://seamonkey.ed.asu.edu/~huston Arizona State University Tempe, AZ 85287-0611
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!
Hi! I'v noticed that nmblookup when used for searching master browsers for particular group stops this process when it finds them but not from all segments where hosts maybe MB hosts of the group present. For example, if i have ten LAN segments and i want to search all MB for group "C2" nmblookup returns all LMB it found on first segment where MB hosts of the group present. Is this a bug of nmblookup? - Best Regards, NSC KIPT Network Operation Center Andrew A. Razdolsky
On Fri, 10 Dec 1999 03:37:44 +1100, hai scritto:>For example, if i have ten >LAN segments and i want to search >all MB for group "C2" >nmblookup returns all LMB it >found on first segment where MB hosts >of the group present. > >Is this a bug of nmblookup? >nmblookup does a broadcast on your subnet (segment) to find out netbios names. You can try using -B and see if you can use another broadcast address. -- giulioo@pobox.com
On Fri, 10 Dec 1999 03:37:44 +1100, hai scritto:>>For example, if i have ten >>LAN segments and i want to search >>all MB for group "C2" >>nmblookup returns all LMB it >>found on first segment where MB hosts >>of the group present. >> >>Is this a bug of nmblookup? >> >nmblookup does a broadcast on your subnet (segment) to find out netbios >names. >You can try using -B and see if you can use another broadcast address. >Ok! I'm using nmblookup to find MBs from server host that has some of LAN segments. If i want to search MB for none existent group nmblookup searches on all segments. -------------------------------------- querying ITT on 172.16.11.255 querying ITT on 172.16.12.255 querying ITT on 172.16.13.255 querying ITT on 172.16.15.255 querying ITT on 172.16.16.255 name_query failed to find name ITT -------------------------------------- if searched group exists nmblookup searching process stops after first found MB host for the group. I think this is a nmblookup bug. -- giulioo@pobox.com - Best Regards, NSC KIPT Network Operation Center Andrew A. Razdolsky