SURFscz / plsc

Python implementation of LSC
Apache License 2.0
1 stars 0 forks source link

sramInactiveDays not treated as real attributes #132

Closed baszoetekouw closed 2 months ago

baszoetekouw commented 3 months ago

sramInactiveDays seems te be treated as an operational attribute

mrvanes commented 2 months ago

Ik heb werkelijk geen idee waarom deze ldif een operational attribute op zou leveren?

dn: cn=sramPerson,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: sramPerson
olcAttributeTypes: ( 1.3.6.1.4.1.1076.20.100.20.2.1 NAME 'sramInactiveDays'
  DESC 'Number of days this entity was inactive'
  EQUALITY IntegerMatch
  ORDERING IntegerOrderingMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  )
olcObjectClasses: ( 1.3.6.1.4.1.1076.20.100.20.1.1 NAME 'sramPerson'
  AUXILIARY
  MAY (
    sramInactiveDays
    )
  )

En met een verse LDAP database kan ik het ook niet meer reproduceren. Het sramPerson object is aangepast (voorheen had het twee extra MAY attributen) en heeft nu alleen nog sramInactiveDays, dat gooit blijkbaar roet in het eten?

Image

baszoetekouw commented 1 month ago

Ok, dan zou dit automaytisch moeten worden gefixed als we de ldap straks overzetten naar de SC infra.