Skip to content
Rüdiger Beck edited this page May 14, 2018 · 26 revisions

Registration of the schema

The linuxmuster.net association (Linuxmuster.net e.V. https://www.linuxmuster.net) has registered a schema:

Schema attributes:

Special attributes

The schema has some unused attributes, that can be used for upcoming stuff.

For use by an experienced administrator for her own purpose:

  • sophomorixCustom1 (SingleValue)
  • sophomorixCustom2 (SingleValue)
  • sophomorixCustom3 (SingleValue)
  • sophomorixCustom4 (SingleValue)
  • sophomorixCustom5 (SingleValue)
  • sophomorixCustomMulti1 (MultiValue)
  • sophomorixCustomMulti2 (MultiValue)
  • sophomorixCustomMulti3 (MultiValue)
  • sophomorixCustomMulti4 (MultiValue)
  • sophomorixCustomMulti5 (MultiValue)

For use by sophomorix/linuxmuster developers ONLY:

  • sophomorixIntrinsic1 (SingleValue)
  • sophomorixIntrinsic2 (SingleValue)
  • sophomorixIntrinsic3 (SingleValue)
  • sophomorixIntrinsic4 (SingleValue)
  • sophomorixIntrinsic5 (SingleValue)
  • sophomorixIntrinsicMulti1 (MultiValue)
  • sophomorixIntrinsicMulti2 (MultiValue)
  • sophomorixIntrinsicMulti3 (MultiValue)
  • sophomorixIntrinsicMulti4 (MultiValue)
  • sophomorixIntrinsicMulti5 (MultiValue)

Open questions

  • Replication of schema to another server?

  • schemaIDGUID and schemaIDGUID : Must they be just different? (or calculated?)

  • schemaIDGUID :: (Double colon, or syntax error)

  • How to save a schema Version number? (Do Server attributes exist?)

  • Enable caching for some/which attributes?

    • Can that be enabled later?
    • update searchflag attribute and restart samba recreates the index?
  • The searchFlags can be updated by an ldif file: ldbmodify -H /var/lib/samba/private/sam.ldb ./file.ldif --option="dsdb:schema update allowed"=true

    • with the *.ldif-file:

      dn: CN=Sophomorix-Comment,CN=Schema,CN=Configuration,DC=linuxmuster,DC=local
      objectClass: attributeSchema
      changetype: modify
      replace:searchFlags
      searchFlags: 128
      
      dn: CN=sophomorix-Add-Mail-Quota,CN=Schema,CN=Configuration,DC=linuxmuster,DC=local
      objectClass: attributeSchema
      changetype: modify
      replace:searchFlags
      searchFlags: 128
      
    • Can this mechanism be used to manage the searchFlags on debian package update

    • What if parts of the ldif fail ? --> no changes made

    • how can we add a Version number to the schema (attribute attatched to the domaincontroller?)

  • rangeUpper and rangeLower for attributes?

  • smbclient: switching back to protocol -mNT1 : How long will that work?

Clone this wiki locally