I have multiple samba servers. smb1 is my master, smb2 is a slave. My master has this: name resolve order=wins hosts bcast # wins server=127.0.0.1 wins support=yes The Slave has this: name resolve order=wins hosts bcast # wins server=<IP OF Master> wins support=no After 24 hours the Master forgets who the slave is. If I restart the slave he notifies the master who updates his wins.dat happily. Why is the master forgetting who the slave is? I can't get management to buy off on a cronjob that restarts samba every morning. Please CC me on any replies as I'm not on the list, Thanks, Robert (robert@rdlg.net) :wq! --------------------------------------------------------------------------- Robert L. Harris | PGP Key ID: E344DA3B @ x-hkp://pgp.mit.edu=20 DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. Diagnosis: witzelsucht =09 IPv6 =3D robert@ipv6.rdlg.net http://ipv6.rdlg.net IPv4 =3D robert@mail.rdlg.net http://www.rdlg.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20030501/4c66a040/attachment.bin
Well, commenting out the wins server=<IP Of Master> line can't help. I'd re-enable that parameter first. But that doesn't explain why it works for the first 24 hours. Are these guys on the same subnet? If things continue to not work it might be worth experimenting with remote announce or remote brose sync. ~ Daniel> I have multiple samba servers. smb1 is my master, smb2 is a slave. > My master has this: > > name resolve order=wins hosts bcast > # wins server=127.0.0.1 > wins support=yes > > The Slave has this: > name resolve order=wins hosts bcast > # wins server=<IP OF Master> > wins support=no > > > After 24 hours the Master forgets who the slave is. If I restart the > slave he notifies the master who updates his wins.dat happily. Why is > the master forgetting who the slave is? I can't get management to buy > off on a cronjob that restarts samba every morning.----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
In that case, any errors in nmbd.log? A SIGHUP on smb2's nmbd would be useful to see if it knows smb1 is its current master browser, or if you get current master browser = UNKNOWN or somesuch. ~ Daniel> Sorry that was a typo, on the Slave it's not commented out and has the > IP of the master. > > They are on the same subnet, and right next to each other actually. > > > Thus spake daniel.jarboe@custserv.com (daniel.jarboe@custserv.com): > > > Well, commenting out the wins server=<IP Of Master> line can't help. > > I'd re-enable that parameter first. But that doesn't explain why it > > works for the first 24 hours. Are these guys on the same subnet? > > > > If things continue to not work it might be worth experimenting with > > remote announce or remote brose sync. > > > > ~ Daniel > > > > > I have multiple samba servers. smb1 is my master, smb2 > is a slave. > > > My master has this: > > > > > > name resolve order=wins hosts bcast > > > # wins server=127.0.0.1 > > > wins support=yes > > > > > > The Slave has this: > > > name resolve order=wins hosts bcast > > > # wins server=<IP OF Master> > > > wins support=no > > > > > > > > > After 24 hours the Master forgets who the slave is. If I > restart the > > > slave he notifies the master who updates his wins.dat > happily. Why is > > > the master forgetting who the slave is? I can't get > management to buy > > > off on a cronjob that restarts samba every morning. > > > > > > > > > > > > > > > > > > > >----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.