[Samba] 'Not listening for calling name'

Joel Hammer Joel at HammersHome.com
Wed Jul 10 04:41:02 GMT 2002


Have you just tried the expedient of putting the appropriate address in 
/etc/hosts (If it is not there already)
and then using the "-R host"  option with smbclient. (This seems to be your
default lookup method, according to your error messages.)
Or, putting the client into your lmhosts file on the samba server and using
the "-R lmhosts" option?
If either of these work, then you could change the lookup sequence in your
smb.conf global section, eg.

	name resolve order = lmhosts wins bcast host

What this error message is saying is that it is trying to broadcast for the
host name. Now, you ask, whey doesn't this foolish thing just keep looking,
one the DNS lookup fails. I wish I knew, but it doesn't.
Joel

On Tue, Jul 09, 2002 at 06:20:32PM +0100, Vicky Clarke wrote:
> 
> I'm having a strange problem with samba, 2.2.3a running on an 
> out-of-the-box SuSE 8.0 system. This is the first time I've set it up 
> (hence the dumb questions I was asking on here a day or two ago). I've now 
> worked my way through diagnosis.txt and a couple of odd netBIOS issues with 
> the NT4 PDC, and at last I have some shares set up that my Windows client 
> can use quite happily. However smbclient on the local machine comes up with 
> the following error:
> 
> wild:~ # smbclient //wild/art -U username%password
> added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
> added interface ip=172.17.1.3 bcast=172.17.3.255 nmask=255.255.252.0
> session request to WILD failed (Not listening for calling name)
> session request to *SMBSERVER failed (Not listening for calling name)
> 
> smbd and nmbd are running as daemons; this is my smb.conf:
> 
> [global]
>          netbios name = SAMBA
>          workgroup = DOMAIN1
>          os level = 2
>          wins server = 172.17.1.2
>          hosts allow = 172.17.1.2 172.17.3. 127.
>          encrypt passwords = yes
>          guest account = Nobody
>          map to guest = Bad User
>          add user script = /usr/sbin/useradd %u
>          delete user script = /usr/sbin/userdel %u
>          unix password sync = yes
>          passwd program = /usr/bin/passwd %u
>          passwd chat = "New password:*" %n\n "Re-enter new password:*" %n\n 
> "Pas\
> sword changed*"
>          log file = /var/log/samba/%m
>          log level = 3
>          security = domain
>          password server = 172.17.1.2
>          socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
>          local master = No
>          interfaces = lo eth0
>          wins support = no
>          wins server = 172.17.1.2
>          character set = ISO8859-15
>          client code page = 850
>          veto files = /*.eml/*.nws/riched20.dll/*.{*}/
> [vicky]
>          comment = Linux home directory for Vicky
>          browseable = no
>          valid users = vclarke root Administrator
>          path = /home/vclarke
>          read only = no
>          create mask = 0600
>          directory mask = 0700
> [homes]
>          comment = PC home directories
>          path = /share/pchomes/%S
>          read only = No
>          create mask = 0640
>          directory mask = 0750
>          browseable = No
>          writeable = yes
> [art]
>          comment = Art directories
>          path= /share/art
>          read only = no
>          create mask = 0666
>          directory mask = 0777
> 
> Can anyone help me work out what's going wrong?
> 
> Thanks in advance,
> Vicky Clarke
> 
> 
> -- 
> 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