Visualizzazione dei risultati da 1 a 9 su 9
  1. #1

    Server samba invisibile

    Il server samba mi è diventato invisibile non si sa per che motivo.

    Ora vi spiego
    Se navigavo tra network dal mio mac disolito trovava il mio server samba su lenny
    Ho aggiunto un utente e fatto due lavdi di manutenzione da adesso nn trova piu il server da solo.
    Se pero mi collego manualmente funziona.

    Sapete dirmi che puo essere nemmeno win lo rileva tra risorse di rete.

    ho gia riavviato samba e tt il resto anche l' intero server

    ecco qui il mio smb.conf


    Grazie


    codice:
           
    
    [global]
            workgroup = LALOHOME
            server string = %h server
            obey pam restrictions = Yes
            passdb backend = tdbsam
            pam password change = Yes
            passwd program = /usr/bin/passwd %u
            passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
            unix password sync = Yes
            syslog = 0
            log file = /var/log/samba/log.%m
            max log size = 1000
            dns proxy = No
            panic action = /usr/share/samba/panic-action %d
            include = /etc/samba/dhcp.conf
    
    [homes]
            comment = Home Directories
            valid users = %S
            create mask = 0700
            directory mask = 0700
            browseable = No
    
    [printers]
            comment = All Printers
            path = /var/spool/samba
            create mask = 0700
            printable = Yes
            browseable = No
    
    [print$]
            comment = Printer Drivers
            path = /var/lib/samba/printers
    
    
    [NDAS]
            path = /mnt/ndas/
            write list = lalo
            guest ok = Yes
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  2. #2
    Utente di HTML.it
    Registrato dal
    Jul 2008
    Messaggi
    1,526
    carissimo potresti descrivere più in dettaglio in cosa è consistito il lavoro di manutenzione?e l'utente l'hai aggiunto sul server samba?
    come ti connetti manualmente?tramite shell?
    la cosa migliore quando si vanno ad apportare modifiche o aggiornamenti è di fare un backup dei file di conf,anche volendo come facciamo a fare un diff magari tra il smb.conf e un ipotetico smb.conf che è stato intaccato da eventuali aggiornamenti?

  3. #3
    i lavori di manutenzione sono stati modificare dei file di configurazione per dei backup.

    Il file smb.conf purtroppo è sempre lo stesso lo ho pure ribackuppato ho riavviato tutto.

    Il server funzionava ed era configurato lo uso da un mese.

    ci accedo con il finder dal mac.

    Avviando la macchina virtuale di xp su risorse di rete lo trovava in lista ma ora nn lo trova piu
    stessa cosa il finder appariva subito in bella vista.

    ora devo da win dare \\srvnetwork
    e dal finder mela+k smb://srvnetwork

    da linux nemmeno smb4k lo trova in lista

    Non è che magari SWAT mi abbia disabilitato qualche funzione per rendere visibile al network il server??
    La rilevazione avviene tramite netbios??



    Guarda ci avrei scommeso che mi rispondevi tu per primo grazie
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  4. #4
    Utente di HTML.it
    Registrato dal
    Jul 2008
    Messaggi
    1,526
    senti il server wins penso sia lo stesso su cui ti gira samba vero?aggiungi questa riga al smb.conf nella sezione global

    wins support = yes

    e questa riga per il bind dell'interfaccia

    interfaces = 127.0.0.0/8 eth0 (chiaramente sostiuisci l'eth con l'interfaccia tua)

    detto questo a firewall come stai messo?samba per rendersi visibile e comunicare bene ha bisogno di queste porte, te le metto sotto forma di regole iptables

    -A RH-FIREWALL-1-INPUT -m stat --state NEW -m udp -p udp --dport 137 -j ACCEPT
    -A RH-FIREWALL-1-INPUT -m stat --state NEW -m udp -p udp --dport 138 -j ACCEPT
    -A RH-FIREWALL-1-INPUT -m stat --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
    -A RH-FIREWALL-1-INPUT -m stat --state NEW -m tcp -p tcp --dport 445 -j ACCEPT

    assicurati che i demoni smbd e nmbd siano avviati.Fammi sapere se ci sono novità.

  5. #5
    wins support aggiunto ma ancora nulla....


    il firewall e' apposto ...


    mi sono collegato autenticato ho sfogliato un file mi sono scollegato e da li ha smesso di andare....


    smbd e nmbd avviati e riavviati piu volte ed effettivamente lavorano anche perche se mi collego manualmente funziona tutto, ma e' nascosto mannaggia...

    Mi manda in bestia...


    dimenticavo... grazie mille di tutto
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  6. #6

  7. #7
    Lenny

    ragassi ho tolto la condivisione riavviato samba ricreato la condivisione e ora funziona tutto come prima

    Mi sa che qualcosa non quadra...


    Grazie detroit
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  8. #8
    Utente di HTML.it
    Registrato dal
    Jul 2008
    Messaggi
    1,526
    Originariamente inviato da claudiocrack
    Lenny

    ragassi ho tolto la condivisione riavviato samba ricreato la condivisione e ora funziona tutto come prima

    Mi sa che qualcosa non quadra...


    Grazie detroit
    che stupidata..assurdo

  9. #9
    Si infatti ora lo sto bombardando per vedere se fa ancora storie mi mandano in bestia ste cose, adesso resto con il dubbio e non me lo levo piu.



    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

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 © 2024 vBulletin Solutions, Inc. All rights reserved.