Re: [Samba] Dueling master browsers...
On Thursday 29 March 2007, Chris Smith wrote: On the client: Set: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters IsDomainMaster False Adding to this. Set both of these under that same tree: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Browser\Parameters IsDomainMaster FALSE MaintainServerList Disabled I had to do this on a laptop that was not joined to the domain but was in the same workgroup. It was running XP Media Center and it just wouldn't let Samba remain the master browser (despite an OS level of 255). Probably most important is to make sure that the client(s) are really using your WINS server (DHCP should assign this) - ipconfig -all will provide this info. Then use nbtstat -R and/or nbtstat -RR to reload/ReleaseRefresh the cache. May want to reboot the client as well. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dueling master browsers...
most often I have seen the dueling master browsers because a windows machine is running with both TCP/IP and NetBEUI protocol enabled. Browser elections take place on all protocols enabled. Since Samba does not respond to the NetBEUI elections the windows machine will win that one no matter what OS level is set for Samba. The windows machines have this nasty habit of thinking if they won one election they should win them all so they will force another election on TCP/IP. Lather, rinse and repeat. :-) Chris Smith wrote: On Thursday 29 March 2007, Chris Smith wrote: On the client: Set: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters IsDomainMaster False Adding to this. Set both of these under that same tree: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Browser\Parameters IsDomainMaster FALSE MaintainServerList Disabled I had to do this on a laptop that was not joined to the domain but was in the same workgroup. It was running XP Media Center and it just wouldn't let Samba remain the master browser (despite an OS level of 255). Probably most important is to make sure that the client(s) are really using your WINS server (DHCP should assign this) - ipconfig -all will provide this info. Then use nbtstat -R and/or nbtstat -RR to reload/ReleaseRefresh the cache. May want to reboot the client as well. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dueling master browsers...
Changing these registry settings on Windows machines eliminated this problem for us. HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services Browser Parameters MaintainServerList = No IsDomainMaster = FALSE Eric Knudstrup [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03/29/2007 04:14 PM To samba@lists.samba.org cc Subject Re: [Samba] Dueling master browsers... [EMAIL PROTECTED] wrote: Subject: Re: [Samba] Dueling master browsers... From: Tim Boneko [EMAIL PROTECTED] Date: Wed, 28 Mar 2007 20:39:16 +0200 To: samba@lists.samba.org To: samba@lists.samba.org Eric Knudstrup schrieb: Server NITIN at IP 192.168.1.126 is announcing itself as a local master browser for workgroup DVC and we think we are master. Forcing election. Mar 27 09:10:05 macallan nmbd[3481]: [2007/03/27 09:10:05, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) Mar 27 09:10:05 macallan nmbd[3481]: * Mar 27 09:10:05 macallan nmbd[3481]: Mar 27 09:10:05 macallan nmbd[3481]: Samba name server MACALLAN has stopped being a local master browser for workgroup DVC on subnet 192.168.1.2 os level = 255 Tell the dork with the XP machine to stop that. YOU are the network's master, aren't you? (Pity if not...) AFAIK he must have tweaked his registry for that, but i'm not completely sure. timbo I don't think so. There are a couple of machines that insist on it. Both of them are the guys who aren't logged into the domain. This machine is also dual homed - wireless and wired ethernet. I even have the DHCP server setting macallan as the WINS server. Is there any way *I* can tweak the registry to disable them from announcing themselves as the master browser? I think I've tried just about everything on the PDC to disable this... Eric -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dueling master browsers...
On Friday 30 March 2007, Herb Lewis wrote: most often I have seen the dueling master browsers because a windows machine is running with both TCP/IP and NetBEUI protocol enabled. Interesting observation, and I'll keep that in mind for the future. Although this wasn't the case on the aforementioned XP Media Center laptop. It's odd these days to find a system running NetBEUI, not to say that it doesn't happen, but unlike yesteryear it's not part of a default install. I am a little suspicious about the Media Center editions having a few extra tweaks in this area. Seems Samba should not lose these elections by default. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dueling master browsers...
[EMAIL PROTECTED] wrote: Subject: Re: [Samba] Dueling master browsers... From: Tim Boneko [EMAIL PROTECTED] Date: Wed, 28 Mar 2007 20:39:16 +0200 To: samba@lists.samba.org To: samba@lists.samba.org Eric Knudstrup schrieb: Server NITIN at IP 192.168.1.126 is announcing itself as a local master browser for workgroup DVC and we think we are master. Forcing election. Mar 27 09:10:05 macallan nmbd[3481]: [2007/03/27 09:10:05, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) Mar 27 09:10:05 macallan nmbd[3481]: * Mar 27 09:10:05 macallan nmbd[3481]: Mar 27 09:10:05 macallan nmbd[3481]: Samba name server MACALLAN has stopped being a local master browser for workgroup DVC on subnet 192.168.1.2 os level = 255 Tell the dork with the XP machine to stop that. YOU are the network's master, aren't you? (Pity if not...) AFAIK he must have tweaked his registry for that, but i'm not completely sure. timbo I don't think so. There are a couple of machines that insist on it. Both of them are the guys who aren't logged into the domain. This machine is also dual homed - wireless and wired ethernet. I even have the DHCP server setting macallan as the WINS server. Is there any way *I* can tweak the registry to disable them from announcing themselves as the master browser? I think I've tried just about everything on the PDC to disable this... Eric -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dueling master browsers...
On Thursday 29 March 2007, Eric Knudstrup wrote: I don't think so. There are a couple of machines that insist on it. Both of them are the guys who aren't logged into the domain. This machine is also dual homed - wireless and wired ethernet. I even have the DHCP server setting macallan as the WINS server. Is there any way *I* can tweak the registry to disable them from announcing themselves as the master browser? I think I've tried just about everything on the PDC to disable this... On the Samba PDC: Try adding something like this to your global section: == interfaces = eth0, 127.0.0.1 bind interfaces only = Yes hosts allow = 192.168.1. 127. == Using your interfaces and IP addresses. If any IP aliases are being used use the IP addresses for interfaces = (ex: 127.0.0.1) instead of device names (eth0). On the client: Set: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters IsDomainMaster False Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dueling master browsers...
Eric Knudstrup schrieb: Server NITIN at IP 192.168.1.126 is announcing itself as a local master browser for workgroup DVC and we think we are master. Forcing election. Mar 27 09:10:05 macallan nmbd[3481]: [2007/03/27 09:10:05, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) Mar 27 09:10:05 macallan nmbd[3481]: * Mar 27 09:10:05 macallan nmbd[3481]: Mar 27 09:10:05 macallan nmbd[3481]: Samba name server MACALLAN has stopped being a local master browser for workgroup DVC on subnet 192.168.1.2 os level = 255 Tell the dork with the XP machine to stop that. YOU are the network's master, aren't you? (Pity if not...) AFAIK he must have tweaked his registry for that, but i'm not completely sure. timbo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Dueling master browsers...
I'm having trouble with my Samba 3 PDC and several XP Pro workstations stealing the master browser status on the network. These users won't log in to the domain. Logs and purified smb.conf attached. Mar 27 09:09:48 macallan nmbd[3481]: Mar 27 09:09:48 macallan nmbd[3481]: * Mar 27 09:10:05 macallan nmbd[3481]: [2007/03/27 09:10:05, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) Mar 27 09:10:05 macallan nmbd[3481]: * Mar 27 09:10:05 macallan nmbd[3481]: Mar 27 09:10:05 macallan nmbd[3481]: Samba name server MACALLAN is now a local master browser for workgroup DVC on subnet 192.168.1.2 Mar 27 09:10:05 macallan nmbd[3481]: Mar 27 09:10:05 macallan nmbd[3481]: * Mar 27 09:10:05 macallan nmbd[3481]: [2007/03/27 09:10:05, 0] nmbd/nmbd_incomingdgrams.c:process_local_master_announce(309) Mar 27 09:10:05 macallan nmbd[3481]: process_local_master_announce: Server NITIN at IP 192.168.1.126 is announcing itself as a local master browser for workgroup DVC and we think we are master. Forcing election. Mar 27 09:10:05 macallan nmbd[3481]: [2007/03/27 09:10:05, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) Mar 27 09:10:05 macallan nmbd[3481]: * Mar 27 09:10:05 macallan nmbd[3481]: Mar 27 09:10:05 macallan nmbd[3481]: Samba name server MACALLAN has stopped being a local master browser for workgroup DVC on subnet 192.168.1.2 Mar 27 09:10:05 macallan nmbd[3481]: Mar 27 09:10:05 macallan nmbd[3481]: * Mar 27 09:10:23 macallan nmbd[3481]: [2007/03/27 09:10:23, 0] nmbd/nmbd_nameregister.c:register_name_response(130) Mar 27 09:10:23 macallan nmbd[3481]: register_name_response: server at IP 192.168.1.126 rejected our name registration of DVC1d IP 192.168.1.2 with error code 6. Mar 27 09:10:23 macallan nmbd[3481]: [2007/03/27 09:10:23, 0] nmbd/nmbd_become_lmb.c:become_local_master_fail2(417) Mar 27 09:10:23 macallan nmbd[3481]: become_local_master_fail2: failed to register name DVC1d on subnet 192.168.1.2. Failed to become a local master browser. Mar 27 09:10:23 macallan nmbd[3481]: [2007/03/27 09:10:23, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(305) Mar 27 09:10:23 macallan nmbd[3481]: standard_fail_register: Failed to register/refresh name DVC1d on subnet 192.168.1.2 Mar 27 09:11:52 macallan nmbd[3481]: [2007/03/27 09:11:52, 0] nmbd/nmbd_namequery.c:query_name_response(109) # Defining domain name, hostname [global] winbind separator = + winbind cache time = 10 winbind use default domain = yes template shell = /bin/bash template homedir = /home/%D/%U idmap uid = 1-2 idmap gid = 1-2 server string = macallan wins support = yes workgroup = dvc netbios name = macallan # Specifying ldapsam backend database passdb backend = ldapsam:ldap://127.0.0.1 username map = /etc/samba/smbusers # Specifying printing subsystem #printcap name = cups #printing = cups # Path to IDEALX scripts (we will get to that soon) add user script = /usr/local/sbin/smbldap-useradd -m %u delete user script = /usr/local/sbin/smbldap-userdel %u add group script = /usr/local/sbin/smbldap-groupadd -p %g delete group script = /usr/local/sbin/smbldap-groupdel %g add user to group script = /usr/local/sbin/smbldap-groupmod -m %g %u delete user from group script = /usr/local/sbin/smbldap-groupmod -x %g %u set primary group script = /usr/local/sbin/smbldap-usermod -g %g %u add machine script = /usr/local/sbin/smbldap-useradd -w %u # if you want to add machines to domain automaticaly, add machine script is: add machine script = /usr/local/sbin/smbldap-useradd -w -i %m # proved on SUSE 10.0 # # Various other directives ( man smb.conf ) obey pam restrictions = Yes #logon script = scripts\logon.bat # NULL logon path makes clients store profiles locally logon path = #logon drive = H: #logon home = \\%L\%U domain logons = Yes os level = 255 local master = Yes preferred master = Yes domain master = Yes dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd show add printer wizard = yes # OpenLDAP stuff is defined here ### ldap suffix = dc=MY DOMAIN,dc=com ldap machine suffix = ou=Computers ldap user suffix = ou=Users ldap group suffix = ou=Groups ldap idmap suffix = ou=Users ldap admin dn = cn=Manager,dc=MY DOMAIN,dc=com ldap ssl = no ldap passwd sync = Yes idmap uid = 15000-2 idmap gid = 15000-2 # Defining logging facility log level = 2 log file = /var/log/samba/%m.log # Defining user home directories [homes] comment = Home Directories valid users = %S read only = No browseable = No -- To unsubscribe from this list go