Matthew J. Salerno
2002-Feb-11 06:58 UTC
[Samba] Very strange issue, please assist "Not listening on called name" ?
p750 - Windows 2000 server satest1 - Redhat Linux 7.2 Samba - 2.2.1a I am pretty sure that I supplied enough info about my system, if you need more just let me know. I am trying to connect to a Redhat 7.2 system with Win2k Server. I can see the system, but when I try to map a share using the correct user credentials I get a strange error message (pasted below). I can connect to another samba server that has share level security. I entered the name and IP for p750 in the hosts file and in the lmhosts file. I have been searching deja.com, samba.org, and yes the O'Reilly book, no answers, just recommendations. I have tried just about everything that I can think of. I do not want to have File and printer sharing enabled (security reasons plus a much less chatty network). No, I do not have a firewall running. All systems are on the same subnet. Any helpful assistance will be appreciated. Here is what the log read after I try to map the drive using the proper user credentials. [root@satest1 samba]# cat log.p750 [2002/02/08 12:51:20, 3] smbd/process.c:process_smb(837) Transaction 1 of length 137 [2002/02/08 12:51:20, 3] smbd/process.c:switch_message(650) switch message SMBnegprot (pid 1904) [2002/02/08 12:51:20, 3] smbd/sec_ctx.c:set_sec_ctx(316) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [PC NETWORK PROGRAM 1.0] [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [LANMAN1.0] [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [Windows for Workgroups 3.1a] [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [LM1.2X002] [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [LANMAN2.1] [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [NT LM 0.12] [2002/02/08 12:51:20, 3] libsmb/namequery.c:resolve_lmhosts(733) resolve_lmhosts: Attempting lmhosts lookup for name P750<0x20> [2002/02/08 12:51:20, 3] lib/util_sock.c:open_socket_out(869) Connecting to 192.168.0.2 at port 139 [2002/02/08 12:51:20, 3] smbd/password.c:server_cryptkey(1108) connected to password server P750 [2002/02/08 12:51:20, 3] lib/util_sock.c:open_socket_out(869) Connecting to 192.168.0.2 at port 139 [2002/02/08 12:51:20, 0] libsmb/cliconnect.c:attempt_netbios_session_request(838) attempt_netbios_session_request: P750 rejected the session for name *SMBSERVER with error Not listening on called name [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(433) Selected protocol NT LM 0.12 [root@satest1 samba]# # Lets try it the other way around. [root@satest1 samba]# smbclient -L p750 -I 192.168.0.2 INFO: Debug class all level = 3 (pid 1720 from pid 1720) added interface ip=192.168.0.102 bcast=192.168.0.255 nmask=255.255.255.0 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 session request to P750 failed (Not listening on called name) session request to *SMBSERVER failed (Not listening on called name) The following command returns the expected output. nmblookup -A 192.168.0.2 Looking up status of 192.168.0.2 P750 <00> - B <ACTIVE> HOME <00> - <GROUP> B <ACTIVE> HOME <1e> - <GROUP> B <ACTIVE> P750 <03> - B <ACTIVE> HOME <1d> - B <ACTIVE> ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE> ADMINISTRATOR <03> - B <ACTIVE> # My smb.conf [global] workgroup = SATEST1 netbios name = SATEST1 netbios aliases = SATEST1 server string = Samba Server %v - SATEST1 interfaces = eth0 127.0.0.1 bind interfaces only = Yes security = SERVER password server = p750 lanman auth = no username level = 8 restrict anonymous = Yes log level = 3 log file = /var/log/samba/log.%m max log size = 1024 #min protocol = NT1 name resolve order = lmhosts host lmhosts wins bcast deadtime = 5 lpq cache time = 0 max smbd processes = 10 load printers = No show add printer wizard = No os level = 10 lm interval = 900 preferred master = False local master = No domain master = False dns proxy = No case sensitive = no preserve case = yes short preserve case = yes kernel oplocks = yes null passwords = no socket options = TCP_NODELAY IPTOS_LOWDELAY [logs] comment = Apache Http Logs path = /usr/local/psa/apache/logs/ valid users = collector read list = collector writeable = no hosts allow = 192.168.0.2 max connections = 10 veto files = /Desktop.ini/desktop.ini/ wide links = no -------------- next part -------------- HTML attachment scrubbed and removed
Matthew J. Salerno
2002-Feb-11 07:56 UTC
[Samba] Very strange issue, please assist "Not listening on called name" ?
> This error message is close to what your are getting. Maybe it is > relevant. This comes from RecentFaq's in textdocs. > > Joel > > 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. > > On Mon, Feb 11, 2002 at 09:47:20AM -0500, Matthew J. Salerno wrote: > > Connecting to 192.168.0.2 at port 139 > > [2002/02/08 12:51:20, 0] > > libsmb/cliconnect.c:attempt_netbios_session_request(838) > > attempt_netbios_session_request: P750 rejected the session for name > > *SMBSERVER with error Not listening on called name > > [2002/02/08 12:51:20, 3] smbd/negprot.c:reply_negprot(433) >I added hosts allow = 192.168.0. to the global directives. The would include all systems on the subnet. I still get the same error. Since the message reads: P750 rejected the session for name *SMBSERVER with error Not listening on called name wouldn't that mean that it is finding the correct server but something else is going wrong ? I have added and removed all host allow and host deny from my smb.conf and I still get the same error. Thanks for the reply, unfortunately it did not work. If you or anyone has any other suggestions, please let me know. Thanks, Matt