Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Sanborn, Ed.vcf Type: application/octet-stream Size: 453 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20000531/c022b23d/SanbornEd.obj
I experienced something similar once, and I *believe* that you might need a PDC (or at least some sort of DC) in each subnet to get resolution via hostname (or, more exactly, "windows machine name"). I forget why this needs to be done however. One temporary solution is to access the boxes via IP address instead of hostname... So instead of accessing \\mybox <file://\\mybox> , you would access \\10.0.0.1 <file://\\10.0.0.1> (assuming that was the IP for the machine called "mybox"). Cheers, Will -----Original Message----- From: Sanborn, Ed [mailto:ed.sanborn@alcatel.com] Sent: May 31, 2000 10:12 AM To: Multiple recipients of list SAMBA Subject: Samba and DHCP Hi folks, I recently changed an NT client from a static IP address to a DHCP address in a new subnet. Now I cannot reach all 3 Samba servers that I have. Any idea why? One clue I have is that the machine is now not visible via DNS as it has been fed a dynamic address. Do I need to use Dynamic DNS for this to work? -Ed Ed Sanborn (978) 691-6496 Manager of Computing Infrastructure, NAR Alcatel 5 Corporate Drive Andover, MA. 01810 Fax (509) 277-3056 http://www.newbridge.com <http://www.newbridge.com/> -------------- next part -------------- HTML attachment scrubbed and removed
Note: HTML mail refused. Multipart/alternative strongly discouraged. [Ed Sanborn <ed.sanborn@alcatel.com>]> I recently changed an NT client from a static IP address to a DHCP > address in a new subnet. Now I cannot reach all 3 Samba servers that > I have. Any idea why?`ping' is a wonderful network diagnostic tool. Can you ping your servers, by IP address? If not, you have network routing problems. If so, you should be able to work something out.> One clue I have is that the machine is now not visible via DNS as it > has been fed a dynamic address. Do I need to use Dynamic DNS for > this to work?DNS is mostly irrelevant to SMB. To locate each other, hosts use either an "lmhosts" file, or NetBIOS name service (NBNS, aka WINS), or broadcast. If your clients are in a different broadcast domain (i.e. a broadcast packet does not reach one from the other), you will have to use either lmhosts or NBNS. I suggest the latter. If you are not already doing so, designate one of your Samba servers as the NBNS server in smb.conf: wins support = true In your other Samba servers, use wins support = false wins server = ip.of.NBNS.server In your DHCP configuration, tell the clients about this state of affairs. Assuming you use the ISC dhcpd, put this in dhcpd.conf: # Win95 bug: must have two NBNS servers. Put the one in twice. option netbios-name-servers ip.of.NBNS.server ip.of.NBNS.server; option netbios-node-type 8; Peter
Hi, Can a machine getting its IP address by DHCP run as a Samba server? I've set up several Red Hat machines as Samba servers. They all have static IP addresses. I want to have a Red Hat 8.0 laptop which gets its IP address by DHCP running as a Samba server. I usually start Samba with "/etc/rc.d/init.d/smb start". When I do this on the laptop, it says that smb and nmb start OK. But when I do "/etc/rc.d/init.d/smb status" on the laptop, it says that smbd is stopped and nmbd is running. When I do "smbclient -L localhost" on the laptop, it says that connection is refused to 127.0.0.1. I've tried installing Samba 2.2.7a from source, and installing Samba 2.2.5 from RPMS. I still can't start smbd. Thanks for any suggestions, Hidong
Thanks, I've turned off ipchains and iptables. Here's the global section of /etc/samba/smb.conf: [global] workgroup = WORKGROUP server string = Samba Server security = SHARE encrypt passwords = Yes username map = /etc/samba/smbusers log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 33 preferred master = True local master = No domain master = False dns proxy = No wins support = Yes guest account = smbuser interfaces = 192.168.230.1/24 hosts allow = 192.168.230. 127. I added the interfaces line according to your suggestion. I'm not sure if this is correct. The Samba server laptop is getting an IP address of 192.168.230.37. I still can't start samba. "ps aux" shows nmbd -D, but no smbd. The strange thing is that the icon for the Samba server appears in the Windows 2000 Network Neighborhood. But when I click on the icon, I get an error window saying that the network path was not found. I'm trying to set up this laptop as a Samba server so that I can share files with a virtual Windows 2000 machine I set up in VMware on this laptop. This configuration of native Red Hat running Samba with guest OS Windows 2000 is something that I've been running for a long time on a desktop Red Hat machine. For some reason, I can't get it working on this laptop. Thanks, Hidong Kurt Weiss wrote:> > > Hidong Kim schrieb: > >> Hi, >> >> Can a machine getting its IP address by DHCP run as a Samba server? I've > > > why it should *not* be ok. > >> set up several Red Hat machines as Samba servers. They all have >> static IP addresses. I want to have a Red Hat 8.0 laptop which gets >> its IP address by DHCP running as a Samba server. I usually start >> Samba with "/etc/rc.d/init.d/smb start". When I do this on the >> laptop, it says > > > u can also use > service smb start|stop|status > >> that smb and nmb start OK. But when I do "/etc/rc.d/init.d/smb >> status" on the laptop, it says that smbd is stopped and nmbd is >> running. When I > > > seems, that u have a config problem / look at the log scripts > > smb.conf in rh8.0 lays under /etc/samba/smb.conf > >> do "smbclient -L localhost" on the laptop, it says that connection is >> refused to 127.0.0.1. I've tried installing Samba 2.2.7a from source, > > > look @ smb.conf (interfaces?) > did u install the rh firewall? in 1 situation on our rh machines > rh-firewall did refuse all netbios ports... > >> and installing Samba 2.2.5 from RPMS. I still can't start smbd. >> Thanks for any suggestions, >> >> >> >> Hidong >> > > >