Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 15
  1. #1

    [samba] smbclient e nmblookup

    ciao a tutti,

    allora:
    smbclient -L <nome_host> funziona perfettamente;
    nmblookup -M <nome_host> invece mi restituisce name_query failed to find name;
    infine il log di nmb recita:
    nmbd/nmbd_browsesync.c: find_domain_master_name_query_fail(353)
    Oct 12 18:52:23 linus nmbd[9742]: find_domain_master_name_query_fail:
    Oct 12 18:52:23 linus nmbd[9742]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
    Oct 12 18:52:23 linus nmbd[9742]: Unable to sync browse lists in this workgroup.
    ho provato a cercare un motivo... un errore in smb.conf o un problema in qualche file di hosts (tipo lmhost...)

    bè, se qualcuno ha un'idea... è ben accetta!
    grazie... ancora

  2. #2
    lo dice il log stesso: non trova il master browser del dominio...

    prova a vedere se te lo trova così

    # nmblookup -M -- -
    Ci sono cose che non si possono sapere. Per tutto il resto c'è man

    Prima di fare domande stupide: 1) googla 2) leggi le manpages 3) sparati.

  3. #3
    ciao e grazie per la risposta!!

    prompt$ nmblookup -M -- -
    querying __MSBROWSE__ on 10.0.0.255
    name_query failed to find name __MSBROWSE__#01


    non ho proprio idea di dove sia il problema
    cosa posso provare a modificare?
    grazie... ancora

  4. #4
    il problema è che nella tua rete nessuno risponde alla chiamata "chi è lo mastro?"


    ora, il problema può essere dato dal fatto che:

    - il master non risponde al broadcast
    - samba è configurato male (esempio, la rete non è 10.0.0.0/32)
    Ci sono cose che non si possono sapere. Per tutto il resto c'è man

    Prima di fare domande stupide: 1) googla 2) leggi le manpages 3) sparati.

  5. #5
    ...ok,
    dici che per esempio qualcuna di queste cose potrebbe essere utile?
    http://a2.pluto.it/a2308.htm
    grazie... ancora

  6. #6
    posta il tuo smb.conf, e togli i commenti altrimenti ci vogliono 300 righe


    comuque i parametri

    remote announce = 192.168.1.255/BLABLA 192.168.2.255/BLABLA
    remote browse sync = 192.168.3.255 192.168.4.255

    li devi inserire, come dice la guida che hai linkato
    Ci sono cose che non si possono sapere. Per tutto il resto c'è man

    Prima di fare domande stupide: 1) googla 2) leggi le manpages 3) sparati.

  7. #7
    codice:
    [global]
        workgroup = WORKGROUP
        server string = linus
        syslog only = no
        syslog = 1;
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        wins support = yes
        name resolve order = lmhosts host wins bcast
        dns proxy = no
        preserve case = yes
        short preserve case = yes
        max log size = 1000
        interfaces = eth1
    
    [lan]
        comment = lan
        path = /lan
        read only = no
        public = yes
        hide unreadable = yes
        force create mode = 0774
        directory mode = 0775
    grazie... ancora

  8. #8
    io innanzitutto farei cosi':

    come vedi ho cambiato l'ordine di risoluzione dei nomi, oh modificato il modo di comunicare le interfacce sulle quali lavora samba, e ho aggiunto qualche opzione..

    ovviamente metti il tuo IP al posto del contrassegno , e se lo conosci quello de wins server, altrimenti ometti la voce

    codice:
        workgroup = WORKGROUP
        server string = linus
        syslog only = no
        syslog = 1;
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        wins support = yes
        name resolve order = bcast wins lmhosts host 
        dns proxy = no
        preserve case = yes
        short preserve case = yes
        max log size = 1000
        
        hosts allow = 10.0.0. 127.
        interfaces = IL_TUO_IP 127.0.0.1
        wins server = SE LO CONOSCI, METTI IL SUO IP
        remote announce = 10.0.0.255/WORKGROUP
        remote browse sync = 10.0.0.255 
    [lan]
        comment = lan
        path = /lan
        read only = no
        public = yes
        hide unreadable = yes
        force create mode = 0774
        directory mode = 0775
    Ci sono cose che non si possono sapere. Per tutto il resto c'è man

    Prima di fare domande stupide: 1) googla 2) leggi le manpages 3) sparati.

  9. #9
    scusami, sempre io...
    codice:
    prompt$ nmblookup -M lores
    querying lores on 10.0.0.255
    querying lores on 127.255.255.255
    name_query failed to find name lores#1d
    ora propone la query anche su 127.* ma continua a non trovare nulla sul broadcast 10.0.0.255!

    ti allego il nuovo smb.conf:
    codice:
    [global]
        workgroup = WORKGROUP
        server string = linus
        syslog only = no
        syslog = 1;
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        wins support = yes
        name resolve order = bcast wins lmhosts host
        dns proxy = no
        preserve case = yes
        short preserve case = yes
        max log size = 1000
    
        hosts allow = 10.0.0. 127.
        interfaces = 10.0.0.1 127.0.0.1
        #wins server = 10.0.0.2
        remote announce = 10.0.0.255/WORKGROUP
        remote browse sync = 10.0.0.255
    [lan]
        comment = lan
        path = /lan
        read only = no
        public = yes
        hide unreadable = yes
        force create mode = 0774
        directory mode = 0775
    grazie... ancora

  10. #10
    a proposito, da /var/log/messages:
    [2005/10/13 14:52:12, 0] nmbd/nmbd_browsesync.c:domain_master_node_status_fail(2 50)
    Oct 13 14:52:12 linus nmbd[28698]: domain_master_node_status_fail:
    Oct 13 14:52:12 linus nmbd[28698]: Doing a node status request to the domain master browser
    Oct 13 14:52:12 linus nmbd[28698]: for workgroup WORKGROUP at IP 10.0.0.1 failed.
    Oct 13 14:52:12 linus nmbd[28698]: Cannot sync browser lists.
    grazie... ancora

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.