Quote:
Originariamente inviato da Cosmo
Il tuo smb.conf mi sembra incoerente.
Lancia testparm per controllare se hai introdotto errori nel file.
|
allora avevo visto citato questo testparm in qualche guida..... senza capire esattamente le sue potenzialitą.
Cmq sia appena lanciato nel terminale dice questo:
Codice:
diabolik@diabolik-NUC7PJYHN:~$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
WARNING: The 'netbios name' is too long (max. 15 chars).
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
Ora premo enter e se non viene fuori una cosa troppo lunga edito... spetta.
Come premo ENTER la finestra si popola di questa roba qua:
Codice:
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
create mask = 0755
hosts allow = 192.168.1.0/24
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
Poi mi ritrovo al prompt del terminale.... come posso decrifrare queste informazioni.
In che senso il smb.conf č incoerente ? Oltre a quelle tre righe subito dopo [global] č completamente stock...
Se c'č un modo per resettare le impostazioni suggerisci pure cmq......