Member Server in an Active Directory Domain
· One min read
Member Server in an Active Directory Domain
- Install packages:
$ sudo apt install realmd samba libnss-winbind samba-common-bin libpam-winbind winbind
- Edit
/etc/resolv.conf
nameserver # BD server ip address
- find realm
$ sudo realm discover
- Realm join
$ sudo realm join -v --membership-software=samba --client-software=winbind $DOMAIN REALM
- edit
/etc/nsswitch.conf
passwd: files systemd winbind
group: files systemd winbind
- automatically create home directory
$ sudo pam-auth-update --enable mkhomedir
- see references for more detail
- references