crisjlima
(usa Debian)
Enviado em 22/05/2016 - 11:34h
Prezados preciso de ajuda
Estou configurando um servidor debian 8 para uma pequena rede, nele instalei e configurei os serviços:
DNS com o Bind9
DHCP com o isc-dhcp-server
Squid3
Estes serviços citados há cima estão funcionando perfeitamente mas o samba4 não está funcionando de maneira nenhuma. Aqui está a configuração do samba dentro de /usr/local/samba/etc/smb.conf:
# Global parameters
[global]
netbios name = SRV
realm = CAC.LOCAL
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbi$
workgroup = CAC
server role = active directory domain controller
[netlogon]
path = /usr/local/samba/var/locks/sysvol/cac.local/scripts
read only = No
[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = No
Resultados dos comandos:
:~# kinit administrator@CAC.LOCAL
kinit: Cannot find KDC for realm "CAC.LOCAL" while getting initial credentials
~# host -t SRV _ldap._tcp.cac.local.
Host _ldap._tcp.cac.local. not found: 3(NXDOMAIN)
~# host -t SRV _kerberos._udp.cac.local.
Host _kerberos._udp.cac.local. not found: 3(NXDOMAIN)
Quando instalei como já tinha o bind9 optei por configurar o BIND9_DLZ para DNS como pode ver em seguida:
root@SRV:~# /usr/local/samba/bin/samba-tool domain provision
Realm [CAC.LOCAL]: CAC.LOCAL
Domain [CAC]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]: BIND9_DLZ
Administrator password:
Retype password:
Looking up IPv4 addresses
More than one IPv4 address found. Using 192.168.0.254
Looking up IPv6 addresses
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=cac,DC=local
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Creating CN=MicrosoftDNS,CN=System,DC=cac,DC=local
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
See /usr/local/samba/private/named.conf for an example configuration include file for BIND
and /usr/local/samba/private/named.txt for further documentation required for secure DNS updates
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
A Kerberos configuration suitable for Samba 4 has been generated at /usr/local/samba/private/krb5.conf
Once the above files are installed, your Samba4 server will be ready to use
Server Role: active directory domain controller
Hostname: SRV
NetBIOS Domain: CAC
DNS Domain: cac.local
DOMAIN SID: S-1-5-21-514757300-3989735402-2040831995
Alguém pode me ajudar?