Answer the question
In order to leave comments, you need to log in
How to setup sssd for AD in Debian 9?
Greetings!
Decided to try to enter the PC into the domain by means of relamd. I installed realmd and packagekit myself. Time synchronized with the domain controller. Entered into the domain with the command:
realm join --user=vt4 crb.local
session required pam_mkhomedir.so skel=/etc/skel umask=0077
default_domain_suffix = crb.local
getent passwd vt4
[email protected]:*:542801353:542800513:Vladimir Sinotov:/home/[email protected]:/bin/bash
id vt4
uid=542801353([email protected]) gid=542800513([email protected] users) groups=542800513([email protected] users),<...>
[email protected]:/home/user# su vt4
su: System Error
(Ignored)
[email protected]@vt-linuxmail:/home/user$
[email protected]:~$ su vt4
Password:
su: System error
[email protected]:~$
Answer the question
In order to leave comments, you need to log in
I can give a really valid, but slightly mutilated sssd.conf
[sssd]
config_file_version = 2
domains = domain.int
services = nss
[nss]
filter_users = root
shell_fallback = /sbin/nologin
fallback_homedir = /usr/share/smbusers/%u
default_shell = /bin/sh
[domain/domain.int]
id_provider = ldap
auth_provider = ad
access_provider = ldap
selinux_provider = none
ldap_referrals = false
ldap_uri = ldap://dc1.domain.int/
ldap_backup_uri = ldap://dc3.domain.int/
ad_server = dc1.domain.int
ad_backup_server = dc3.domain.int
ldap_sasl_mech = GSSAPI
ldap_id_mapping = true
ldap_schema = ad
ldap_idmap_default_domain_sid = S-1-5-21-xxx... (много-цифр)
lookup_family_order = ipv4_only
case_sensitive = false
ldap_user_search_base = dc=domain,dc=int
ldap_group_search_base = dc=domain,dc=int
ldap_access_order = expire
ldap_account_expire_policy = ad
ldap_force_upper_case_realm = true
krb5_realm = DOMAIN.INT
krb5_canonicalize = false
ldap_user_object_class = user
ldap_user_name = sAMAccountName
ldap_user_gecos = displayName
ldap_user_principal = userPrincipalName
ldap_user_modify_timestamp = whenChanged
ldap_user_shadow_last_change = pwdLastSet
ldap_user_shadow_expire = accountExpires
ldap_group_object_class = group
ldap_group_name = cn
Perhaps you will be helped by several articles with practical examples and recommendations from here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question