[Samba] network neighborhood

L.P.H. van Belle belle at bazuin.nl
Fri Mar 22 07:46:51 MDT 2013


Hai, 

Since im using debian 6 also, and i do see all my windows pC/servers and linux server (samba) 

Here is what im having, and most important make sure your using the same "workgroup = DOMAINNAM" for all servers. 


This isa part of my PDC config. ( based on debian sarge setup, upgraded to lenny, using samba 3.5.6 from backports-lenny ) 
        interfaces = lo eth0
        bind interfaces only = yes
        netbios name = PDC			   
        server string = THEREALHOSTNAME-PDC    ( but you can use something else ) 
        workgroup = DOMAINNAME
        domain logons = Yes
        preferred master = Yes
        domain master = Yes
        os level = 65
        min protocol = NT1
        lm announce = no
        lanman auth = no
        disable netbios = no


On my New PDC ( new setup , debian squeeze, used backports samba packages version 3.6.6 ) 

   interfaces = lo eth0
    bind interfaces only = yes
    smb ports = 139 445
    dns proxy = yes
    name resolve order = wins host lmhosts bcast

    netbios name = PDC2
    server string = THEREALHOSTNAME-PDC2
    workgroup = DOMAINNAME
    domain logons = Yes
    domain master = Yes
    preferred master = No


On my BDC ( base on debian etch, upgraded to lenny sing samba 3.5.6 from backports-lenny ) 
       netbios name = BDC
        server string = THEREALHOSTNAME-BDC
        workgroup = DOMAINNAME
        domain logons = Yes
        preferred master = No
        domain master = No
        os level = 60
        min protocol = NT1
        lm announce = no
        lanman auth = no
        disable netbios = no
        encrypt passwords = true
        name resolve order = lmhosts host wins bcast
        dns proxy = yes


and the member server are having. 
like BDC but 

        domain logons = NO
        preferred master = No
        domain master = No


hope this helps for you. 

Also, all my pcnames are in BIND, resolvable and having reverse records. 


and.. if you dont see your server, wait at least 15-30 min. 
somethings it just takes some time before you see the name of the server. 
Why, i dont know.. 

Good luck. 

Louis



>-----Oorspronkelijk bericht-----
>Van: felix at epepm.cupet.cu 
>[mailto:samba-bounces at lists.samba.org] Namens felix at epepm.cupet.cu
>Verzonden: vrijdag 22 maart 2013 13:28
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] network neighborhood
>
>>> You can try,
>>>
>>> [global] announce as = system type
>>>
>>> You are running in an windows ADS there is no netbios but dns. So it
>>> could
>>> be PCs are not show up
>>> In the neighborhood.
>>> -----------------------------------------------
>>> EDV Daniel Müller
>>>
>>> Leitung EDV
>>> Tropenklinik Paul-Lechler-Krankenhaus
>>> Paul-Lechler-Str. 24
>>> 72076 Tübingen
>>>
>>> Tel.: 07071/206-463, Fax: 07071/206-499
>>> eMail: mueller at tropenklinik.de
>>> Internet: www.tropenklinik.de
>>> -----------------------------------------------
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: samba-bounces at lists.samba.org
>>> [mailto:samba-bounces at lists.samba.org]
>>> Im
>>> Auftrag von felix at epepm.cupet.cu
>>> Gesendet: Donnerstag, 21. März 2013 16:04
>>> An: samba at lists.samba.org
>>> Betreff: [Samba] network neighborhood
>>>
>>> ---------------------------- Mensaje original
>>> ----------------------------
>>> Asunto: network neighborhood
>>> De:     felix at epepm.cupet.cu
>>> Fecha:  Mie, 20 de Marzo de 2013, 8:07 am
>>> Para:   samba at lists.samba.org
>>> 
>---------------------------------------------------------------
>-----------
>>>
>>>
>>> Hello:
>>>
>>> I would like to know what is wrong in my configuration. I 
>can't see this
>>> server in network neighborhood.
>>>
>>> samba 3.5.6 joined to my active directory domain.
>>>
>>> [global]
>>> #   message command = /bin/sh -c '/usr/bin/linpopup "%f" 
>"%m" %s; rm %s'
>>> &
>>>   security = ADS
>>>   netbios name = dos
>>>   realm = EPEPM.CUPET.CU
>>>   password server = ad.epepm.cupet.cu
>>>   workgroup = EPEPM
>>>   log level = 1
>>>   syslog = 0
>>>   idmap uid = 10000-29999
>>>   idmap gid = 10000-29999
>>>   winbind separator = +
>>>   winbind enum users = yes
>>>   winbind enum groups = yes
>>>   winbind use default domain = yes
>>>   template homedir = /home/%D/%U
>>>   template shell = /bin/bash
>>>   client use spnego = yes
>>>   domain master = no
>>>   server string = Servidor Dos
>>>   encrypt passwords = true
>>>
>>
>> Yes, all windows computers are shown in network neigborhood, even an
>> ubuntu 12.04 desktop, but not this debian 6.
>> I tried your suggestion but it didn't work. I read that default is
>> announce as = NT Server
>>
>
>I set loglevel = 10 and I got this:
>
>[2013/03/22 08:26:02.154496,  4] 
>nmbd/nmbd_workgroupdb.c:281(dump_workgroups)
>  dump_workgroups()
>   dump workgroup on subnet     10.30.100.6: netmask=255.255.255.255:
>        EPEPM(1) current master browser = UNKNOWN
>                DOS 40809b03 (Servidor Dos)
>[2013/03/22 08:26:12.159757,  4]
>nmbd/nmbd_workgroupdb.c:170(find_workgroup_on_subnet)
>  find_workgroup_on_subnet: workgroup search for EPEPM on subnet
>10.30.100.6: found.
>[2013/03/22 08:26:12.159879,  8] lib/util.c:1869(is_myname)
>  is_myname("DOS") returns 1
>[2013/03/22 08:26:12.159912,  3]
>nmbd/nmbd_sendannounce.c:207(send_host_announcement)
>  send_host_announcement: type 809b03 for host DOS on subnet 
>10.30.100.6
>for workgroup EPEPM
>[2013/03/22 08:26:12.159952,  4] 
>nmbd/nmbd_packets.c:2129(send_mailslot)
>  send_mailslot: Sending to mailslot \MAILSLOT\BROWSE from DOS<00> IP
>10.30.100.6 to EPEPM<1d> IP 10.30.100.6
>[2013/03/22 08:26:12.159997,  4] 
>nmbd/nmbd_packets.c:95(debug_browse_data)
>  debug_browse_data():
>    0 char ......DOS....... hex 01 01 c0 d4 01 00 44 4f 53 00 
>00 00 00 00
>00 00
>   10 char ..............U. hex 00 00 00 00 00 00 04 09 03 9b 
>80 00 0f 01
>55 aa
>   20 char Servidor Dos.    hex 53 65 72 76 69 64 6f 72 20 44 6f 73 00
>[2013/03/22 08:26:12.160141,  5] 
>nmbd/nmbd_packets.c:2136(send_mailslot)
>  send_mailslot: sending packet to ourselves.
>[2013/03/22 08:26:12.160196, 10]
>nmbd/nmbd_sendannounce.c:371(announce_myself_to_domain_master_browser)
>  announce_myself_to_domain_master_browser: no unicast subnet, ignoring
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list