alan-sc
(usa Slackware)
Enviado em 26/04/2009 - 16:57h
Olá pessoal , montei um server para um cliente meu e somente o servidor de logon nao esta funcionando..
qdo vou tentar setar o dominio no windows, ele pede o login e senha dai fica um tempao , depois de uns 2min retorna a mensagem de erro "Erro durante a tentativa de ingresso no dominio , falha na chamada do procedimento remoto"
segue abaixo o smb.com e o rc.local
smb.conf-->
[global]
workgroup = METZ
domain master = yes
domain logons = yes
os level = 50
preferred master = yes
logon script = %U.bat
logon path = /netlogon
# wins support = yes
# wins proxy = yes
add machine script = /usr/sbin/adduser -n -g maquinas -c "Maquinas do Dominio" -d /dev/null -s /bin/false %u
server string = Servidor2
netbios name = Servidor2
announce as = NT server
log file = /var/log/log.%m
max log size = 50
dns proxy = no
security = user
smb passwd file = /etc/samba/private/smbpasswd
[SDA3 990GB]
comment = HD1
path = /SDA3
read only = no
writable = yes
public = no
browseable = yes
printable = no
create mode = 777
#valid users =
#admin users =
[SDB1 1TB]
comment = HD2
path = /SDB1
read only = no
writable = yes
public = no
browseable = yes
printable = no
create mode = 777
#valid users =
#admin users =
[SDC1 1TB]
comment = HD3
path = /SDC1
read only = no
writable = yes
public = no
browseable = yes
printable = no
create mode = 777
#valid users =
#admin users =
[SDD1 1TB]
comment = HD4
path = /SDD1
read only = no
writable = yes
public = no
browseable = yes
printable = no
create mode = 777
#valid users =
#admin users =
[netlogon]
comment = NetLogon
path = /netlogon
public = no
writable = no
browsable = no
share modes = no
avaliable = yes
create mode = 777
[ALAN]
comment = pasta tecnico
path = /SDD1/alan
read only = no
writable = yes
public = no
browseable = yes
printable = no
create mode = 777
# valid users = alan
rc.local-->
###################################
##### Limpa as Regras Antigas #####
###################################
# iptables -F #Limpa regras de ip
# iptables -t nat -F #Limpa regras de nat
# route del default gw 192.168.3.200 #Limpa Gateway
##########################
##### Placas de Rede #####
##########################
# route add default gw 192.168.3.200 #Adiciona um Gateway
ifconfig eth0 192.168.3.99 netmask 255.255.255.0 up #Configurando a eth0
# ifconfig eth0:1 192.168.99.1 netmask 255.255.255.0 up #Configurando a placa rede virtual
# echo 1 > /proc/sys/net/ipv4/ip_forward #Habilita Roteamento de pacotes
#######################
### Outros Comandos ###
######################
chmod 777 /etc/rc.d/rc.samba #Esta dando todas permissoes para o samba
chmod 777 /etc/rc.d/rc.local #Permissao total do rclocal
chmod 777 /etc/samba/smb.conf #Permissao total ao smb
chmod 777 /netlogon
chmod 777 /SDA3
chmod 777 /SDB1
chmod 777 /SDC1
chmod 777 /SDD1
####################
##### Firewall #####
####################
# iptables -t nat -A POSTROUTING -s 0/0 -o eth0 -j MASQUERADE #Esta Mascarando a conexão da eth0 para a eth0 virtual
# iptables -P INPUT ACCEPT #Politica de Acesso INPUT liberada
# iptables -P OUTPUT ACCEPT #Politica de Acesso OUTPUT liberada
# iptables -P FORWARD ACCEPT #Politica de Acesso FORWARD liberada
# iptables -A INPUT -m state --state RELATED,ESTABLISHED,NEW -j ACCEPT #Permite Aceitas somente conexões bem formadas
# iptables -A FORWARD -m state --state RELATED,ESTABLISHED,NEW -j ACCEPT #Permite Aceitas somente conexões bem formadas
tem varias coisas q ja deixei previamente configuradas so comentei para mais tarde ativar qdo quiser
o servidor samba e tudo mais esta ok so nao consigo conectar no dominio mesmo
opinem, abracos
alan