anitass
(usa Debian)
Enviado em 09/06/2007 - 12:37h
oi instalei o samba no fedora 6 para fazer o pdc
so que o arquivo ta direitinho
o testparm da que ta tudo certo
mas o micro windows nao o localiza
nem o dominio
pq ?
o meu smb.conf
[global]
# Dados do Servidor
comment = SERVER
workgroup = tvmm
netbios name = SERVER
server string = SERVER
# Usuario admi
admin users = admin
# Compartilhamento de Impressoras
#printcap name = cups
#load printers = yes
#printing = cups
# Log de Atividades
log file = /var/log/samba/%m-%U.log
max log size = 50
debug level = 3
log level = 1
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Nivel de Acesso
winbind use default domain = no
security = user
# Configuracoes de Dominio
domain logons = yes
logon script = netlogon.bat
logon drive =
logon path =
logon home =
# logon com perfil falta testar
logon drive = H:
#logon path = \\%L\profiles\%U
#logon home = \\%L\profiles\%U
preferred master = yes
os level = 65
;recyclebin options
recycle:exclude = *.tmp *.temp *.o *.obj ~$*
recycle:keeptree = True
recycle:touch = True
recycle:versions = True
recycle:noversions = .doc|.xls|.ppt
recycle:repository = .recycle
recycle:maxsize = 10000000
create mask = 0777
directory mask = 0777
vfs objects = recycle
# UIDS e GIDS para o mapa de usuarios
idmap uid = 15000-20000
idmap gid = 15000-20000
# Listar usuarios e grupos pelo winbind
#winbind enum users = yes
#winbind enum groups = yes
# Configuracoes para Recursos Windows
# encrypt passwords = yes
name resolve order = lmhosts wins bcast
time server = yes
username map = /etc/samba/smbusers
# Codificacao da Pagina de Caracteres
unix charset = iso-8859-1
# Script para adicao de wk winxp
adduser script = /usr/sbin/useradd -m %u
add machine script = /usr/sbin/useradd -c "Samba Machine" -d /dev/null -s /bin/false %u
passdb backend = smbpasswd
auth methods = guest, sam
update encrypted = Yes
passdb backend = smbpasswd
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n *Retype*new*password* %n *passwd:*all*authentication*tokens*updated*successfully*
#=========================================================================
# Recursos Compartilhados
#=========================================================================
#[homes]
# comment = Home Directories
# browseable = no
# writable = yes
[netlogon]
path = /sistemas/netlogon
read only = yes
write list = root
browseable = no
[SISTEMAS]
path = /sistemas
force user =
force group = %G
read only = No
create mask = 0770
force create mode = 0770
directory mask = 0770
force directory mode = 0770
force directory mode = 770
directory mode = 770
create mode = 770
available = yes
browseable = yes
writeable = yes
force directory security mode = 0770
vfs object = /usr/lib/samba/vfs/recycle.so