-
Notifications
You must be signed in to change notification settings - Fork 7
Schema
The linuxmuster.net association (Linuxmuster.net e.V. https://www.linuxmuster.net) has registered a schema:
- At: http://pen.iana.org/pen/PenApplication.page
- PEN: 47512
- Organization Name: linuxmuster.net e.V.
- Contact E-mail and Contact Name see at 47512:
- Update the contact at: http://pen.iana.org/pen/PenModification.page
- For questions: [email protected]
- This includes the following OID's:
- 1.3.6.1.4.1.47512.1... (sophomorix)
- 1.3.6.1.4.1.47512.2... (linbo? ...)
- 1.3.6.1.4.1.47512.3...
- The files that configure the schema can be found here:
- Show the attributes on an installed server:
- All sophomorix attributes
sophomorix-samba --show-sophomorix-attributes
- One attribute in detail:
sophomorix-samba --show-attribute <attribute>
- All sophomorix attributes
The schema has some unused attributes, that can be used for upcoming stuff.
- sophomorixCustom1 (SingleValue)
- sophomorixCustom2 (SingleValue)
- sophomorixCustom3 (SingleValue)
- sophomorixCustom4 (SingleValue)
- sophomorixCustom5 (SingleValue)
- sophomorixCustomMulti1 (MultiValue)
- sophomorixCustomMulti2 (MultiValue)
- sophomorixCustomMulti3 (MultiValue)
- sophomorixCustomMulti4 (MultiValue)
- sophomorixCustomMulti5 (MultiValue)
- sophomorixIntrinsic1 (SingleValue)
- sophomorixIntrinsic2 (SingleValue)
- sophomorixIntrinsic3 (SingleValue)
- sophomorixIntrinsic4 (SingleValue)
- sophomorixIntrinsic5 (SingleValue)
- sophomorixIntrinsicMulti1 (MultiValue)
- sophomorixIntrinsicMulti2 (MultiValue)
- sophomorixIntrinsicMulti3 (MultiValue)
- sophomorixIntrinsicMulti4 (MultiValue)
- sophomorixIntrinsicMulti5 (MultiValue)
-
Samba 4.7.6 (ubuntu Bionic)
-
Replication of schema to another server?
- This works on 4.7.6
-
schemaIDGUID and schemaIDGUID : Must they be just different? (or calculated?)
- We should use a tool to create these ID's: --> which tool?
- on schema updates these numbers might be not updated/also updated?
-
schemaIDGUID :: (Double colon)
- The double colon means: Following Value is utfbase64 encoded
-
How to save a schema Version number? (Do Server attributes exist?)
CN=Server,CN=Schema,CN=Configuration,DC=linuxmuster,DC=local
- The MSN exchange schema does this: ms-exch-schema-version
- more to come ...
-
Enable indexin for some/which attributes?
- Can that be enabled later by searchFlags update
- After samba restart the indexes are updated to current values
- samba can be restarted later
-
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
-
ist there a way (changetype add,modify) to add if nonexisting/modify if existing?
-
-
rangeUpper and rangeLower for attributes?
- Without there attributes, the length is flexible
- webui will test with a huge length in attribute sophomorixWebuiDashboard if its enough.
-
smbclient: switching back to protocol
-mNT1
: How long will that work?- protocol version 1 will be supported for a long time on the server ( roughly ... 10 years)
- I will show servet the commands that need the
-mNT1
-switch
-
Is there a way to find out which user is logged in on which computer(dnsname)/computer$/IP/MAC(one of them would be sufficient)?
- parsing
smbstatus -b
is a bit awkward - Where are the samba event logs? Parsing these might show this users
- parsing