j'ai fais ceci :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| dn: cn=schema
changetype: modify
add: attributeTypes
attributeTypes: ( 2.25.128424792425578037463837247958458780603.1
NAME 'profilApplicatif'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.2
NAME 'flagActif'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.3
NAME 'nDSPKINotAfter'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.4
NAME 'nDSPKINotBefore'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.5
NAME 'spi'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.6
NAME 'typecertificat'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
-
add: objectClasses
objectClasses: ( 2.25.128424792425578037463837247958458780603.7
NAME 'particulier'
DESC 'particulier'
SUP top
STRUCTURAL
MAY (profilApplicatif $ flagActif $ nDSPKINotAfter $ nDSPKINotBefore $ spi $ typecertificat)
) |
lors de l'importation j'ai une erreur
!ERROR [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : ADD_REQUEST Message ID : 71 Add Request : Entry dn[n]: uid=xxx, ou=0, ou=1, ou=abonnes,ou=particuliers,ou=mefi,o=go,c=fr objectClass: particulier uid: xxx mail: <a href="mailto:xxx@xxx.fr">xxx@xxx.fr</a> sn: PEEL profilApplicatif: xxx profilApplicatif: xxx profilApplicatif: xx_xx profilApplicatif: xx_xx flagActif: S nDSPKINotAfter: 20090130105948Z nDSPKINotBefore: 20090109105948Z cn: Emma PEEL spi: Pxxxxx givenName: Emma personalTitle: MLE typecertificat: E : ERR_277 Attribute personalTitle not declared in objectClasses of entry uid=xxx, ou=0, ou=1, ou=abonnes,ou=particuliers,ou=mefi,o=go,c=fr]
Partager