[Samba] How to join a Linux machine to a Samba4 domain

steve steve at steve-ss.com
Thu Jan 30 08:37:00 MST 2014

On Thu, 2014-01-30 at 05:27 -0800, Lea Massiot wrote:
> Hello,
> > Do you have kerberos set up yet? 
> No, I haven't.

OK. You'll need to.

apt-get install krb5-user krb5-config libpam-krb5 auth-client-config
sasl2-bin libsasl2-2 libsasl2-modules libsasl2-modules-gssapi-mit

As the install progresses, you'll be asked for your realm. It will then
ceate a kerberos configuration. Backup /etc/krb5.conf and replace it
with this:
        default_realm = YOUR.REALM
        dns_lookup_realm = false
        dns_lookup_kdc = true

Next question: do you have DNS set up yet?

More information about the samba mailing list