[Samba] Error: session request to *SMBSERVER failed (Not listening for ca lling name)

Joel Hammer Joel at HammersHome.com
Wed Apr 3 14:58:29 GMT 2002

This is an old question.
Here is the FAQ answer:

Not listening for calling name

> Session request failed (131,129) with myname=HOBBES destname=CALVIN
> Not listening for calling name

If you get this when talking to a Samba box then it means that your
global "hosts allow" or "hosts deny" settings are causing the Samba 
server to refuse the connection. 

Look carefully at your "hosts allow" and "hosts deny" lines in the
global section of smb.conf. 

It can also be a problem with reverse DNS lookups not functioning 
correctly, leading to the remote host identity not being able to 
be confirmed, but that is less likely. 

To ferret out this sort of answer,
cd sambasourcedirectory/docs/textdocs
grep -i calling *

Recent-FAQs.txt:		Not listening for calling name
Recent-FAQs.txt:Not listening for calling name
Recent-FAQs.txt:> Not listening for calling name


On Wed, Apr 03, 2002 at 01:17:52PM -0500, Mack, Daemian wrote:
> I've tried to lock down my Samba shares a bit by specifying hostnames in the
> "hosts allow" field.
> Fxor some reason, Samba is now refusing *all* connections, even from the
> allowed hosts.  For testing purposes, I am using "hosts allow = jetsam".
> Here's my smb.conf:
> [global]
>         workgroup = tech
>         netbios name = sambaserver
>         server string = Samba 2.2.1
>         map to guest = Bad Password
>         null passwords = Yes
>         local master = No
>         domain master = False
>         wins support = Yes
>         guest account = guest
>         read only = No
>         guest ok = Yes
>         hosts allow = jetsam
>         encrypt passwords = Yes
> [root]
>         path = /
> [tmp]
>         path = /tmp/
> When connecting with the Windows 98 machine named jetsam, here's what
> happens:
> C:\WINDOWS>net use * \\sambaserver\tmp
> Error 51: The specified computer is not receiving requests. Make sure you
> are
> specifying the computer name correctly, or try again later when the remote
> computer is available.
> If I try to connect from the Samba server itself, here's what happens:
> # ./smbclient -L sambaserver -n jetsam
> added interface ip= bcast= nmask=
> session request to SAMBASERVER failed (Not listening for calling name)
> session request to *SMBSERVER failed (Not listening for calling name)
> I'm not sure what could be causing this.  I've tried stopping and starting
> the daemons, but I still get the errors...
> Daemian Mack
> -- 
> 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