Jarek Luberek
1998-Nov-03 15:04 UTC
smbclient sees the virtual samba server but not the windows clients
Hello Again! I now have a virtual host serving (almost) samba and a real one serving samba under the original name. On the local machine, I can access the the virtual host through smbclient and smbmount. Everything seems all right. Unfortunately, the virtual host won't serve the windows-9x machines. The virtual (and real) host both appear on the network browse list but when the win clients try to enter the virtual host it will refuse to serve the clients (claiming unavailable service). The setup is that the real host has "wins support = yes", the virtual points to the real by "wins server = 192.168.0.4" and they both bind to their own interface only. The virtual host uses "netbios name = pico". Real hostname is "marvin". The WorkGroup is RI. Everybody can connect to the real host (marvin) but only marvin (linux) can connect to the virtual host. Everybody (win clients) can see both marvin and pico on the network. I can't figure out what is happening here. I've included a short (maybe not that short) printout from the log. If anybody can see what happens here I would be grateful. virtual hostname is pico, 192.168.0.40 real hostname is marvin 192.168.0.4 Thanks in advance, /jarek read_udp_socket: lastip 192.168.0.24 lastport 138 read: 216 1998/11/03 15:40:06 received a packet of len 216 from (192.168.0.24) port 138 find_name_on_subnet: on subnet 192.168.0.40 - name RI<1d> NOT FOUND process_dgram: ignoring dgram packet sent to name RI<1d> from 192.168.0.24 find_workgroup_on_subnet: workgroup search for RI on subnet 192.168.0.40: found announce_myself_to_domain_master_browser: t (910104006) - last(910103267) < 900 dump_workgroups: dump workgroup on subnet 192.168.0.40: netmask= 255.255.255.0: RI(1) current master browser = CAD PICO 40019a03 (Jarek's virtuella Linux-burk) CAD 40051203 () dump_workgroups: dump workgroup on subnet UNICAST_SUBNET: netmask= 192.168.0.4: RI(1) current master browser = UNKNOWN PICO 40019a03 (Jarek's virtuella Linux-burk) find_workgroup_on_subnet: workgroup search for RI on subnet UNICAST_SUBNET: found find_workgroup_on_subnet: workgroup search for RI on subnet 192.168.0.40: found announce_myself_to_domain_master_browser: t (910104006) - last(910103267) < 900 dump_workgroups: dump workgroup on subnet 192.168.0.40: netmask= 255.255.255.0: RI(1) current master browser = CAD PICO 40019a03 (Jarek's virtuella Linux-burk) CAD 40051203 () dump_workgroups: dump workgroup on subnet UNICAST_SUBNET: netmask= 192.168.0.4: RI(1) current master browser = UNKNOWN PICO 40019a03 (Jarek's virtuella Linux-burk) find_workgroup_on_subnet: workgroup search for RI on subnet UNICAST_SUBNET: found read_udp_socket: lastip 192.168.0.23 lastport 138 read: 216 1998/11/03 15:40:22 received a packet of len 216 from (192.168.0.23) port 138 find_name_on_subnet: on subnet 192.168.0.40 - name RI<1d> NOT FOUND process_dgram: ignoring dgram packet sent to name RI<1d> from 192.168.0.23 find_workgroup_on_subnet: workgroup search for RI on subnet 192.168.0.40: found announce_myself_to_domain_master_browser: t (910104017) - last(910103267) < 900 dump_workgroups: dump workgroup on subnet 192.168.0.40: netmask= 255.255.255.0: RI(1) current master browser = CAD PICO 40019a03 (Jarek's virtuella Linux-burk) CAD 40051203 () dump_workgroups: dump workgroup on subnet UNICAST_SUBNET: netmask= 192.168.0.4: RI(1) current master browser = UNKNOWN PICO 40019a03 (Jarek's virtuella Linux-burk) find_workgroup_on_subnet: workgroup search for RI on subnet UNICAST_SUBNET: found -------------- next part -------------- HTML attachment scrubbed and removed
Florian G. Pflug
1998-Nov-03 16:10 UTC
smbclient sees the virtual samba server but not the windows clients
Hi please mail me your smb.conf and the output of ifconfig. Greetings, Florian Pflug
Florian G. Pflug
1998-Nov-04 16:57 UTC
smbclient sees the virtual samba server but not the windows clients
Hi> > I just read a previus mail from you.. you wrote something about a chrooted> > environment - do you specify a diffrent smb.conf using chroot? > > It is a different smb for the chroot-ed part. One is in /etc and the > other in /usr/virtual/pico.radians.se/etc. Then I do > chroot /usr/virtual/pico.radians.se/bash > and > /usr/sbin/smbd -D; /usr/sbin/nmbd -DI don't know which unix you use, but I tried this once with linux, and ran into trouble with shared librarys,... maybe, e.g, the guest accound does not work correctly in the chrooted-environment, and thats why smbd does not work? (Just an idea, can be completely wrong)> Does not seem to be necessary, the chrooted virtual host seems to do what it > should.Well... nearly, I guess Greetings, Florian Pflug