[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Question about OID / feedback on schema
- To: openldap-technical@openldap.org
- Subject: Question about OID / feedback on schema
- From: Mikael Bak <bak.mikael@oszk.hu>
- Date: Fri, 5 Apr 2019 13:26:10 +0200
- Autocrypt: addr=bak.mikael@oszk.hu; keydata= xsFNBFvIL5IBEADlPKBdbUGxkS6CA5FQTlNn3Q1ApjMItWOW/gTwEurqRuEAAm4KlJDNwf4i uvrmXud4caPkSswnRwDfhXBxic+2xUjX3muELC2h/ljDkAIFpGT+xK3vCFGkXt7x8f5/SBHh MyB/gKlMeDFyNiLauRVWOspZqNMuZgCZly+SxfH8TlwQ1ScaVkLjvU9aEvgCcdXUUo1nPiIc aP4/OcrMgOudiQP4eAbZ+SuoSEXVwloip9A7HnfrjBvxrWuTeVVuWNorUw3Psdj+yys+cok/ neluqZBVg6P2OWNd703CrMy9hj3s7peAA0Mhfa8TR+GxL50zy3EGu6iF2WZpuanDUDku4Pbd vXMRafPkpADBo8T3bwEAV03gGGSwSw5RWDb+zMApdJ8rmw/RQE2VBrJzhzyhMizVswsunWhP GiexlQPV/Pt4PgyUn76F7jAOUZy7XgVvXyd/Mb5s+ZLX5jCpBtK4bPtOiZTfHVnKh6BFaZJX mW9BYn4R48BCy7GfAErsZjudady98GiRdqAz32/i08Z8otxjyGbyJ+dsvVdeojVH5Z6/OeLX bZsS7PfNsmFEGYYmEaG74IV1ZgXiyLEqNcgp4KX8hMnA/NMSm4pSlUtig86SI/r1hns5I3Tl 1TcMtIVCnhBoty607xBq2PC8E+z9H73H9ywU0EWW6FnSNxZSSwARAQABzR9NaWthZWwgQmFr IDxiYWsubWlrYWVsQG9zemsuaHU+wsGUBBMBCgA+FiEECB5yN1JehrCpky5E4vRHTsaBWbMF AlvIL5ICGyMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ4vRHTsaBWbOxdg/5 ASzHMclL6iinYrlwvAznw92oAru51Z/cbjg/Bj05VjRWKIvfpw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
Hi list,
After a previous discussion on this list[1] I've decided to define an
object class and some attributes of my own to be able to turn users
on/off and to be able to have their subscriptions expire.
I got a lot of help from Michael Ströder, who pointed me in the right
direction. Thank you for that!
What I have so far looks like this:
#objectidentifier oszkSchema x-hu-OSZK
objectidentifier oszkSchema 1.3.6.1.4.1.4203.666
objectidentifier oszkAttrs oszkSchema:3
objectidentifier oszkOCs oszkSchema:4
attributetype ( oszkAttrs:1
NAME 'oszkAccountActive'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
attributetype ( oszkAttrs:2
NAME 'oszkAccountExpire'
SINGLE-VALUE
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
objectclass ( oszkOCs:1 NAME 'oszkPerson'
DESC 'OSZK person'
SUP inetOrgPerson
MUST ( oszkAccountActive )
MAY ( oszkAccountExpire ) )
My question is what I can use for OID in the beginning of the file? I
tried to use a private name (beginning with "x-" as described here:
http://www.openldap.org/doc/admin24/schema.html
That did not work. Using the numeric OID above works, but I'm not sure
what numbers are safe to use. This schema is going to be local on one
server for the time being.
So my question is: Is there a way to know what OID's I can use for
private/local use only. I would like to avoid registering my
organization with IANA fo now.
I did not find that information in the above document. If I missed it
and it's there, then I appologize.
Secondly, if you find any errors or potential problems with my schema,
then please let me know. I'm an LDAP beginner.
TIA,
Mikael
[1] http://www.openldap.org/lists/openldap-technical/201904/msg00006.html