November 18

Linux: Windows AD integration

Now done with sssd and realmd

Use the following command to join an AD domain:
realm join companyname.com

Configuration files located at:
/etc/sssd/sssd.conf
[sssd]
domains = companyname.com
config_file_version = 2
services = nss, pam

[domain/companyname.com]
ad_domain = companyname.com
krb5_realm = COMPANYNAME.COM
realmd_tags = joined-with-adcli
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
simple_allow_users = $, username, otherusername
access_provider = simple

systemctl restart sssd.service – reloads any sssd.conf changes


Copyright 2021. All rights reserved.

Posted November 18, 2021 by Timothy Conrad in category "Linux

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B