Web lists-archives.com

[Samba] Different ways/commands to join an AD domain




Hi List

I'm a bit puzzled about the different ways to join a W2012R2 D domain, as there are multiple ways of doing that, and I'm not sure which is the right or best one.

Background: we have different OS (Centos 5/6, Debian 8/9) which are or will be integraded into the AD.

using "realm join ubxad.u-blox.net" (Debian 8/9)

i could join the domain but got 

[2018/02/08 17:23:01.852721,  3] ../source3/lib/access.c:338(allow_access)
  Allowed connection from 10.64.253.39 (10.64.253.39)
[2018/02/08 17:23:16.487274,  3] ../source3/lib/util_procid.c:54(pid_to_procid)
  pid_to_procid: messaging_dgm_get_unique failed: No such file or directory

resulting in: only accessible from the joined domain, not from our legacy samba3 domain.

After using "net ads join -U administrator" things started to work right. (centos 7, Debian 8/9)

And there is also "adcli join" (centos 6)

Could you tell we when to use what program please? Also in terms of when to use sssd or winbind instead?

Thank you.

Tom

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba