paulopca
(usa Ubuntu)
Enviado em 22/07/2010 - 10:56h
Antes ele me retornou isto:
root@webserver:~# testparm
O programa 'testparm' pode ser encontrado nos seguintes pacotes:
* samba-common-bin
* samba4-common-bin
Tente: apt-get install <pacote selecionado>
testparm: command not found
Daí, instalei os pacotes solicitados e esse foi o outro resultado:
root@webserver:~# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = COPIACAFE
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = No
printable = Yes
browseable = No
browsable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = No
Mas, logo abaixo de [cdrom] eu tenho isto digitado:
;[DOCUMENTOS]
; comment = Documentos de trabalho
; path = /media/arquivos/documentos
; guest account = nobody
; guest ok = yes
; browseable = yes
; read only = no
; writable = yes
; create mask = 0777
; directory mask = 0777
Me corrija, por favor.
Obrigado!