[Samba] smbclient can't find this new XP

Joel Hammer Joel at HammersHome.com
Tue Jul 2 14:05:02 GMT 2002


This looks like XP may be misconfigured. I can't tell you from here
(work) how to do it, but somewhere in the XP configuration maze you need
to set your workgroup name and netbios name. Things go best if everybody
is in the same workgroup! Set your netbios name to paulxp.

If all else fails, you could make an entry into the lmhosts file on
your samba server. That might do it.  See man lmhosts for details. Or,
swat may show the info.

Joel

On Tue, Jul 02, 2002 at 11:46:13AM -0700, Paul Huffman wrote:
> I didn't find anything with the -R option:
> pahto% /usr/local/samba/bin/smbclient //paulxp/"My Documents" pw -R host
> added interface ip=161.217.10.13 bcast=161.217.10.255 nmask=255.255.255.0
> session request to PAULXP failed (Called name not present)
> session request to *SMBSERVER failed (Called name not present)
> pahto% /usr/local/samba/bin/smbclient //paulxp/"My Documents" pw -R lmhosts
> added interface ip=161.217.10.13 bcast=161.217.10.255 nmask=255.255.255.0
> Connection to paulxp failed
> pahto% /usr/local/samba/bin/smbclient //paulxp/"My Documents" pw -R wins
> added interface ip=161.217.10.13 bcast=161.217.10.255 nmask=255.255.255.0
> Connection to paulxp failed
> pahto% ^wins^bcast
> /usr/local/samba/bin/smbclient //paulxp/"My Documents" pw -R bcast
> added interface ip=161.217.10.13 bcast=161.217.10.255 nmask=255.255.255.0
> Connection to paulxp failed
> 
> I didn't find a lmhosts file on my samba server or this XP.  Didn't find a
> wins server.
> Also,  I looked through this great big Windows XP Professional resource kit,
> and it beats the bejebus out of me how I make sure the computer name is the
> same as the netbios name in XP.
> 
> But I did find in the TCP/IP properties that the default is to obtain the
> netbios setting from a DCHP server.   Since I'm using static IP addresses,
> maybe I need to hit the radio button to change this to "Enable netbios over
> TCP/IP".
> 
> Joel Hammer wrote:
> 
> > Try smbclient with the -R option (lmhost, host, wins, or bcast) looking for
> > clues. Have you got a wins server? This machine is on a different subnet.
> > Is paulxp properly configured to be paulxp? Maybe its netbios name isn't
> > paulxp.
> > Joel
> >
> > On Mon, Jul 01, 2002 at 05:52:23PM -0700, Paul Huffman wrote:
> > > I upgraded to 2.2.2 on Solaris 7,  and changed the regestry
> > > requiressignorseal to 0.  Although this new XP is able to do the samba
> > > mounts I need,  I'd like to be able to back it to UNIX tapes with
> > > smbclient,  but all I get is :
> > >
> > > /usr/local/samba/bin/smbclient -L //paulxp
> > > added interface ip=161.217.10.13 bcast=161.217.10.255
> > > nmask=255.255.255.0
> > > session request to PAULXP failed (Called name not present)
> > > session request to *SMBSERVER failed (Called name not present)
> > > pahto% cat /etc/hosts
> > > #
> > > # Internet host table
> > > #
> > > 127.0.0.1 localhost
> > > 161.217.10.13 pahto loghost pahto.yakama.com
> > > 161.217.7.3 dnr
> > > 161.217.10.3 hp
> > > 161.217.7.4 wildlife
> > > 161.217.10.4 dj1120
> > > 161.217.9.10 biafor
> > > 161.217.7.2 forestry
> > > 161.217.7.4 yakama
> > > 161.217.10.26 larry
> > > 161.217.10.19 loowit
> > > 161.217.10.22 tahoma
> > > 161.217.20.17 paul
> > > 161.217.20.18 paulxp
> > > 161.217.13.103  lindtop
> > > 161.217.20.07 lindnelson
> > > 161.217.20.08 bill
> > > 161.217.20.16 nelsonserver
> > > 161.217.20.50 nelsonlj
> > > 161.217.20.51 nelsonplotter
> > > 161.217.13.5    tweety
> > > 161.217.13.147 brandonr
> > > 161.217.20.5    johnxp
> > > 209.15.131.95   ykfp




More information about the samba mailing list