Bluehost.com Web Hosting $6.95

[Samba] smbclient fails to resolve name

This is a discussion on [Samba] smbclient fails to resolve name within the Samba forums, part of the Networking and Network Related category; Hi, we' ve got some probs regarding the smbclient.. it's odd, coz all seems te be working ok, except ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-28-2008
Collen Blijenberg
 
Posts: n/a
Default [Samba] smbclient fails to resolve name

Hi, we' ve got some probs regarding the smbclient..

it's odd, coz all seems te be working ok, except the smbclients.
we use samba 3.2.4, here is a debug level 10
nmblook up is working, also it's a pdc and seems to function normal ?!
i did add wins with the nsswitch, and can ping the host.

anny idea where to look for ?!?!

Cheers, Collen

[root@green var]# echo "huh" | smbclient -M ODIN -d10
Initialising global parameters
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf"
Processing section "[global]"
doing parameter workgroup = JORDANET
doing parameter server string =
doing parameter netbios name = GREEN
handle_netbios_name: set global_myname to: GREEN
doing parameter netbios aliases = STATLER ATHENA THORTON
doing parameter bind interfaces only = no
doing parameter interfaces = 192.168.2.4 127.0.0.1/8
doing parameter socket options = TCP_NODELAY
doing parameter name resolve order = wins bcast host
doing parameter security = user
doing parameter preferred master = yes
doing parameter domain master = yes
doing parameter domain logons = Yes
doing parameter local master = yes
doing parameter os level = 99
doing parameter map to guest = Never
doing parameter wins support = yes
doing parameter dns proxy = no
-----------------
doing parameter include = /usr/local/samba/lib/smb_shares.conf
params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb_shares.conf"
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_DOMAIN_PDC
------------------
added interface bond0 ip=192.168.2.4 bcast=192.168.3.255
netmask=255.255.254.0
interpret_interface: Adding interface 127.0.0.1/8
added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255
netmask=255.0.0.0
Netbios name list:-
my_netbios_names[0]="GREEN"
my_netbios_names[1]="STATLER"
my_netbios_names[2]="ATHENA"
my_netbios_names[3]="THORTON"
Client started (version 3.2.4).
Opening cache file at /usr/local/samba/var/locks/gencache.tdb
Cache entry with key = AD_SITENAME/DOMAIN/ couldn't be found
sitename_fetch: No stored sitename for
internal_resolve_name: looking up ODIN#3 (sitename (null))
Cache entry with key = NBT/ODIN#03 couldn't be found
no entry for ODIN#03 found.
resolve_wins: Attempting wins lookup for name ODIN<0x3>
Cache entry with key = WINS_SRV_DEAD/127.0.0.1,0.0.0.0 couldn't be found
wins_srv_is_dead: 127.0.0.1 is alive
resolve_wins: using WINS server 127.0.0.1 and tag '*'
bind succeeded on port 0
Sending a packet of len 50 to (127.0.0.1) on port 137
read_udp_v4_socket: ip 127.0.0.1 port 35072 read: 56
parse_nmb: packet id = 18870
Received a packet of len 56 from (127.0.0.1) port 137
nmb packet from 127.0.0.1(137) header: id=18870 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=3 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=ODIN<03> rr_type=10 rr_class=1 ttl=0
Negative name query response, rcode 0x03: The name requested does not exist.
name_resolve_bcast: Attempting broadcast lookup for name ODIN<0x3>
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
Could not test socket option TCP_KEEPCNT.
Could not test socket option TCP_KEEPIDLE.
Could not test socket option TCP_KEEPINTVL.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 111616
socket option SO_RCVBUF = 111616
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Sending a packet of len 50 to (192.168.3.255) on port 137
Sending a packet of len 50 to (192.168.3.255) on port 137
Sending a packet of len 50 to (192.168.3.255) on port 137
Sending a packet of len 50 to (127.255.255.255) on port 137
Sending a packet of len 50 to (127.255.255.255) on port 137
Sending a packet of len 50 to (127.255.255.255) on port 137
resolve_hosts: not appropriate for name type <0x3>
lang_tdb_init: /usr/local/samba/lib/en_US.UTF-8.msg: No such file or
directory
Connection to ODIN failed. Error NT_STATUS_BAD_NETWORK_NAME
[root@green var]#


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0