rudd
Newbie
Karma: +0/-0
Offline
Posts: 14
|
 |
« il: Luglio 01, 2008, 06:18:57 » |
|
Ho un server samba non riesco a vedere le condivisioni dagli altri computer. Se digito l'indirizzo completo smb://.../desktop vedo tutto ma dalla rete non riesco a visualizzare. Il mio file smb.conf è [global] allow hosts = 192.168.1.0/24 workgroup = WORKGROUP server string = d******* create mask = 0777 printcap = cups load printers = yes guest ok = yes wins support = yes browsable = yes [desktop] ... [printers] comment = stampanti printing = cups load printers = yes public = yes path = /var/spool/samba guest ok = yes printable = yes
|
|
|
|
|
Loggato
|
|
|
|
lightuono
Newbie
Karma: +2/-1
Offline
Posts: 40
|
 |
« Risposta #1 il: Luglio 01, 2008, 07:28:32 » |
|
quanti computer hai ? Se provi a dare un bel smbclient -L INDIRIZZO_IP del computer che vuoi vedere, cosa ti dice?
|
|
|
|
|
Loggato
|
|
|
|
rudd
Newbie
Karma: +0/-0
Offline
Posts: 14
|
 |
« Risposta #2 il: Luglio 01, 2008, 08:18:02 » |
|
Mi da questo Anonymous login successful Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]
Sharename Type Comment --------- ---- ------- desktop Disk Desktop di deb-01 sito Disk Sito su deb-01 LASERJET_1200 Printer Laserjet 1200 mp3 Disk Mp3 su deb-01 immagini Disk Immagini video Disk Video software Disk Software IPC$ IPC IPC Service (deb-01) Anonymous login successful Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]
Server Comment --------- ------- DEB-01 deb-01
Workgroup Master --------- ------- WORKGROUP
|
|
|
|
|
Loggato
|
|
|
|
rudd
Newbie
Karma: +0/-0
Offline
Posts: 14
|
 |
« Risposta #3 il: Luglio 01, 2008, 08:20:38 » |
|
così funziona, ma se vado sulle risorse di rete poi su Rete Windows è vuota.
|
|
|
|
|
Loggato
|
|
|
|
rudd
Newbie
Karma: +0/-0
Offline
Posts: 14
|
 |
« Risposta #4 il: Luglio 01, 2008, 08:24:02 » |
|
Se provo ad accedere da un client windows invece mi chiede una password, ma non saprei proprio che password inserire (nè ho provate un po' ma non va nessuna)
|
|
|
|
|
Loggato
|
|
|
|
|
gmc
|
 |
« Risposta #5 il: Luglio 01, 2008, 08:38:48 » |
|
Il computer windows fa parte come wokrgroup di "workgroup"?
Hai impostato dns alternativi (tipo opendns) sul server?
Ciao, Peppe
|
|
|
|
|
Loggato
|
Reductio ad absurdum, which Euclid loved so much, is one of a mathematician's finest weapons. It is a far finer gambit than any chess play: a chess player may offer the sacrifice of a pawn or even a piece, but a mathematician offers the game.G. H. Hardy(1877 - 1947)
|
|
|
lightuono
Newbie
Karma: +2/-1
Offline
Posts: 40
|
 |
« Risposta #6 il: Luglio 01, 2008, 09:43:11 » |
|
Sul file di configurazione di samba la stringa "security" è imposta a user o share? Un'altra cosa prova a lanciare il comando testparm e dimmi cosa ti dice.
Ps.: browsable e guest su "global" puoi eliminarli
|
|
|
|
|
Loggato
|
|
|
|
rudd
Newbie
Karma: +0/-0
Offline
Posts: 14
|
 |
« Risposta #7 il: Luglio 02, 2008, 08:01:14 » |
|
come faccio a lanciare testparam?
|
|
|
|
|
Loggato
|
|
|
|
|
pmate
|
 |
« Risposta #8 il: Luglio 02, 2008, 08:07:28 » |
|
|
|
|
|
« Ultima modifica: Luglio 02, 2008, 09:31:02 da pmate »
|
Loggato
|
Errare è umano, ma per fare davvero casino ci vuole la password di root!
|
|
|
lightuono
Newbie
Karma: +2/-1
Offline
Posts: 40
|
 |
« Risposta #9 il: Luglio 02, 2008, 08:13:55 » |
|
All'interno del server samba lancia un terminale e digita testparm da root..oppure puoi seguire il suggerimento di Pmate
|
|
|
|
|
Loggato
|
|
|
|
rudd
Newbie
Karma: +0/-0
Offline
Posts: 14
|
 |
« Risposta #10 il: Luglio 02, 2008, 08:17:12 » |
|
ecco l'output Load smb config files from /etc/samba/smb.conf Processing section "[desktop]" Processing section "[printers]" Processing section "[sito]" Processing section "[LASERJET_1200]" Processing section "[mp3]" Processing section "[immagini]" Processing section "[video]" Processing section "[software]" Loaded services file OK. WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.) Server role: ROLE_STANDALONE
|
|
|
|
|
Loggato
|
|
|
|
|
pmate
|
 |
« Risposta #11 il: Luglio 02, 2008, 09:36:57 » |
|
WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.) Server role: ROLE_STANDALONE
Questo warning si riferisce al tuo share laserjet_1200 (più lungo di 12 caratteri). Io, intanto, rinominerei con un nome più corto ad es. ljet_1200. Per caso hai settato wins support = Yes
in questo caso dovresti andare a modificare /etc/nsswitch.conf
|
|
|
|
|
Loggato
|
Errare è umano, ma per fare davvero casino ci vuole la password di root!
|
|
|
lightuono
Newbie
Karma: +2/-1
Offline
Posts: 40
|
 |
« Risposta #12 il: Luglio 02, 2008, 09:56:00 » |
|
Pmate perché la modifica a nsswitch.conf?
|
|
|
|
|
Loggato
|
|
|
|
|
pmate
|
 |
« Risposta #13 il: Luglio 02, 2008, 10:59:35 » |
|
Perchè se il server Samba è stato configurato con il supporto a wins ("wins support=yes"), quest'ultimo risolve i nomi di tutti quegli hosts che non sono elencati in /etc/hosts o in /etc/resolv.conf # vim /etc/nsswitch.conf hosts: files dns wins
Sistemando così /etc/nsswitch.conf si permette al sistema di effettuare una query al wins server per la risoluzione dei nomi (in locale). Magari è questo che impedisce la risoluzione dei nomi nella lan di rudd. Ciauz
|
|
|
|
« Ultima modifica: Luglio 02, 2008, 11:01:57 da pmate »
|
Loggato
|
Errare è umano, ma per fare davvero casino ci vuole la password di root!
|
|
|
|