Outils pour utilisateurs

Outils du site


services:ldap

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
services:ldap [2023/02/16 13:54] – créée gizmoservices:ldap [2023/02/16 15:36] (Version actuelle) gizmo
Ligne 1: Ligne 1:
 # OpenLDAP # OpenLDAP
 +https://datatracker.ietf.org/doc/html/rfc2252
 +https://www.alvestrand.no/objectid/1.3.6.1.4.1.1466.115.121.1.html
  
 Installé sur ldap01.grif, accessible en ldaps 636. Installé sur ldap01.grif, accessible en ldaps 636.
  
-Conf dispo dans /usr/local/etc/openldap/.+Conf dispo dans /usr/local/etc/openldap/ 
 +. 
 +### Ajouter un attribut à un schéma 
 + 
 +``` 
 +[root@ldap01 ~]# cat /usr/local/etc/openldap/schema/grifon.schema  
 +attributetype ( 1.3.6.1.4.1.52011.2 NAME 'CodeAdherent' 
 +    EQUALITY caseIgnoreMatch 
 +    SUBSTR caseIgnoreSubstringsMatch 
 +    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) 
 + 
 +attributetype ( 1.3.6.1.4.1.52011.3 NAME 'Company' 
 +    EQUALITY caseIgnoreMatch 
 +    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) 
 + 
 +objectclass ( 1.3.6.1.4.1.52011.1 NAME 'GRIFObject' 
 +    SUP top 
 +    AUXILIARY 
 +    MAY ( CodeAdherent $ Company )) 
 +    !/* 
 + 
 +``` 
 + 
 +``` 
 +[root@ldap01 ~]# service slapd restart 
 +Stopping slapd. 
 +Performing sanity check on slap configuration: OK 
 +Starting slapd. 
 + 
 +```
services/ldap.1676555667.txt.gz · Dernière modification : 2023/02/16 13:54 de gizmo