samba4 joining a domain with /etc/krb5.conf setup

Anatoliy Atanasov anatoliy.atanasov at
Tue Apr 20 06:25:52 MDT 2010

Hi List,

Here's the wiki page where the join is described:

"You should have your existing domain setup correctly as your default realm in /etc/krb5.conf, and you should have these options setup in /etc/krb5.conf:

 dns_lookup_realm = true
 dns_lookup_kdc = true

I compare this with generated krb5.conf file during provision and here it is:
	dns_lookup_realm = false
	dns_lookup_kdc = false

Yesterday i had a problem with setting up net vampire's realm and changed the settings of /etc/krb5.conf to false and it worked fine. I am not familiar with these parameters, so which settings are correct?


More information about the samba-technical mailing list