Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SAMBA] conf notebook gentoo in una lan Win [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Mon Feb 21, 2005 12:26 pm    Post subject: [SAMBA] conf notebook gentoo in una lan Win [RISOLTO] Reply with quote

Vorrei configurare il mio notebook in modo da poter vedere tutta la rete win, ho letto un po di how-to e manuali per samba.. ma configurando smb.conf semplicemente con:
Code:

[global]
workgroup = WKG
netbios name = MYNAME
[share1]
path = /tmp
[share2]
path = /my_shared_folder
comment = Some random files


non funziona.
Come lo devo configurare ?
Tnx


Last edited by f0llia on Tue Feb 22, 2005 10:52 am; edited 1 time in total
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 5:17 am    Post subject: Reply with quote

:cry:
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1564
Location: switzerland

PostPosted: Tue Feb 22, 2005 6:20 am    Post subject: Reply with quote

hai già visto questa guida?

prova a guardarla se non lo hai ancora fatto, se non riesci prova a postare qualche info in più sulla tua rete (autenticazione...)

ciao
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 6:38 am    Post subject: Reply with quote

Si, l'ho vista grazie ;), ma non fa al caso mio ( per il momento almeno ) a me serve solo vedere alcune cartelle condivise su alcune macchine win.

Praticamente la situazione è questa: il mio notebook in questione con gentoo vorrebbe accedere alle cartelle condivise su macchine win, non c'e un dominio, solo un gruppo di lavoro. Vorrei sapere come posso configurare samba sul mio notebook. E' possibile farlo senza toccare le macchine win ?
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1564
Location: switzerland

PostPosted: Tue Feb 22, 2005 6:47 am    Post subject: Reply with quote

f0llia wrote:
Si, l'ho vista grazie ;), ma non fa al caso mio ( per il momento almeno ) a me serve solo vedere alcune cartelle condivise su alcune macchine win.

Praticamente la situazione è questa: il mio notebook in questione con gentoo vorrebbe accedere alle cartelle condivise su macchine win, non c'e un dominio, solo un gruppo di lavoro. Vorrei sapere come posso configurare samba sul mio notebook. E' possibile farlo senza toccare le macchine win ?


che permessi hanno le cartelle condivise in win? tutti possono accedervi? o hai impostato diversi account? devi dare queste info.
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 6:48 am    Post subject: Reply with quote

si tutti posso accedere.
Back to top
View user's profile Send private message
McNaull
n00b
n00b


Joined: 02 Dec 2003
Posts: 41
Location: Confederatio Helvetica

PostPosted: Tue Feb 22, 2005 7:41 am    Post subject: Reply with quote

Che non mi è chiaro.. cosa non funziona? Nel senso che comando dai per vedere le macchine che sono nella stessa rete?

Le monti mettendo il comando su fstab o direttamente da linea da comando? e come? Che errore ti da?
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 8:17 am    Post subject: Reply with quote

Questo è quello che faccio:
Code:

 # smbclient -L Vegeta
Password:
session setup failed: NT_STATUS_LOGON_FAILURE


Inserisco la mia pass ma mi restituisce quell'errore
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Tue Feb 22, 2005 8:24 am    Post subject: Reply with quote

prova ad aggiungere alla sezione [global]:
Code:
security = user
encrypt passwords = yes

_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 8:30 am    Post subject: Reply with quote

Code:

 # cat /etc/samba/smb.conf
[global]
workgroup = ATLANET
netbios name = Vegeta
security = user
encrypt passwords = yes
[share1]
path = /home/nicola
#[share2]
#path = /my_shared_folder
#comment = Some random files


Non va neanche cosi.. stesso errore
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Tue Feb 22, 2005 8:32 am    Post subject: Reply with quote

perdonami, ma se usi secuirty = user devi avere una copia dell'utente di sistema replicata su samba, con
Code:
smbpasswd -a utente
.
poi l'username della macchina remota e' lo stesso che stai usando su linux?
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 8:35 am    Post subject: Reply with quote

FonderiaDigitale wrote:
perdonami

Ma figurati :D

FonderiaDigitale wrote:

poi l'username della macchina remota e' lo stesso che stai usando su linux?


mm no, sulla macchina remota win uso Administrator
Back to top
View user's profile Send private message
McNaull
n00b
n00b


Joined: 02 Dec 2003
Posts: 41
Location: Confederatio Helvetica

PostPosted: Tue Feb 22, 2005 8:38 am    Post subject: Reply with quote

Provando un attimo mi sembra che sia prorpio l'errore di identificazione del tuo utente... e quindi arriva la domanda stupida!

L'utente che usi sotto linux è presente anche sotto windows? Ed è con quello che cerchi di eseguire smbclient? In poche parole volevo essere sicuro che il comando che fai sia alla fine dei conti identico a

Code:
smbclient -U nome_utente -L nome_macchina


...
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 8:43 am    Post subject: Reply with quote

No, il mio utente di linux sulle macchine win non c'era..:oops: l'ho creato adesso..
Per verificare che adesso funzioni come procedo ?
Back to top
View user's profile Send private message
McNaull
n00b
n00b


Joined: 02 Dec 2003
Posts: 41
Location: Confederatio Helvetica

PostPosted: Tue Feb 22, 2005 9:00 am    Post subject: Reply with quote

prova il comando che ti ho dato:

Code:
smbclient -U nome_utente_in_win -L nome_macchina_o_ip


in cui nome_utente_in_win metti il nome utente win che hai appena messo.. mentre per nome_macchina_o_ip... bhe... il nome macchina o direttamente l'IP... un bel man smbclient e ti si chiarirà tutto... :D

e poi inserisci la password... di per sè in questo modo non sei obbligato ad avere lo stesso utente anche sulla macchina linux... potresti anche farlo con l'utente administrator di win...
Prova e fa sapere se da ancora errore!
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 9:13 am    Post subject: Reply with quote

Code:

# smbclient -U user -L IP
Password:
Domain=[LAN_DOMINIO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       Remote IPC
        backupnic       Disk
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
session request to 10.62.242.48 failed (Called name not present)
session request to 10 failed (Called name not present)
Domain=[LAN_DOMINIO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------


..
Back to top
View user's profile Send private message
McNaull
n00b
n00b


Joined: 02 Dec 2003
Posts: 41
Location: Confederatio Helvetica

PostPosted: Tue Feb 22, 2005 9:25 am    Post subject: Reply with quote

f0llia wrote:
Code:

....
session request to 10.62.242.48 failed (Called name not present)
session request to 10 failed (Called name not present)
...


..


Ok... mi sa che mi sono sbagliato... questi errori di solito te li da (mi sembra di capire) perchè l'utente non è presente sulla macchina linux... quindi alla fine mi sa che sei obbligato af avere su tutti e due l'utente necessario (anche se ancora non sono mica sicuro)... per il resto ottieni il mio stesso risultato e io tranquillamente riesco a montare gli share in giro per la rete!

cmq.. d'ora in poi non so molto, non conosco bene smbclient.. io di solito monto direttamente lo share... e non so neanche cosa sia meglio fare :oops:
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue Feb 22, 2005 9:33 am    Post subject: Reply with quote

Ho usato l'utente di linux che ho messo anche su win...
Poi per montare lo share tu come fai ?
Tnx
Back to top
View user's profile Send private message
McNaull
n00b
n00b


Joined: 02 Dec 2003
Posts: 41
Location: Confederatio Helvetica

PostPosted: Tue Feb 22, 2005 9:49 am    Post subject: Reply with quote

luna80 wrote:
hai già visto questa guida?

prova a guardarla se non lo hai ancora fatto, se non riesci prova a postare qualche info in più sulla tua rete (autenticazione...)

ciao


Col link che ti ha dato luna dovresti trovare tutto l'indispensabile cmq io do questo comando:

Code:
mount -t smbfs //ip_macchina_in_rete/cartella /cartella_dove_montare/ -o username=nome_utente


Ma le opzioni migliori... sempre per migliorare la funzione per le tue necessità;... le puoi sempre trovare sotto man mount... cmq questo comando in base alle mie conoscenze dovrebbe già essere sufficiente!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum