Hi,

where did you get the OID? You cannot just use an OID like 1.1.2. If you want to use your own OID for ownCloud, it has to be registered as a private enterprise number (1.3.6.1.4.1.xxxx) with the IANA.

Dirk

This weekend I was playing around with the LDAP Backend in ownCloud.
I searched a usefull schema to add the users, but it seems it was quite
hard to find such a schema.

We need some specific values (like quota), which isn't available in the
common LDAP schema's.
So I created ownCloudUser & ownCloudGroup types:

attributetype ( 1.1.2.1.10
     NAME 'ownCloudQuota'
     DESC 'Quota Limit'
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  )

objectclass ( 1.1.2.2.10
     NAME 'ownCloudAccount'
     DESC 'ownCloud LDAP Schema'
     SUP top
     STRUCTURAL
     MUST ( uid $ userPassword )
     MAY ( displayName $ ownCloudQuota $ email $ cn )
  )

objectclass ( 1.1.2.2.11
     NAME 'ownCloudGroup'
     DESC 'ownCloud Group'
     SUP top
     STRUCTURAL
     MUST ( cn $ displayName )
     MAY uniqueMember
  )


These object classes contain all the values we need for ownCloud users &
groups.
Maby this could be added to the wiki/repository, so other people can use
this.

Thanks
Jean-Louis
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud


--
Viele Gruesse,

Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +49-541-969-2347, FAX: -2470

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to