[Linux-Biella] SMB1 SMB2

Jumping Jack jumpingjack a jumpingjack.org
Mar 13 Giu 2017 15:56:17 CEST


On 13/06/2017 15:21, PaulTT wrote:
> On 13/06/2017 10:49, Jumping Jack wrote:
>> Stavo rimuovendo SMB1 da tutti i computer con Windows, anche se 
>> pensavo non fosse utilizzato per come avevo configurato, ma mi sono 
>> accorto che Linux come client non ne vuol più sapere di collegarsi, 
>> dice sempre time out. Quindi non riesco a capire come configurarlo, 
>> ciò che sta in smb.conf sembra solo relativo al server.
>>
>>
> quello che sta in smb.conf serve sia al server che al client
> il client ci legge per esempio il workgroup/dominio etc etc
>
> prova a postar un output di testparm (basta la parte iniziale, senza 
> le condivisioni eventuali)
>
> se vuoi cambia nomi e ip
>
Questo basta?

-----
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Can't find include file /etc/samba/dhcp.conf
Processing section "[homes]"
Processing section "[profiles]"
Processing section "[users]"
Processing section "[groups]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[data]"
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
     workgroup = XXX
     logon drive = P:
     logon home = \\%L\%U\.9xprofile
     logon path = \\%L\profiles\.msprofile
     usershare max shares = 100
     printcap name = cups
     server max protocol = SMB2
     map to guest = Bad User
     idmap config * : backend = tdb
     include = /etc/samba/dhcp.conf
     cups options = raw
-----

Con o senza "server max protocol" fa uguale.
Ok c'è un errore nel include che vedo solo ora, non l'ho tolto. :)



Maggiori informazioni sulla lista Linux