Hi All, I'm having trouble integrating 1.9.18p1 servers into an NT domain as local browse masters. If I set 'os level' to 17 or greater (I've actually tried 18,20,29,32,33,34 and 65) then the samba server wins the election. At this point, if I check which host is the local browse master, then samba server is listed. However, every 5 minutes the samba server receives a messages that an NT machine says that it's the browse master, so an election is forced. Is this normal behavior? Also, If the samba server should lose the election (i.e. 'os level = 2') then it fails to register itself on the subnet and never participates in the election again. Below is the appropriate section of smb.conf and the log file: SMB.CONF: ---------------------------------- wins support = no wins server = winsserver workgroup = sfwmd_hq domain master = no local master = yes preferred master = yes os level = 65 LOG.NMB (where os level = 65): ----------------------------------- Got SIGUSR1 set debug level to 2. process_local_master_announce: Server PC1597 at IP 141.232.62.120 is announcing itself as a local master browser for workgroup SFWMD_HQ and we think we are master. Forcing election. unbecome_local_master_browser: unbecoming local master for workgroup SFWMD_HQ on subnet 141.232.62.12 01/14/1998 13:40:38 ***** Samba name server BABYLON5 has stopped being a local master browser for workgroup SFWMD_HQ on subnet 141.232.62.12 ***** send_election_dgram: Sending election packet for workgroup SFWMD_HQ on subnet 141.232.62.12 send_election_dgram: Sending election packet for workgroup SFWMD_HQ on subnet 141.232.62.12 send_election_dgram: Sending election packet for workgroup SFWMD_HQ on subnet 141.232.62.12 send_election_dgram: Sending election packet for workgroup SFWMD_HQ on subnet 141.232.62.12 send_election_dgram: Sending election packet for workgroup SFWMD_HQ on subnet 141.232.62.12 run_elections: >>> Won election for workgroup SFWMD_HQ on subnet 141.232.62.12 <<< become_local_master_browser: Starting to become a master browser for workgroup SFWMD_HQ on subnet 141.232.62.12 01/14/1998 13:41:02 ***** Samba name server BABYLON5 is now a local master browser for workgroup SFWMD_HQ on subnet 141.232.62.12 ***** sync_with_dmb: Initiating sync with domain master browser NTADMIN<20> at IP 141.232.83.193 for workgroup SFWMD_HQ 01/14/1998 13:41:02: sync_browse_lists: Sync browse lists with server NTADMIN<20> at IP 141.232.83.193 for workgroup SFWMD_HQ LOG.NMB (os level = 2) ------------------------------- 01/13/1998 20:58:49 netbios nameserver version 1.9.18 started Copyright Andrew Tridgell 1994-1997 register_name_response: server at IP 141.232.62.12 rejected our name registration of SFWMD_HQ<1d> with error code 6. become_local_master_fail2: failed to register name SFWMD_HQ<1d> on subnet 141.232.62.11. Failed to become a local master browser. standard_fail_register: Failed to register/refresh name SFWMD_HQ<1d> on subnet 141.232.62.11 Thanks, Reggie ------------------------------------------------------------ Reggie Beavers, UNIX Contractor, reggie@gate.net @South Florida Water Management District, rbeavers@sfwmd.gov ------------------------------------------------------------
> process_local_master_announce: Server PC1597 at IP 141.232.62.120 is announcing > itself as a local master browser for workgroup SFWMD_HQ and we think we are > master. Forcing election.This is your problem with OS level = 65. Samba nmbd now behaves in exactly the same way as NT server - if someone else claims to be browse master it demotes itself and forces an election. Find out why PC1597 at IP 141.232.62.120 thinks it is a browse master (and then kill it :-).> LOG.NMB (os level = 2) > ------------------------------- > 01/13/1998 20:58:49 netbios nameserver version 1.9.18 started > Copyright Andrew Tridgell 1994-1997 > register_name_response: server at IP 141.232.62.12 rejected our name > registration of SFWMD_HQ<1d> with error code 6.This is your problem with OS level 2. Error code 6 (from nameserv.h) = #define ACT_ERR 0x6 /* Active error - name owned by another host. */ Someone else (probably the server at IP 141.232.62.12 :-) has claimed that name. Jeremy Allison. Samba Team. -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. --------------------------------------------------------
> > process_local_master_announce: Server PC1597 at IP 141.232.62.120 isannouncing> > itself as a local master browser for workgroup SFWMD_HQ and we think we are > > master. Forcing election. > > This is your problem with OS level = 65. > Samba nmbd now behaves in exactly the same > way as NT server - if someone else claims > to be browse master it demotes itself and > forces an election. Find out why PC1597 at > IP 141.232.62.120 thinks it is a browse master > (and then kill it :-).I'd like to kill it! It's an NT machine. However, it's normal for an NT machine to become a browse master. We also have W95 machines within the subnet but they don't create a problem. Shouldn't the NT machine accept the samba server has the master browser and leave it at that? Is this something that I should be concerned with or are these messages just informational and all is well?> > > LOG.NMB (os level = 2) > > ------------------------------- > > 01/13/1998 20:58:49 netbios nameserver version 1.9.18 started > > Copyright Andrew Tridgell 1994-1997 > > register_name_response: server at IP 141.232.62.12 rejected our name > > registration of SFWMD_HQ<1d> with error code 6. > > This is your problem with OS level 2. Error code 6 > (from nameserv.h) = > > #define ACT_ERR 0x6 /* Active error - name owned by another > host. */ > > Someone else (probably the server at IP 141.232.62.12 :-) > has claimed that name. >If I then bump the 'os level' to 65 they all works well. SFWMD_HQ is the work group name. The server at 141.232.62.12 is a samba server that is acting has a browse master (the same one mentioned above). They have different hostnames and interface names. I did *not* change their respective netbios names. The logic behind my attempt was to first force the samba servers to become the browse masters. After receiving the 'os level = 65' messages, I thought I'd allow the NT machines to win the election but set the samba servers to win over the W95 machines. I guess my real question is: Is this normal smb behavior? Anyway, thanks for the information that you've already sent. I didn't think to look in the .h files for the error codes. I've grown accustomed to flying space shuttles without instructions! -Reggie ------------------------------------------------------------ Reggie Beavers, UNIX Contractor, reggie@gate.net @South Florida Water Management District, rbeavers@sfwmd.gov ------------------------------------------------------------