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

Lea Massiot lmloge at orange.fr
Thu Jan 30 12:14:46 MST 2014



To sum up a bit:
if one wants a "Linux" client (B) to join a "Samba4 AD DC" domain running on
a machine (A) with IP, one should:

1) Install some packages on (B):

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

2) Edit "/etc/krb5.conf" on (B), put these lines in it:

        default_realm = EXAMPLE.COM
        dns_lookup_realm = false
        dns_lookup_kdc = true

3) Edit "/etc/resolv.conf" on (B)

search example.com

What about "samba-client"?
Does it have to be installed? You said "yes" earlier, but I'm not sure
Is the "Debian Wheezy" package "samba-client" going to be compatible with
the "Samba4 AD DC" server which wasn't installed from a "Debian" package but
from the sources http://ftp.samba.org/pub/samba/samba-4.1.4.tar.gz?

What is the command that has to be run then to join the domain?
"samba-tool domain join" or "net ads join" or something else?


In the Web page you pointed me to:
I do not understand why they are talking about a "smb.conf" file in the
section "ACL support on member server".
Where does this "smb.conf" file come from?
In the section "Setup share permissions", I'm reading "Enter the name of
your Samba server, you've create the new share on."
I already know how to create a share on the "Samba4 AD DC" server, what I
don't know is how to create a share on a Linux (Debian Wheezy) client,
member of this domain.
Maybe I do not understand properly what is written.

Best regards.

View this message in context: http://samba.2283325.n4.nabble.com/How-to-join-a-Linux-machine-to-a-Samba4-domain-tp4660009p4660070.html
Sent from the Samba - General mailing list archive at Nabble.com.

More information about the samba mailing list