fixxctba
(usa Ubuntu)
Enviado em 03/11/2011 - 13:42h
Bom... eu consegui fazer o Windows 7 logar no dominio da seguinte maneira:
##############SMB.CONF#################
[global]
workgroup = REDE
netbios name = WWW
server string = %h server (Samba, Ubuntu)
passdb backend = tdbsam
security = user
username map = /etc/samba/smbusers
name resolve order = wins bcast hosts
domain logons = yes
preferred master = yes
wins support = yes
# configurao do CUPS para impressoras
load printers = yes
printcap name = CUPS
printing = CUPS
#printer admin = @lpadmin
# Logon Padr
logon drive = H:
logon script = scripts/logon.bat
logon path = \\server1\profile\%U
# Script para adcionar computadores automaticamente
add user script = /usr/sbin/adduser --quiet --disabled- password --gecos "" %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usernod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
idmap uid = 15000-20000
idmap gid = 15000-20000
template shell = /bin/bash
# Sincronismo das senha locais com as do SAMBA
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd chat debug = yes
unix password sync = yes
# Definio do loglevel
log level = 3
[public]
browseable = yes
public = yes
[homes]
comment = Home
valid users = %S
read only = no
browsable = no
[netlogon]
comment = Servi de logon
path = /home/samba/netlogon
admin users = Administrador
valid users = %U
read only = no
guest ok = yes
writable = no
share modes = no
[profile]
comment = User profiles
path = /home/samba/profiles
valid users = %U
create mode = 0600
directory mode = 0700
writable = yes
browsable = no
guest ok = no
#########################################################################################
Agora quero saber o seguinte:
Como eu faço para que o Windows salve tudo automaticamente dentro do servidor.
Documentos... Area de Trabalho... Contas e E-mails do Office Outlook....
???????????????
Abraços!