alefmatos
(usa Debian)
Enviado em 04/06/2016 - 15:15h
Ola a todos,
Sou iniciante no linux , atravez de uma vm do debian criei um dominio e configurei conforme alguns tutorias aqui do forum, aparentemente esta tudo funcionando porem não consigo colocar as maquinas no dominio,
OBS: eu consigo pingar o ip do servidor, consigo mapear a unidade usando o \\192.168.100 e tambem pelo nome \\server; aparentemente pode ser um erro de dns pois quando vou ingressa-las no dominio aparece a mensagem
O DNS foi consultado com êxito para obtenção do registro de recurso de serviço local (SRV) usado para localizar um controlador de dominio para o dominio ALEANDRO.COM
Para melhor entendimento segue alguns arquivos de configuraçoes principais:
SAMBA: /etc/samba/smb.conf
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = ALEANDRO.COM
# server string is the equivalent of the NT Description field
server string = %h server | (OSamba-Debian)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = yes
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
# security = domain
########## Domains ###########
# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
domain logons = ye
domain master = yes
local master = yes
prefferred master = yes
os level = 64
KERBEROS:
vim /etc/krb5.conf
[libdefaults]
default_realm = ALEANDRO.COM
dns_lookup_realm = false
dns_lookup_kdc = true
# The following krb5.conf variables are only for MIT Kerberos.
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true
[realms]
# ALEANDRO.COM = {
# kdc = ALEANDRO
# }
ALEANDRO.COM = {
kdc= 192.168.0.100
admin_server= 192.168.0.100
}
Resolv:
/etc/resolv.conf
# Generated by NetworkManager
domain ALEANDRO.COM
search ALEANDRO.COM
nameserver 192.168.0.100