chris.hall.list at highwayman.com
2011-Feb-03 10:08 UTC
[Samba] Repeated "Forced Election"... can this be avoided ?
Hi all, I am running a v3.5.6 samba as a PDC with tbdsam. I have: security = user domain master = yes domain logons = yes local master = yes preferred master = yes os level = 33 log level = 1 My daily logwatch shows: Connections Denied: lib/util_sock.c:1432(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected 0.0.0.0 : 121 Time(s) lib/util_sock.c:1432(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected 0.0.0.0 : 121 Time(s) Forced Election: In workgroup SMB_DOMAIN when announced server was: <Windows 7> (a.b.c.x) : 22 Time(s) <Windows 7> (a.b.c.y) : 120 Time(s) <Windows XP>(a.b.c.z) : 120 Time(s) The "22 Time(s)" machine is only on some of the time ! Is this normal ? Can I avoid this clutter ? -- other than by turning off the logging :-) I also see some DHCP logging: Unknown Entries: Unable to add reverse map from w.c.b.a.in-addr.arpa. to FRED.SMB_DOMAIN: not found: 16 Time(s) Unable to add reverse map from y.c.b.a.in-addr.arpa. to BARNEY.SMB_DOMAIN: not found: 8 Time(s) Unable to add reverse map from x.c.b.a.in-addr.arpa. to WILMA.SMB_DOMAIN: not found: 14 Time(s) Are these normal ? Is there something I should do with dynamic DNS to help, here ? Thanks, Chris
TAKAHASHI Motonobu
2011-Feb-03 14:58 UTC
[Samba] Repeated "Forced Election"... can this be avoided ?
2011/2/3 <chris.hall.list at highwayman.com>:> I also see some DHCP logging: > > Unknown Entries: > Unable to add reverse map from w.c.b.a.in-addr.arpa. to > FRED.SMB_DOMAIN: not found: 16 Time(s) > Unable to add reverse map from y.c.b.a.in-addr.arpa. to > BARNEY.SMB_DOMAIN: not found: 8 Time(s) > Unable to add reverse map from x.c.b.a.in-addr.arpa. to > WILMA.SMB_DOMAIN: not found: 14 Time(s) > > Are these normal ? Is there something I should do with dynamic DNS to > help, here ?If you stop this message, apply a patch in http://support.microsoft.com/kb/2171571 or modify your Windows 7 machine's FQDN manually.> Forced Election: > In workgroup SMB_DOMAIN when announced server was: > <Windows 7> (a.b.c.x) : 22 Time(s) > <Windows 7> (a.b.c.y) : 120 Time(s) > <Windows XP>(a.b.c.z) : 120 Time(s) > > The "22 Time(s)" machine is only on some of the time !Have you set these machine's firewall suitable for Internet? If a windows machine running browsing service can not receive UDP broadcast, the machine recognizes that "I have to become a master browser" and will cause election. --- TAKAHASHI Motonobu <monyo at samba.gr.jp>