[Samba] Re: current master browser = UNKNOWN / failing WINS test #1
on 3.0.23c
Dan
samba at the-rusty-nail.com
Thu Sep 21 21:07:07 GMT 2006
There is also this which I don't understand
dump workgroup on subnet 10.10.20.1: netmask= 255.255.255.0:
ON2_UK(1) current master browser = UK_PDC
UK_PDC 408c9b0b (UK PDC)
[2006/09/21 16:15:00, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
dump_workgroups()
dump workgroup on subnet UNICAST_SUBNET: netmask= 10.10.20.1:
ON2_UK(1) current master browser = UNKNOWN
UK_PDC 40899b0b (UK PDC)
Does anyone have any ideas? I really need to get this up and working.
Thanks!
Dan wrote:
> Here is my smb.conf also, maybe it is something silly I have set in that.
> [global]
>
> workgroup = DOMAIN_UK
>
> netbios name = UK_PDC
>
> interfaces = eth0
>
> bind interfaces only = Yes
>
> admin users = root administrator
> server string = UK PDC
>
> security = user
>
> enable privileges = Yes
>
> load printers = yes
> printing = cups
> printcap = cups
> printcap name = cups
> show add printer wizard = yes
>
> log file = /var/log/samba/log.%m
>
> remote announce = 10.10.20.1 10.1.0.11 10.1.0.12 10.10.80.15
> remote browse sync = 10.10.20.1 10.1.0.11 10.1.0.12 10.1.10.80.15
>
> max log size = 10000
>
> ldap ssl = on
> passdb backend = ldapsam:ldaps://uk_pdc:636
>
> ldap admin dn = uid=root,ou=users,o=uk.on2.com
> ldap user suffix = ou=users
> ldap group suffix = ou=groups
> ldap machine suffix = ou=computers
> ldap suffix = o=uk.on2.com
> ldap idmap suffix = ou=idmap
> ldap delete dn = no
>
> 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 '%u'
> '%g'
> delete user from group script = /usr/local/sbin/smbldap-groupmod -x
> '%u' '%g'
> set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'
> add machine script = /usr/local/sbin/smbldap-useradd -t 5 -w '%u'
>
> dos charset = 850
> unix charset = ISO8859-1
>
> ldap passwd sync = yes
>
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>
> os level = 128
>
> domain master = yes
>
> domain logons = yes
>
> local master = yes
>
> preferred master = yes
> logon script = logon.bat
> encrypt passwords = yes
> unix password sync = no
> passwd program = /usr/local/sbin/smbldap-passwd -o %u
> passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *all*authentication*tokens*updated*successfully*
> logon path = c:\Documents and Settings\%U
> wins support = yes
> map to guest = Never
> nt acl support = true
>
> Dan wrote:
>> I am having trouble with one of my samba PDC's. It does not
>> recognize itself as the domain master browser even though it is set
>> to be so. I can not add machines to this domain and I suspect this
>> is why. Has anybody seen this or know what causes it? Notice this:
>>
>> DOMAIN_ALBANY(3) current master browser = ALBANY_PDC
>> DOMAIN_NYC(2) current master browser = NYC_PDC
>> DOMAIN_UK(1) current master browser = UNKNOWN
>>
>> but right above it there is
>>
>> dump workgroup on subnet 10.10.20.1: netmask= 255.255.255.0:
>> DOMAIN_UK(1) current master browser = UK_PDC
>>
>> So I am lost as to what is going on.
>>
>> Here is the the coorsponding part of the nmbd log:
>>
>> [2006/09/21 12:35:25, 5] libsmb/nmblib.c:send_udp(777)
>> Sending a packet of len 176 to (10.1.0.11) on port 138
>> [2006/09/21 12:35:25, 5]
>> nmbd/nmbd_sendannounce.c:browse_sync_remote(576)
>> announce_remote: Doing remote browse sync announce for server UK_PDC
>> to IP 10.1.0.12.
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_packets.c:send_mailslot(1921)
>> send_mailslot: Sending to mailslot \MAILSLOT\BROWSE from UK_PDC<00>
>> IP 10.10.20.1 to *<00> IP 10.1.0.12
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_packets.c:debug_browse_data(100)
>> debug_browse_data():
>> 0 char .UK_PDC. hex 0d 55 4b 5f 50 44 43 00
>> [2006/09/21 12:35:25, 5] libsmb/nmblib.c:send_udp(777)
>> Sending a packet of len 176 to (10.1.0.12) on port 138
>> [2006/09/21 12:35:25, 5]
>> nmbd/nmbd_sendannounce.c:browse_sync_remote(576)
>> announce_remote: Doing remote browse sync announce for server UK_PDC
>> to IP 0.0.0.0.
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_packets.c:send_mailslot(1921)
>> send_mailslot: Sending to mailslot \MAILSLOT\BROWSE from UK_PDC<00>
>> IP 10.10.20.1 to *<00> IP 0.0.0.0
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_packets.c:debug_browse_data(100)
>> debug_browse_data():
>> 0 char .UK_PDC. hex 0d 55 4b 5f 50 44 43 00
>> [2006/09/21 12:35:25, 5] libsmb/nmblib.c:send_udp(777)
>> Sending a packet of len 176 to (0.0.0.0) on port 138
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
>> dump_workgroups()
>> dump workgroup on subnet 10.10.20.1: netmask= 255.255.255.0:
>> DOMAIN_UK(1) current master browser = UK_PDC
>> UK_PDC 408c9b0b (UK PDC)
>> PAULP4 40011207 ()
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
>> dump_workgroups()
>> dump workgroup on subnet UNICAST_SUBNET: netmask= 10.10.20.1:
>> DOMAIN_ALBANY(3) current master browser = ALBANY_PDC
>> DOMAIN_NYC(2) current master browser = NYC_PDC
>> DOMAIN_UK(1) current master browser = UNKNOWN
>> UK_PDC 40899b0b (UK PDC)
>> [2006/09/21 12:35:25, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> UNICAST_SUBNET: found.
>> [2006/09/21 12:35:25, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> UNICAST_SUBNET: found.
>> [2006/09/21 12:35:25, 10] lib/util_sock.c:read_udp_socket(294)
>> read_udp_socket: lastip 10.10.20.1 lastport 138 read: 176
>> [2006/09/21 12:35:25, 5] libsmb/nmblib.c:read_packet(755)
>> Received a packet of len 176 from (10.10.20.1) port 138
>> [2006/09/21 12:35:25, 7] nmbd/nmbd_packets.c:listen_for_packets(1833)
>> discarding own dgram packet from 10.10.20.1:138
>> [2006/09/21 12:35:25, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
>> find_name_on_subnet: on subnet 10.10.20.1 - found name DOMAIN_UK<1d>
>> source=2
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_packets.c:process_dgram(1270)
>> process_dgram: datagram from UK_PDC<00> to DOMAIN_UK<1d> IP
>> 10.10.20.1 for \MAILSLOT\BROWSE of type 1 len=39
>> [2006/09/21 12:35:25, 8] lib/util.c:is_myname(2036)
>> is_myname("UK_PDC") returns 1
>> [2006/09/21 12:35:25, 0] nmbd/nmbd_packets.c:process_browse_packet(1061)
>> process_browse_packet: Discarding datagram from IP 10.10.20.1.
>> Source name UK_PDC<00> is one of our names !
>> [2006/09/21 12:35:25, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(127)
>> find_name_on_subnet: on subnet 10.10.20.1 - found name *<00> source=5
>> [2006/09/21 12:35:25, 4] nmbd/nmbd_packets.c:process_dgram(1270)
>> process_dgram: datagram from UK_PDC<00> to *<00> IP 10.10.20.1 for
>> \MAILSLOT\BROWSE of type 13 len=8
>> [2006/09/21 12:35:25, 8] lib/util.c:is_myname(2036)
>> is_myname("UK_PDC") returns 1
>> [2006/09/21 12:35:25, 0] nmbd/nmbd_packets.c:process_browse_packet(1061)
>> process_browse_packet: Discarding datagram from IP 10.10.20.1.
>> Source name UK_PDC<00> is one of our names !
>> [2006/09/21 12:35:25, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> 10.10.20.1: found.
>> [2006/09/21 12:35:25, 10]
>> nmbd/nmbd_sendannounce.c:announce_myself_to_domain_master_browser(382)
>> announce_myself_to_domain_master_browser: t (1158856525) -
>> last(1158856321) < 900
>> [2006/09/21 12:35:25, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> UNICAST_SUBNET: found.
>> [2006/09/21 12:35:25, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> UNICAST_SUBNET: found.
>> [2006/09/21 12:35:35, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> 10.10.20.1: found.
>> [2006/09/21 12:35:35, 10]
>> nmbd/nmbd_sendannounce.c:announce_myself_to_domain_master_browser(382)
>> announce_myself_to_domain_master_browser: t (1158856525) -
>> last(1158856321) < 900
>> [2006/09/21 12:35:35, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> UNICAST_SUBNET: found.
>> [2006/09/21 12:35:35, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> UNICAST_SUBNET: found.
>> [2006/09/21 12:35:36, 10] lib/util_sock.c:read_udp_socket(294)
>> read_udp_socket: lastip 10.10.80.15 lastport 138 read: 208
>> [2006/09/21 12:35:36, 5] libsmb/nmblib.c:read_packet(755)
>> Received a packet of len 208 from (10.10.80.15) port 138
>> [2006/09/21 12:35:36, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(133)
>> find_name_on_subnet: on subnet UNICAST_SUBNET - name DOMAIN_NYC<1d>
>> NOT FOUND
>> [2006/09/21 12:35:36, 5] nmbd/nmbd_packets.c:process_dgram(1205)
>> process_dgram: ignoring dgram packet sent to name DOMAIN_NYC<1d>
>> from 10.10.80.15
>> [2006/09/21 12:35:36, 4]
>> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(171)
>> find_workgroup_on_subnet: workgroup search for DOMAIN_UK on subnet
>> 10.10.20.1: found.
>> [2006/09/21 12:35:36, 10]
>> nmbd/nmbd_sendannounce.c:announce_myself_to_domain_master_browser(382)
>> announce_myself_to_domain_master_browser: t (1158856535) -
>> last(1158856321) < 900
>> [2006/09/21 12:35:36, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
>> dump_workgroups()
>> dump workgroup on subnet 10.10.20.1: netmask= 255.255.255.0:
>> DOMAIN_UK(1) current master browser = UK_PDC
>> UK_PDC 408c9b0b (UK PDC)
>> PAULP4 40011207 ()
>> [2006/09/21 12:35:36, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(282)
>> dump_workgroups()
>> dump workgroup on subnet UNICAST_SUBNET: netmask= 10.10.20.1:
>> DOMAIN_ALBANY(3) current master browser = ALBANY_PDC
>> DOMAIN_NYC(2) current master browser = NYC_PDC
>> DOMAIN_UK(1) current master browser = UNKNOWN
>> UK_PDC 40899b0b (UK PDC)
>> [2006/09/21 12:35:36, 4]
>> nmbd/nmbd_winsserver.c:wins_write_database(2352)
>> wins_write_database: Dump of WINS name list.
>> DOMAIN_UK<1e> TTL = Sun Sep 24 12:26:55 2006
>> 255.255.255.255 e4
>> *<20> TTL = PERMANENT 10.10.20.1 64
>> PAULP4<20> TTL = Sun Sep 24 23:06:54 2006 10.10.20.32 64
>> DOMAIN_ALBANY<00> TTL = Fri Sep 22 01:27:44 2006
>> 255.255.255.255 e4
>> UK_PDC<03> TTL = Sun Sep 24 12:26:55 2006 10.10.20.1 66
>> ADRIAN2<20> TTL = Mon Sep 25 11:48:42 2006 10.10.20.33 64
>> UK_PDC<20> TTL = Sun Sep 24 12:26:55 2006 10.10.20.1 66
>> NPI016C69<00> TTL = Mon Sep 25 07:26:38 2006 10.10.20.37 24
>>
>
>
More information about the samba
mailing list