Hello
Can anyone here help me configure samba4 as PDC on CentOS6. I have tried samba3 but now I want to use samba4 because I am having some problems in running group policy using samba3 on windows 7.
I want to implement samba4 with kerberos and DNS server as per the howto tutorials on
sambahowto homepage. But i am getting stucked at the DNS and kerberos part.
I have successfully configured DNS server. I have created these entries manually in the zone files as I couldnot locate any zone file which was supposed to be created automatically once i run the provision command. But I never got any error for all the commands before this one.
Code:
# host -t A samba.samdom.example.com.
samba.samdom.example.com has address 10.10.10.176
Here this is another error
Code:
# host -t SRV _ldap._tcp.samdom.example.com.
Host _ldap._tcp.samdom.example.com. not found: 3(NXDOMAIN)
Code:
host -t SRV _kerberos._udp.samdom.example.com.
Host _kerberos._udp.samdom.example.com. not found: 3(NXDOMAIN)
Code:
# nslookup kerberos.samdom.example.com
Server: 10.10.10.176
Address: 10.10.10.176#53
Name: kerberos.samdom.example.com
Address: 10.10.10.176
but I am not able to get a positive reply for kerberos
Code:
# kinit administrator@SAMDOM.EXAMPLE.COM
kinit: Cannot resolve network address for KDC in realm "SAMDOM.EXAMPLE.COM" while getting initial credentials
this is my /etc/krb5.conf file
Code:
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = SAMDOM.EXAMPLE.COM
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
[realms]
SAMDOM.EXAMPLE.COM = {
kdc = kerberos.samdom.example.com
admin_server = kerberos.samdom.example.com
}
[domain_realm]
.samdom.example.com = SAMDOM.EXAMPLE.COM
samdom.example.com = SAMDOM.EXAMPLE.COM