I am running Samba 2.2.2 on a ultrasparc running sunos 5.7. I am having problems connecting with various versions of windows. I went through the debug tests and am not sure how to fix this one: # ./smbclient //song1/song added interface ip=132.239.228.172 bcast=132.239.255.255 nmask=255.255.0.0 session request to SONG1 failed (Not listening for calling name) session request to *SMBSERVER failed (Not listening for calling name) # nslookup song1 Server: eceadm.ucsd.edu Address: 132.239.24.134 Name: song1.ucsd.edu Address: 132.239.228.172 I went through the configuration steps and everything appears to be correct. This is my smb.conf file: # Global parameters hosts allow = localhost \ 132.239.228.162, 132.239.228.29, 132.239.134.236, 132.239.24.17, 132.239.24.7 [global] workgroup = SONG netbios name = SONG1 encrypt passwords = Yes update encrypted = Yes unix password sync = Yes [song] comment = Song home directory path = /home/song Any ideas on how to correct this problem? Soo
In Recent-FAQs.txt it says this error is due to a bad hosts allow statement. Yours seems suspect, since it lies outside the [global] section, has localhost instead of 127. extends onto three lines, and you are using commas instead of spaces to separate some but not all of the hosts. Try just taking out that statement (I think by default everybody can then log on) and see if that helps. OR try: hosts allow = 127. 132.239. Joel> > # Global parameters > > > hosts allow = localhost \ > 132.239.228.162, 132.239.228.29, 132.239.134.236, > 132.239.24.17, 132.239.24.7 > [global] > workgroup = SONG > netbios name = SONG1 > encrypt passwords = Yes > update encrypted = Yes > unix password sync = Yes > > [song] > comment = Song home directory > path = /home/song >
I have a samba PDC that is running ok... all is working fine except acentuation... i cannot wirte files or directories with ????? in the shares of samba... any idea?
I would run tcpdump -i eth0 (or eth1, etc) -n | grep 139. See if the server and the client are at least talking to each other. They do talk to each other if the hosts allow statement excludes the client. I would also try removing the hosts allow statement entirely, if you haven't tried that already. I would also look at the logs. (log level = 3) Here is what I see when hosts allow does not permit a connection from the client. hammer2 is trying to connect to the server. lib/access.c:only_ipaddrs_in_list(271) only_ipaddrs_in_list: list [localhost] has non-ip address localhost lib/access.c:check_access(310) check_access: hostnames in host allow/deny list. lib/access.c:check_access(322) Denied connection from hammer2.jhammer.org (192.168.0.2) Joel On Tue, Nov 20, 2001 at 12:53:24PM -0800, Soo Hom wrote:> I made the changes in my previous email and restarted the machine. I'm > still getting : > # ./smbclient -L song1 > added interface ip=132.239.228.172 bcast=132.239.255.255 nmask=255.255.0.0 > session request to SONG1 failed (Not listening for calling name) > session request to *SMBSERVER failed (Not listening for calling name) > > Any other suggestions? > > Soo > >
I used to get this myself. Never really found out why but it finally went away once I got my smbd and nmbd working right. This may relate to the failed test you had in DIAGNOSIS.txt. I would read this to mean that the is not working right, but, just guessing. Joel On Wed, Nov 28, 2001 at 08:24:16AM -0800, Soo Hom wrote:> Hello, > > I've been getting this error printed on the screen: > Nov 28 00:49:17 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > Nov 28 00:59:25 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > Nov 28 01:09:33 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > Nov 28 01:19:45 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > Nov 28 01:30:01 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > Nov 28 01:40:08 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > Nov 28 01:50:15 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > Nov 28 02:00:51 song1 inetd[1057]: netbios-ns/udp server failing > (looping), service > terminated > > > > Do you know how I can fix it? > > Soo >
I've just set up samba for a small LAN. I'm running samba 2.2.7 on RH 8. Now I have a real problem that I have no clue on. I have VERY intermittent connectivity to the Samba server. If I left a computer (Windows 98) idle for a while, and then try to browse the contents in the Samba server, I will get this error " domain is unavailable" or "The specified network name is no longer available". Sometimes it just freeze the computer. I have to restart the computer and reconnect to Samba again. Sometimes it connects and give me the proper info, sometimes not. Browsing is also screwed up. When I go into Windows Explorer, it takes a minute or so to update the contents. Sometimes stopping and restarting samba does the trick; sometimes it makes it worse. This is very frustrating! Does anyone have the same problem? Any suggestion on how to fix this?! Your advice and help are much appreciated. Please e-mail your suggestion to llow@columbiacollege.bc.ca Thanks Lawrence