[Owncloud] LDAP Schema

Dirk Kastens dirk.kastens at uni-osnabrueck.de
Mon Oct 22 09:42:18 UTC 2012


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
> Owncloud at kde.org
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4827 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20121022/6a25f5a1/attachment.bin>


More information about the Owncloud mailing list