Mandando il comando dal pc stesso mi dice:
Codice:
Connection to 192.168.1.2 failed (Error NT_STATUS_CONNECTION_REFUSED)
Se mando il testparm mi restituisce:
Codice:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
WARNING: The "share modes" option is deprecated
Processing section "[netlogon]"
WARNING: The "share modes" option is deprecated
Processing section "[profiles]"
Processing section "[printers]"
WARNING: The "share modes" option is deprecated
Processing section "[pdf-documents]"
Processing section "[pdf-printer]"
Processing section "[File]"
Processing section "[X1234]"
Processing section "[X5678]"
Loaded services file OK.
ERROR: pid directory file:///var/run/samba does not exist
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
Press enter to see a dump of your service definitions
E quindi:
Codice:
[global]
netbios name = MARCO
server string = Samba file and print server
interfaces = 127.0.0.1/8, 192.168.0.0/24
bind interfaces only = Yes
security = SHARE
update encrypted = Yes
client schannel = No
server schannel = No
allow trusted domains = No
obey pam restrictions = Yes
smb passwd file = file:///etc/samba/smbpasswd
private dir = file:///etc/samba
guest account = smbguest
passwd program = file:///usr/bin/passwd%20'%25u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
passwd chat timeout = 120
username map = file:///etc/samba/smbusers
password level = 6
username level = 6
unix password sync = Yes
log file = file:///var/log/samba/samba.log
max log size = 1000
name resolve order = wins lmhosts bcast
client signing = No
client use spnego = No
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = cups
machine password timeout = 120
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
delete user from group script = /usr/sbin/userdel '%u' '%g'
set primary group script = /usr/sbin/groupadd '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
logon script = %G.bat
logon path = %5C%5C%25L%5Cprofiles%5C%25u
logon drive = m:
logon home = %5C%5C%25L%5Chomes%5C%25u
os level = 33
local master = No
domain master = No
dns proxy = No
pid directory = file:///var/run/samba
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /dev/null
winbind separator = @
winbind cache time = 360
winbind use default domain = Yes
winbind trusted domains only = Yes
winbind nested groups = No
winbind nss info = no
hosts allow = 127., 192.168.0.
cups options = raw
follow symlinks = No
[homes]
comment = Home Directories
path = /home
read only = No
locking = No
share modes = No
[netlogon]
comment = Network Logon Service
path = /home/netlogon
locking = No
share modes = No
[profiles]
comment = User Profiles
path = /var/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
locking = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
locking = No
share modes = No
[pdf-documents]
comment = Converted PDF Documents
path = /home/pdf-documents
read only = No
guest ok = Yes
[pdf-printer]
comment = PDF Printer Service
path = /tmp
guest ok = Yes
printable = Yes
printing = bsd
print command = /usr/bin/gadmin-samba-pdf %s %u
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
use client driver = Yes
[File]
path = file:///home/xxxxxxxxxxxxxxxx
read only = No
guest ok = Yes
[x1234]
comment = No comment
path = /home/xxxxxxxxxxxxxxxxx
read only = No
guest ok = Yes
printable = Yes
locking = No
[x5678]
path = /home/xxxxxxxxxxxxxxxxxxxx
read only = No
guest ok = Yes