Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 56

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Samba, várias configurações

E-mail Imprimir PDF

Links:
http://www.vivaolinux.com.br/artigo/Samba-Integracao-com-ClamAV-e-outras-coisas-uteis?pagina=1
http://www.vivaolinux.com.br/artigo/Configuracao-simples-Samba-+-LDAP
http://www.vivaolinux.com.br/artigo/Gerando-arquivos-PDF-atraves-do-SAMBA


Link Abaixo: http://www.vivaolinux.com.br/perguntas/verPergunta.php?codigo=28957

Faça com que seus usuários autentiquem em um domínio do NT. Neste caso é mandatório o share "netlogon", pois lá que você vai colocar os scripts de logon, arquivos de policiamento (o famoso config.pol).

Esta configuração estava autenticando em LDAP, mas tirei para deixá-la mais simples, autenticando na base de dados do sistema mesmo. Note que esta configuração está com um anti-vírus em sua configuração, mas se você quiser, pode desabilitar...

Tome cuidado com os paths pois são diferentes dos seus. Cuidado com os diretórios dos usuários (/home/usuario), pois /home/usuario nunca deve ter permisão 777, e sim, 700, ok?

[]s,
m0f0x

smb.conf:
#############################################
# #
# smb.conf: Samba server configuration file #
# #
#############################################


#####################
# Global parameters #
#####################
[global]

# Domain/name/description
workgroup = TESTGROUP
netbios name = BASSET-HOUND
server string = Woof-woof!

# Printing
printcap name = cups
printing = cups
cups options = "raw"
use client driver = yes
show add printer wizard = no

# Network interfaces
interfaces = lo, eth0
bind interfaces only = yes

# Message/log level
log level = 2
log file = /var/log/samba/samba.log
max log size = 100000
syslog = 0
debug timestamp = yes

# This server will act as PDC (Primary Domain Controller)
security = user
domain logons = yes
preferred master = yes
domain master = yes
os level = 65

# WINS support
wins support = no

# Passwords will be...?
encrypt passwords = yes
null passwords = no

# Logon path
logon path = \\%L\profile
logon home = \\%L\home
logon drive = H:

# Logon script (DOS textfile format)
logon script = logon.cmd

# Allow users from "Domain Admins" group to join the domain
enable privileges = yes

# Administrative users
admin users = @adm

# Recommended optimizations from
# http://us4.samba.org/samba/docs/man/Samba-Guide/se...
smb ports = 139 445
name resolve order = wins bcast hosts
utmp = yes
time server = yes
template shell = /bin/false
winbind use default domain = no
map acl inherit = yes
strict locking = yes

# TCP/sockect options
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Charset support (intl support)
dos charset = CP850
unix charset = ISO8859-1

# Don't try to lock these files
veto files = /*.eml/*.nws/*.{*}/
veto oplock files = /*.doc/*.xls/*.mdb/

# Yeah. We can hide something!
hidedotfiles = yes

# Simulate Windows's Recycle Bin
recycle:repository = .trash
recycle:keeptree = true
recycle:touch = true
recycle:versions = true
recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.$$$
recycle:excludedir = /tmp
ecycle:noversions = .doc|.xls|.ppt|.dbf|.nsx|.idx|.dbt
recycle:maxsize = 0

# Virus scanner: samba-vscan
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf


##########
# Shares #
##########
[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = yes
browseable = no
writable = no
share modes = no
read only = yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[home]
comment = %U's home
path = /home/users/%U
browseable = yes
writeable = yes
create mask = 0600
directory mask = 0700
vfs objects = recycle
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[profile]
comment = %U's profile
path = /home/users/%U/.profile
browseable = yes
guest ok = yes
profile acls = yes
writeable = yes
create mask = 0600
directory mask = 0700
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

[printers]
comment = Printers
path = /var/spool/samba
printable = Yes
guest ok = Yes
browseable = no
printer admin = @adm



Link: http://www.guiadohardware.net/dicas/lixeira-samba.html

[global]
workgroup = GRUPO
netbios name = SERVIDOR
vfs objects = recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:repository = /var/samba/trash/%U
recycle:exclude = *.tmp, *.log, *.obj, ~*.*, *.bak, *.iso
recycle:exclude_dir = tmp, cache

[engenharia]
path = /mnt/sda2/engenharia
writable = yes
valid users = +engenheiros

[gerencia]
path = /mnt/gerencia
writable = yes
valid users = paulo, rebeca
hosts allow = micro3, micro4
browseable = no

[lixeira]
path = /var/samba/trash/%U
writable = yes

Link Interessante: http://www.guiadohardware.net/artigos/samba3/

Link Interessante: http://planeta.ubuntubrasil.org/post/2212

LInk Interessante: http://www.vivaolinux.com.br/conf/categoriaIndex.php?codigo=12
Última atualização (
Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 117

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 243

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 249

Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 250
Ter, 10 de Março de 2009 00:18 )
 

Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 250
Banner

Identificação

Visitantes


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 56

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 57

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 58

Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 59

Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 60

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 63
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterHoje41
mod_vvisit_counterOntem80
mod_vvisit_counterEsta semana290
mod_vvisit_counterEste mês1342
mod_vvisit_counterTodos505518

Últimas Notícias


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Mais Vistos


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Itens Relacionados


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Newsflash


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198
SERVER NOT FOUND or TIME OUT