tech:notes_sssd
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_sssd [2025/05/20 10:08] – Jean-Baptiste | tech:notes_sssd [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes sssd | ||
| + | |||
| + | Voir : | ||
| + | * adcli - Tool for performing actions on an Active Directory domain | ||
| + | * [[connexion_ad_active_directory_ldap]] | ||
| + | * L2ARC, ZIL et SLOG | ||
| + | |||
| + | Voir aussi : | ||
| + | * Winbind | ||
| + | |||
| + | |||
| + | ## sssd vs winbind | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | ## Prerequisites for AD to Support SSSD ID Mapping | ||
| + | |||
| + | No configuration should be necessary, if the following things are properly configured. | ||
| + | |||
| + | * A DNS SRV record exists for “_ldap._tcp.ad.example.com”. | ||
| + | * A DNS SRV record exists for “_ldap._tcp.dc._msdcs.ad.example.com”. | ||
| + | |||
| + | Open the following ports : | ||
| + | * 53 (DNS) TCP and UDP | ||
| + | * 389 (LDAP) TCP and UDP | ||
| + | * 88 (Kerberos) TCP and UDP | ||
| + | * 464 (Kerberos password changes) TCP and UDP | ||
| + | * 3268 (LDAP global catalog) TCP | ||
| + | * 123 (NTP) UDP | ||
| + | |||
| + | Source : https:// | ||
| + | |||
| + | Disable ID Mapping | ||
| + | |||
| + | `/ | ||
| + | ~~~ini | ||
| + | ldap_id_mapping = false | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Conf | ||
| + | |||
| + | |||
| + | ~~~ | ||
| + | # Important. Impact les performances | ||
| + | enumerate = false | ||
| + | |||
| + | cache_credentials = True | ||
| + | # How long should we allow cached logins (in days since the last successful online login). 0 for no limit | ||
| + | # offline_creditinals_expiration=0 | ||
| + | |||
| + | default_shell=/ | ||
| + | |||
| + | # ad_gpo_access_control = enforcing # Défaut RHEL8 | ||
| + | # ad_gpo_access_control = permissive | ||
| + | # Ne pas bloquer l’authentification si les GPO ne sont pas accessible (si permissive ou disabled) | ||
| + | ad_gpo_access_control = disabled | ||
| + | |||
| + | # dyndns_update = false | ||
| + | |||
| + | ldap_referrals = false | ||
| + | |||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ## Pb connexion sssd | ||
| + | |||
| + | ~~~bash | ||
| + | systemctl restart sssd | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | tail / | ||
| + | sssctl config-check | ||
| + | systemctl stop sssd | ||
| + | |||
| + | ps -ef | grep sssd | ||
| + | killall sssd | ||
| + | |||
| + | rm / | ||
| + | systemctl start sssd | ||
| + | getend password plop | ||
| + | ~~~ | ||
| + | |||
| + | Del cache | ||
| + | ~~~bash | ||
| + | sss_cache -E | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | ## Autres | ||
| + | |||
| + | ~~~bash | ||
| + | rm -rf / | ||
| + | authselect create-profile activedirectory-ACME.LOCAL -b sssd | ||
| + | authselect select custom/ | ||
| + | ~~~ | ||
| + | |||
| + | la configuration présente dans `/ | ||
| + | |||
| + | ~~~bash | ||
| + | grep passwd / | ||
| + | |||
| + | egrep " | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
