admin:services:nss
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édenteProchaine révisionLes deux révisions suivantes | ||
admin:nss [2013/07/25 12:26] – section Installation créée bertrand.bonnefoy-claudet | admin:services:nss [2018/05/10 17:31] – [Configuration] chirac | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
[[: | [[: | ||
- | [[http:// | + | [[http:// |
===== Installation ===== | ===== Installation ===== | ||
- | | + | |
Lors de la configuration, | Lors de la configuration, | ||
Ligne 20: | Ligne 20: | ||
getent passwd | getent passwd | ||
+ | | ||
+ | ===== sudo ===== | ||
+ | |||
+ | Pour que sudo continue à marcher avec l' | ||
+ | |||
+ | sudoers: | ||
+ | | ||
+ | À FedeRez, on utilise le groupe '' | ||
+ | |||
+ | %sudoldap ALL=(ALL: | ||
+ | | ||
+ | ===== PAM ===== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ==== Home directories ==== | ||
+ | |||
+ | Ajouter la ligne suivante à la fin de ''/ | ||
+ | |||
+ | session required pam_mkhomedir.so skel=/ | ||
| | ||
===== Liens ===== | ===== Liens ===== | ||
- | * Wiki Debian : http:// | + | * Wiki Debian : http:// |
===== Configuration ===== | ===== Configuration ===== | ||
- | <file conf /etc/nsswich.conf> | + | <file conf /etc/nsswitch.conf> |
passwd: | passwd: | ||
group: | group: | ||
Ligne 44: | Ligne 64: | ||
sudoers: | sudoers: | ||
- | |||
</ | </ | ||
Ligne 58: | Ligne 77: | ||
# The location at which the LDAP server(s) should be reachable. | # The location at which the LDAP server(s) should be reachable. | ||
uri ldap:// | uri ldap:// | ||
- | uri ldap://localhost | + | uri ldap://ldap-ro.federez.net |
# The search base that will be used for all queries. | # The search base that will be used for all queries. | ||
Ligne 72: | Ligne 91: | ||
# The DN to bind with for normal lookups. | # The DN to bind with for normal lookups. | ||
binddn cn=nssauth, | binddn cn=nssauth, | ||
- | bindpw | + | bindpw |
# The DN used for password modifications by root. | # The DN used for password modifications by root. | ||
- | rootpwmoddn cn=nssroot, | + | #rootpwmoddn cn=admin,dc=example,dc=com |
- | rootpwmodpw secret | + | |
# SSL options | # SSL options | ||
Ligne 86: | Ligne 104: | ||
#scope sub | #scope sub | ||
- | # FedeRez-specific mapping and filters | ||
- | filter passwd (objectClass=netFederezUser) | ||
- | map passwd uid netFederezUID | ||
- | filter shadow (objectClass=netFederezUser) | ||
- | map shadow uid netFederezUID | ||
- | filter group (objectClass=posixGroup) | ||
</ | </ |
admin/services/nss.txt · Dernière modification : 2020/04/26 13:23 de klafyvel