Host name problems
Mark Dailey
sambaml at cinmar.org
Thu Oct 4 08:28:03 GMT 2001
flyawaycentral.com is the DNS name for the host. What you want to use is
the netbios name from the smb.conf file
e.g. I have a computer in the office. If I ssh to it i type
ssh backup.studioresource.net
However if I want to get at the samba share I do
smbclient -L //ratbert
because in my smb.conf file I have the line
netbios name = RATBERT
If you really want to use DNS names, then you will have to play with the
setting
name resolve order = wins lmhosts bcast dns
in the smb.conf file. I haven't personally ever found a need to use it,
so I can't say exactly how it works.
On Thu, 2001-10-04 at 08:23, Bob Bomar wrote:
> Joel Hammer wrote:
>
> > Try adding -d3 to the end of your command and see what shows up.
> > Joel
> > On Wed, Oct 03, 2001 at 10:42:40PM -0500, Bob Bomar wrote:
> > > I am haveing problems when i run the smbclient. Here is the output:
> > >
> > > flyawaycentral# ./smbclient -U% -L flyawaycentral.com
> > > Get_Hostbyname: Unknown host flyawaycentral.com
> > > Failed to get my hostname.
> > > Added interface ip=192.168.1.101 bcast=192.168.1.255 nmask=255.255.255.0
> > >
> > > Added interface ip=192.168.1.102 bcast=192.168.1.255 nmask=255.255.255.0
> > >
> > > Get_Hostbyname: Unknown host flyawaycentral.com
> > > Get_Hostbyname: Unknown host flyawaycentral.com
> > > Connection to flyawaycentral.com failed
> > >
>
> here is the output for smbclient
>
> flyawaycentral# ./smbclient -U% -L flyawaycentral.com -d3
> Get_Hostbyname: Unknown host flyawaycentral.com
> Failed to get my hostname.
> Added interface ip=192.168.1.101 bcast=192.168.1.255 nmask=255.255.255.0
> Added interface ip=192.168.1.102 bcast=192.168.1.255 nmask=255.255.255.0
> Get_Hostbyname: Unknown host flyawaycentral.com
> Client started (version 2.0.5a).
> resolve_name: Attempting lmhosts lookup for name flyawaycentral.com<0x20>
> resolve_name: Attempting host lookup for name flyawaycentral.com<0x20>
> resolve_name: Attempting wins lookup for name flyawaycentral.com<0x20>
> resolve_name: WINS server resolution selected and no WINS server present.
> resolve_name: Attempting broadcast lookup for name flyawaycentral.com<0x20>
> Get_Hostbyname: Unknown host flyawaycentral.com
> Connection to flyawaycentral.com failed
> flyawaycentral#
>
>
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
More information about the samba
mailing list