Closed baszoetekouw closed 5 months ago
ok, dan toch maar een custom schema:
dn: cn=sramobject,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: sramobject
olcObjectIdentifier: SRAMroot 1.3.6.1.4.1.1076.20.100.20
olcObjectIdentifier: SRAMobjectClass SRAMroot:1
olcObjectIdentifier: SRAMattributeType SRAMroot:2
olcObjectIdentitier: directoryString 1.3.6.1.4.1.1466.115.121.1.15
olcObjectIdentifier: generalizedTime 1.3.6.1.4.1.1466.115.121.1.24
olcAttributeTypes: ( SRAMattributeType:1 NAME 'sramLastActivityDate'
DESC 'Date when this entity was last active'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX generalizedTime
)
olcAttributeTypes: ( SRAMattributeType:2 NAME 'sramAUPacceptedURI'
DESC 'URI of accepted AUP'
EQUALITY caseExactMatch
SYNTAX directoryString
)
olcAttributeTypes: ( SRAMattributeType:2 NAME 'sramAUPacceptedDate'
DESC 'Date when the AUP was accepted'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX generalizedTime
)
olcObjectClasses: ( 1.3.6.1.4.1.5923.1.1.2 NAME 'sramObject'
AUXILIARY
MAY (
sramLastActivityDate $
sramAUPacceptedURI $
sramAUPacceptedDate
)
)
@mrvanes kun jij kijken of je dit schema in de ldap gepropt krijg, en of je deze attributen dan kan vullen met plsc?
tested, werkt
Welke info moet er nog bij dit nu niet al in ldap staat?